Commit 7fee3f3695f0066cad5c9fe98752efb2f4252af8

Authored by Henry Fredrick Schreiner
1 parent 7a769fa9

Move to using clang 3.5

Showing 2 changed files with 3 additions and 1 deletions
.travis.yml
@@ -14,6 +14,7 @@ matrix: @@ -14,6 +14,7 @@ matrix:
14 - ubuntu-toolchain-r-test 14 - ubuntu-toolchain-r-test
15 packages: 15 packages:
16 - clang-3.5 16 - clang-3.5
  17 + env: COMPILER=3.5
17 - compiler: gcc 18 - compiler: gcc
18 addons: 19 addons:
19 apt: 20 apt:
@@ -33,6 +34,7 @@ matrix: @@ -33,6 +34,7 @@ matrix:
33 install: 34 install:
34 - python -c 'import sys; print(sys.version_info[:])' 35 - python -c 'import sys; print(sys.version_info[:])'
35 - if [ "$CXX" = "g++" ]; then export CXX="g++-$COMPILER" CC="gcc-$COMPILER"; fi 36 - if [ "$CXX" = "g++" ]; then export CXX="g++-$COMPILER" CC="gcc-$COMPILER"; fi
  37 +- if [ "$CXX" = "clang++" ] && [ "$TRAVIS_OS_NAME" = "linux" ]; then export CXX="clang++-$COMPILER" CC="clang-$COMPILER"; fi
36 - DEPS_DIR="${TRAVIS_BUILD_DIR}/deps" 38 - DEPS_DIR="${TRAVIS_BUILD_DIR}/deps"
37 - CMAKE_URL="https://cmake.org/files/v3.7/cmake-3.7.2-Linux-x86_64.tar.gz" 39 - CMAKE_URL="https://cmake.org/files/v3.7/cmake-3.7.2-Linux-x86_64.tar.gz"
38 - cd "${DEPS_DIR}" 40 - cd "${DEPS_DIR}"
README.md
@@ -9,7 +9,7 @@ The following attributes are what I believe are important in a CLI parser librar @@ -9,7 +9,7 @@ The following attributes are what I believe are important in a CLI parser librar
9 9
10 * Easy to include (i.e., header only, one file if possible, no external requirements): While many programs depend on Boost, that should not be a requirement if all you want is CLI parsing. 10 * Easy to include (i.e., header only, one file if possible, no external requirements): While many programs depend on Boost, that should not be a requirement if all you want is CLI parsing.
11 * Short Syntax: This is one of the main points of a CLI parser, it should make variables from the command line nearly as easy to define as any other variables. If most of your program is hidden in CLI parsing, this is a problem for readability. 11 * Short Syntax: This is one of the main points of a CLI parser, it should make variables from the command line nearly as easy to define as any other variables. If most of your program is hidden in CLI parsing, this is a problem for readability.
12 -* Work with GCC 4.7+ (such as GCC 4.8 on CentOS 7) or above, or Clang 3.4+. (3.5 stdlib is required to build googlemock test) Works on Linux and MacOS. 12 +* Work with GCC 4.7+ (such as GCC 4.8 on CentOS 7) or above, or Clang 3.5+. (3.4 only fails because of tests, googlemock does not support it.) Works on Linux and MacOS.
13 * Well tested using Travis. 13 * Well tested using Travis.
14 * Good help printing (in progress). 14 * Good help printing (in progress).
15 * Standard idioms supported naturally, like grouping flags, the positional seperator, etc. 15 * Standard idioms supported naturally, like grouping flags, the positional seperator, etc.