Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send '-allow-unsupported-compiler' to nvcc #1545

Open
chichunchen opened this issue Sep 14, 2023 · 2 comments
Open

Send '-allow-unsupported-compiler' to nvcc #1545

chichunchen opened this issue Sep 14, 2023 · 2 comments

Comments

@chichunchen
Copy link

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?

@MrBurmark
Copy link
Member

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?

@cyrush
Copy link
Member

cyrush commented Sep 19, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants