-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
CMake cannot verify NVCC compiler after rerender to 2019 Windows Image #76
Comments
cc: @jaimergp for vis |
Looks like we have a growing number of people hitting this issue:
Sounds like vs2019 is to blame? cc: @conda-forge/core @conda-forge/nvcc @conda-forge/cudatoolkit |
I figured it out. We need to set |
This comment was marked as resolved.
This comment was marked as resolved.
I am not sure what is the status here but also got the
then I got a Any idea? |
No, unfortunately. I don't really know what's going on. The patch #88 did not work... |
Isuru's patch did work in this other PR, so I don't know :( |
conda-forge/nvcc-feedstock#76 This library uses an old version of CMake CUDA find_library and a strange way of declaring the build artifacts, so the flag needs to be added via -DCUDA_NVCC_FLAGS="--use-local-env" instead of the CUDA_FLAGS environment variable or by appending the option to the CUDACXX environment variable. Changes the build and install steps to call cmake instead of generator/build system directly. Switches generator to Ninja for all platforms. Based on this PR, Ninja builds seem significantly faster or approximately the same duration. Adds a special case for 11.2 in the Windows build script because it was missing. Adds checks for additional build artifacts. Adds a strict run_export. Changes the maintainers from @isuruf to myself and @conda-forge/pytorch-cpu.
Issue:
After a feedstock was re-rendered to the 2019 Windows image, CMake can no longer verify NVCC as a working compiler. The version of the nvcc_win-64 is the same before and after the rerender. At first, I thought the problem was that the wrong host compiler was being assigned to NVCC because the version of the compiler linked to %CXX% did not match the host compiler reported by CMake, but then I also tried manually assigning NVCC and host compiler paths.
I really don't know what's going on.
Environment (
conda list
):Details about
conda
and system (conda info
):The text was updated successfully, but these errors were encountered: