Bwuh. Clang version 3.5 is not available on precis either.

This commit is contained in:
ThePhD 2016-02-25 08:43:41 -05:00
parent 48e5601422
commit 32b9e13e91
2 changed files with 3 additions and 2 deletions

View File

@ -14,8 +14,6 @@ before_install:
- sudo apt-get --yes update
- if [ "$CXX" == "g++" ]; then sudo apt-get --yes install g++-4.9; fi
- if [ "$CXX" == "g++" ]; then export CXX=g++-4.9; fi
- if [ "$CXX" == "clang++" ]; then sudo apt-get --yes install clang-3.5; fi
- if [ "$CXX" == "clang++" ]; then export CXX=clang++-3.5; fi
- sudo apt-get --yes install ninja-build
- sudo apt-get --yes install liblua5.2-dev
- sudo apt-get --yes install libluajit-5.1-dev

View File

@ -87,6 +87,9 @@ if args.lua_lib:
if args.ci:
ldflags.extend(library_includes(['lib']))
include.extend(['./include'])
if 'clang++' in args.cxx:
cxxflags.remove('-std=c++14')
cxxflags.append('-std=c++1y')
if args.lua_lib:
if args.lualib == 'luajit':
include.extend(['/usr/include/luajit-2.0'])