Skip to content

Commit

Permalink
build: require clang >= 3.6
Browse files Browse the repository at this point in the history
3.5 fails with "error: debug information for auto is not yet supported"

Change-Id: I77ac4a064959b26796a4bf3f1dea7c3c08ea60a3
  • Loading branch information
Pesa committed Jun 18, 2018
1 parent 31fd467 commit ca660f1
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 15 deletions.
20 changes: 8 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ matrix:

# Linux/clang
# https://apt.llvm.org/
- os: linux
env: COMPILER=clang++-3.5
- os: linux
env: COMPILER=clang++-3.6
- os: linux
Expand All @@ -45,27 +43,25 @@ matrix:
- os: osx
osx_image: xcode7.3
env: OSX_VERSION=10.11
- os: osx
osx_image: xcode8
env: OSX_VERSION=10.11
- os: osx
osx_image: xcode8.3
env: OSX_VERSION=10.12
- os: osx
osx_image: xcode9.3
osx_image: xcode9.2
env: OSX_VERSION=10.12
- os: osx
osx_image: xcode9.4
env: OSX_VERSION=10.13
- os: osx
osx_image: xcode9.3
osx_image: xcode9.4
env: OSX_VERSION=10.13 USE_OPENSSL_1_1=yes

allow_failures:
- env: COMPILER=g++-6
- env: COMPILER=g++-7
- env: COMPILER=g++-8
- env: COMPILER=clang++-3.5
- env: COMPILER=clang++-3.6
- env: COMPILER=clang++-3.7 DISABLE_ASAN=yes
- env: COMPILER=clang++-4.0
- env: COMPILER=clang++-5.0
- env: COMPILER=clang++-6.0
- env: COMPILER=clang++-7
- env: OSX_VERSION=10.13 USE_OPENSSL_1_1=yes

fast_finish: true
Expand Down
4 changes: 2 additions & 2 deletions .waf-tools/default-compiler-flags.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ def configure(conf):
'The minimum supported gcc version is 5.3.0.')
conf.flags = GccFlags()
elif cxx == 'clang':
if ccver < (3, 5, 0):
if ccver < (3, 6, 0):
errmsg = ('The version of clang you are using is too old.\n'
'The minimum supported clang version is 3.5.0.')
'The minimum supported clang version is 3.6.0.')
conf.flags = ClangFlags()
else:
warnmsg = 'Note: %s compiler is unsupported' % cxx
Expand Down
2 changes: 1 addition & 1 deletion docs/INSTALL.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Prerequisites
Required:
~~~~~~~~~

- GCC >= 5.3, or clang >= 3.5
- GCC >= 5.3, or clang >= 3.6
- ``python2`` >= 2.7, or ``python3`` >= 3.4
- ``libsqlite3``
- OpenSSL >= 1.0.2
Expand Down

0 comments on commit ca660f1

Please sign in to comment.