40
40
# The regex for tests to run (disable running tests by TESTS=0)
41
41
- TESTS=1 TESTS_REGEX="gint_tests_"
42
42
43
+
43
44
# Cache the directory cache_libint, such that libint does not need
44
45
# to be rebuild each time.
45
46
cache :
@@ -60,7 +61,7 @@ addons:
60
61
#
61
62
# Packages for lazyten
62
63
- libarmadillo-dev
63
- - libboost1.55 -dev
64
+ - libboost -dev
64
65
- liblapack-dev
65
66
- libblas-dev
66
67
#
@@ -91,7 +92,9 @@ matrix:
91
92
- export EXTRA_OPTS="-DDRB_MAXIMUM_CXX_STANDARD=11 -DCMAKE_CXX_FLAGS='-DBOOST_PP_VARIADICS=1'"
92
93
- export GCOV="llvm-cov gcov"
93
94
compiler : clang
94
- env : CC_COMP="clang" CXX_COMP="clang++"
95
+ # CXXFLAGS="-DBOOST_PP_VARIADICS=1" is required because the
96
+ # variadic macro check built into the current version of boost is not working
97
+ env : CC_COMP="clang" CXX_COMP="clang++" CXXFLAGS="-DBOOST_PP_VARIADICS=1"
95
98
#
96
99
# Clang 5.0 with libc++-1 and disabled c++17 support
97
100
- addons :
@@ -106,13 +109,19 @@ matrix:
106
109
- export EXTRA_OPTS="-DDRB_MAXIMUM_CXX_STANDARD=14 -DCMAKE_CXX_FLAGS='-DBOOST_PP_VARIADICS=1'"
107
110
- export GCOV="llvm-cov-5.0 gcov"
108
111
compiler : clang
109
- env : CC_COMP="clang-5.0" CXX_COMP="clang++-5.0"
112
+ # CXXFLAGS="-DBOOST_PP_VARIADICS=1" is required because the
113
+ # variadic macro check built into the current version of boost is not working
114
+ env : CC_COMP="clang-5.0" CXX_COMP="clang++-5.0" CXXFLAGS="-DBOOST_PP_VARIADICS=1"
110
115
#
111
- # gcc-4.8 (c++11 and without tests, since rapidcheck does not compile like this)
112
- - install :
113
- - export TESTS=0 EXTRA_OPTS="-DGINT_ENABLE_TESTS=OFF"
116
+ # gcc-5
117
+ - addons :
118
+ apt :
119
+ sources : *def_sources
120
+ packages :
121
+ - *def_packages
122
+ - g++-5
114
123
compiler : gcc
115
- env : CC_COMP="gcc" CXX_COMP="g++"
124
+ env : CC_COMP="gcc-5 " CXX_COMP="g++-5 "
116
125
#
117
126
# gcc-7 (with tests and c++17)
118
127
- addons :
0 commit comments