Skip to content

Commit c2da340

Browse files
committed
try GCC 8 on CI. GCC 7.3.0 seems to crash sometimes?
1 parent 19a9e36 commit c2da340

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ addons:
1515

1616
packages:
1717
- ninja-build
18-
- g++-7
18+
- g++-8
1919
- llvm-6.0-dev
2020
- llvm-6.0-tools
2121
- clang-6.0
@@ -29,7 +29,7 @@ script:
2929
- ./xgboost/get.sh
3030
- mkdir _build && cd _build
3131
- git clone --depth=1 https://github.com/google/benchmark.git && git clone --depth=1 https://github.com/google/googletest.git benchmark/googletest && mkdir benchmark/_build && cd benchmark/_build && cmake .. -GNinja -DCMAKE_INSTALL_PREFIX=`pwd`/../_install && ninja && ninja install && cd ../..
32-
- cmake -DLLVM_DIR=/usr/lib/llvm-6.0/cmake -DCMAKE_CXX_COMPILER=g++-7 -DCMAKE_C_COMPILER=gcc-7 -DEASY_JIT_EXAMPLE=ON -DEASY_JIT_BENCHMARK=ON -DBENCHMARK_DIR=`pwd`/benchmark/_install -DCMAKE_INSTALL_PREFIX=`pwd`/../_install .. -G Ninja
32+
- cmake -DLLVM_DIR=/usr/lib/llvm-6.0/cmake -DCMAKE_CXX_COMPILER=g++-8 -DCMAKE_C_COMPILER=gcc-8 -DEASY_JIT_EXAMPLE=ON -DEASY_JIT_BENCHMARK=ON -DBENCHMARK_DIR=`pwd`/benchmark/_install -DCMAKE_INSTALL_PREFIX=`pwd`/../_install .. -G Ninja
3333
- ninja
3434
- ninja install
3535
- ninja check

0 commit comments

Comments
 (0)