1
0
forked from boostorg/mp11

Add --cuda-gpu-arch, restore compiler: and env:

This commit is contained in:
Peter Dimov
2018-04-26 14:17:19 +03:00
parent 6c57a1b915
commit be199cd943

View File

@@ -186,6 +186,8 @@ matrix:
- libc++-dev - libc++-dev
- os: linux - os: linux
compiler: clang++-5.0
env: CLANG_X_CUDA=1
addons: addons:
apt: apt:
packages: packages:
@@ -194,7 +196,7 @@ matrix:
- ubuntu-toolchain-r-test - ubuntu-toolchain-r-test
- llvm-toolchain-trusty-5.0 - llvm-toolchain-trusty-5.0
script: script:
- clang++-5.0 -I . -c -x cuda -nocudainc -nocudalib -std=c++11 libs/mp11/test/mp11.cpp - clang++-5.0 -I . -c -x cuda -nocudainc -nocudalib --cuda-gpu-arch=sm_30 -std=c++11 libs/mp11/test/mp11.cpp
- os: osx - os: osx
compiler: clang++ compiler: clang++