Skip to content
This repository was archived by the owner on Mar 22, 2023. It is now read-only.

Commit 1b94928

Browse files
committed
Drop gcc 4.8 support
1 parent df63e9c commit 1b94928

File tree

2 files changed

+17
-8
lines changed

2 files changed

+17
-8
lines changed

.travis.yml

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ env:
4040
# The regex for tests to run (disable running tests by TESTS=0)
4141
- TESTS=1 TESTS_REGEX="gint_tests_"
4242

43+
4344
# Cache the directory cache_libint, such that libint does not need
4445
# to be rebuild each time.
4546
cache:
@@ -60,7 +61,7 @@ addons:
6061
#
6162
# Packages for lazyten
6263
- libarmadillo-dev
63-
- libboost1.55-dev
64+
- libboost-dev
6465
- liblapack-dev
6566
- libblas-dev
6667
#
@@ -91,7 +92,9 @@ matrix:
9192
- export EXTRA_OPTS="-DDRB_MAXIMUM_CXX_STANDARD=11 -DCMAKE_CXX_FLAGS='-DBOOST_PP_VARIADICS=1'"
9293
- export GCOV="llvm-cov gcov"
9394
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"
9598
#
9699
# Clang 5.0 with libc++-1 and disabled c++17 support
97100
- addons:
@@ -106,13 +109,19 @@ matrix:
106109
- export EXTRA_OPTS="-DDRB_MAXIMUM_CXX_STANDARD=14 -DCMAKE_CXX_FLAGS='-DBOOST_PP_VARIADICS=1'"
107110
- export GCOV="llvm-cov-5.0 gcov"
108111
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"
110115
#
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
114123
compiler: gcc
115-
env: CC_COMP="gcc" CXX_COMP="g++"
124+
env: CC_COMP="gcc-5" CXX_COMP="g++-5"
116125
#
117126
# gcc-7 (with tests and c++17)
118127
- addons:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ More documentation will follow ...
1616
For *building* `gint` the following things are required:
1717
- ``cmake`` >= 3.0.0
1818
- A compiler supporting ``C++11``: ``clang`` starting from `clang-3.5` and `gcc` starting
19-
from `gcc-4.8` should work.
19+
from `gcc-5` should work.
2020
- [``swig``](http://swig.org/) >= 2.0.11
2121
- [``python``](https://www.python.org/) >= 3.4, including the development headers
2222
- The [usual build process](#building-gint) mentioned below

0 commit comments

Comments
 (0)