1
0
forked from boostorg/mp11

Add clang -x cuda to Travis

This commit is contained in:
Peter Dimov
2018-04-25 14:23:16 +03:00
parent bad3d5aec3
commit 861e8827d0

View File

@@ -185,6 +185,17 @@ matrix:
packages:
- libc++-dev
- os: linux
compiler: clang++-5.0
env: TOOLSET=clang COMPILER=clang++-5.0 CXXSTD=11,14,1z CXXFLAGS="-x cuda -nocudainc -nocudalib"
addons:
apt:
packages:
- clang-5.0
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-trusty-5.0
- os: osx
compiler: clang++
env: TOOLSET=clang COMPILER=clang++ CXXSTD=11,14,1z
@@ -206,7 +217,7 @@ install:
script:
- |-
echo "using $TOOLSET : : $COMPILER ;" > ~/user-config.jam
- ./b2 -j3 libs/mp11/test toolset=$TOOLSET cxxstd=$CXXSTD
- ./b2 -j3 libs/mp11/test toolset=$TOOLSET cxxstd=$CXXSTD cxxflags=$CXXFLAGS
notifications:
email: