-
Notifications
You must be signed in to change notification settings - Fork 143
nvcc fatal : Cannot find compiler 'cl.exe' in PATH #169
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
Comments
Thanks for reporting, @axbycc-mark. Sorry about all these windows issues. Taking a crack at fixing rn |
Just pushed--could I ask you to give that a whirl for me on windows? We should now inherit the action environment when invoking in that case (and some others), though Bazel has a variety of issues about not surfacing all environment variables--some chance we'll still run into something like that here. |
Success! Thanks so much! |
Great! Thanks so much for reporting and testing and generally helping make things better for those who come after you! |
Reproduction https://github.com/axbycc-mark/hedron-compile-commands-repro/tree/cuda_rules
OS: Windows 10
Bazel Version: 7.0.2
Compiler: Visual Studio 2019
NVCC: 11.7, V11.7.64
I'm using rules_cuda (https://github.com/bazel-contrib/rules_cuda) which sets the path to cl.exe when invoking nvcc. When running @@hedron_compile_commands//:refresh_all, this path is not set, leading to the following error:
nvcc fatal : Cannot find compiler 'cl.exe' in PATH
.Full error output appears below.
The text was updated successfully, but these errors were encountered: