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:
@ -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