forked from boostorg/preprocessor
Adjusted the configuration so that compiling a cuda source file ( .cu ) using clang does not set BOOST_PP_VARIADICS to 0. An 'explicit' test was also added for this situation.
This commit is contained in:
1 parent
5756fb08ad
commit
c436de6142
3 files changed
+40
-1
No files matched your search
@@ -247,3 +247,13 @@ alias preprocessor_config
|
||||
:
|
||||
[ run config_info.cpp ]
|
||||
;
|
||||
|
||||
alias clang_cuda
|
||||
:
|
||||
[ compile clang_cuda.cu
|
||||
: <cxxflags>--cuda-gpu-arch=sm_20
|
||||
: clang_cuda_cu
|
||||
]
|
||||
;
|
||||
|
||||
explicit clang_cuda ;
|
||||
Reference in new issue
Block a user