From af70b2872ea920edaef16a489d85fd24eb231060 Mon Sep 17 00:00:00 2001 From: Edward Diener Date: Wed, 2 Oct 2019 18:52:09 -0400 Subject: [PATCH] Updated for compiling a CUDA file with clang. --- test/Jamfile.v2 | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index 8c89dd0..51b6b1c 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -3,6 +3,7 @@ #~ (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) import testing ; +import cast ; project preprocessor_tests : requirements on gcc-4.3.0:all @@ -250,10 +251,10 @@ alias preprocessor_config alias test_clang_cuda : - [ compile clang_cuda.cu - : --cuda-gpu-arch=sm_20 - -nocudalib - --no-cuda-version-check + [ compile [ cast _ cpp : clang_cuda.cu ] + : -nocudalib + -nocudainc + "-x cuda" : clang_cuda_cu ] ;