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:
Edward Diener
2019-09-14 10:27:14 -04:00
parent 5756fb08ad
commit c436de6142
3 changed files with 40 additions and 1 deletions

View File

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