From 6f679aba513d5ab6a125303bdf9b649e9ffa5947 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Thu, 26 Apr 2018 20:05:19 +0300 Subject: [PATCH] Revert removal of -nocudainc and -nocudalib; add c++14 and c++1z --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 5f86621..d42c367 100644 --- a/.travis.yml +++ b/.travis.yml @@ -199,7 +199,9 @@ matrix: - ubuntu-toolchain-r-test - llvm-toolchain-trusty-5.0 script: - - clang++-5.0 -I . -c -x cuda --cuda-gpu-arch=sm_30 -std=c++11 libs/mp11/test/mp11.cpp + - clang++-5.0 -I . -c -x cuda -nocudainc -nocudalib --cuda-gpu-arch=sm_30 -D__device__="__attribute__((device))" -std=c++11 libs/mp11/test/mp11.cpp + - clang++-5.0 -I . -c -x cuda -nocudainc -nocudalib --cuda-gpu-arch=sm_30 -D__device__="__attribute__((device))" -std=c++14 libs/mp11/test/mp11.cpp + - clang++-5.0 -I . -c -x cuda -nocudainc -nocudalib --cuda-gpu-arch=sm_30 -D__device__="__attribute__((device))" -std=c++1z libs/mp11/test/mp11.cpp - os: osx compiler: clang++