[clang] [Driver] Pass `--no-cuda-version-check` to test (PR #117415)
Artem Belevich via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 25 11:27:30 PST 2024
Artem-B wrote:
I am surprised that this is needed. I suspect clang picks the default CUDA version on your machine.
While `--no-cuda-version-check` will make the test work, it will still pick CUDA installation ourside of the source tree, and then suppress the error.
A better way to fix this may be to pass `--cuda-path=%S/Inputs/CUDA_111/usr/local/cuda` and make the test hermetic.
https://github.com/llvm/llvm-project/pull/117415
More information about the cfe-commits
mailing list