[libclc] r356009 - travis: Use gcc-6 for llvm-7 build
Jan Vesely via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 12 23:58:52 PDT 2019
Author: jvesely
Date: Tue Mar 12 23:58:51 2019
New Revision: 356009
URL: http://llvm.org/viewvc/llvm-project?rev=356009&view=rev
Log:
travis: Use gcc-6 for llvm-7 build
llvm does not expose -std=c++11 in cxx flags.
gcc-6 switched default from c++98 to c++14
Reviewers: Aaron Watry, Tom Stellard
Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
Modified:
libclc/trunk/.travis.yml
Modified: libclc/trunk/.travis.yml
URL: http://llvm.org/viewvc/llvm-project/libclc/trunk/.travis.yml?rev=356009&r1=356008&r2=356009&view=diff
==============================================================================
--- libclc/trunk/.travis.yml (original)
+++ libclc/trunk/.travis.yml Tue Mar 12 23:58:51 2019
@@ -78,8 +78,7 @@ matrix:
- LLVM_VERSION=7
- LLVM_CONFIG="llvm-config-${LLVM_VERSION}"
- CHECK_FILES="barts-r600--.bc cayman-r600--.bc cedar-r600--.bc cypress-r600--.bc tahiti-amdgcn--.bc amdgcn--amdhsa.bc tahiti-amdgcn-mesa-mesa3d.bc nvptx--nvidiacl.bc nvptx64--nvidiacl.bc"
- # llvm passes -Werror=date-time which is only supported in gcc-4.9+
- - MATRIX_EVAL="CC=gcc-4.9 && CXX=g++-4.9"
+ - MATRIX_EVAL="CC=gcc-6 && CXX=g++-6"
addons:
apt:
sources:
@@ -88,8 +87,7 @@ matrix:
- ubuntu-toolchain-r-test
packages:
- libedit-dev
- # LLVM-7 needs libstdc++4.9
- - g++-4.9
+ - g++-6
# From sources above
- llvm-7-dev
- clang-7
@@ -162,8 +160,7 @@ matrix:
- LLVM_VERSION=7
- LLVM_CONFIG="llvm-config-${LLVM_VERSION}"
- CHECK_FILES="barts-r600--.bc cayman-r600--.bc cedar-r600--.bc cypress-r600--.bc tahiti-amdgcn--.bc amdgcn--amdhsa.bc tahiti-amdgcn-mesa-mesa3d.bc nvptx--nvidiacl.bc nvptx64--nvidiacl.bc"
- # llvm passes -Werror=date-time which is only supported in gcc-4.9+
- - MATRIX_EVAL="CC=gcc-4.9 && CXX=g++-4.9"
+ - MATRIX_EVAL="CC=gcc-6 && CXX=g++-6"
addons:
apt:
sources:
@@ -172,8 +169,7 @@ matrix:
- ubuntu-toolchain-r-test
packages:
- libedit-dev
- # LLVM-7 needs libstdc++4.9
- - g++-4.9
+ - g++-6
# From sources above
- llvm-7-dev
- clang-7
More information about the cfe-commits
mailing list