Send '-allow-unsupported-compiler' to nvcc
I'm trying to build RAJA with CUDA and Clang version >= 15 but I'm still getting the Clang version error after setting -DCMAKE_CUDA_FLAGS_RELEASE="-allow-unsupported-compiler". Is there any flag that I can use to send '-allow-unsupported-compiler' to nvcc?
I normally use CMAKE_CXX_FLAGS to pass flags to the compiler even if they're language specific, which results in unknown flag warnings. That's probably not the best way of doing things. Does anyone else know a better way to do things @LLNL/blt?
CMAKE_CUDA_FLAGS should get the flags there.
(BLT has a way to pass this, but it's ultimately CMAKE_CUDA_FLAGS at the end of the day. )
Could CMAKE_CUDA_FLAGS_RELEASE be to specific to be included?
make VERBOSE=1
Might help with the mystery.