Closed leofang closed 2 years ago
Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe
) and found it was in an excellent condition.
cc: @jaimergp
@conda-forge-admin, please rerender
Awesome!
@conda-forge-admin, please rerender
0f50a2f is actually wrong, but the CI did not catch it, proving my suspicion https://github.com/conda-forge/nvcc-feedstock/issues/76#issuecomment-1172896089 is right...
I am trying to understand what's the difference between msvc in the build vs the test environment, because I am pretty sure the added flag is the solution for the building error (https://github.com/conda-forge/cupy-feedstock/pull/173/commits/b33baf470501c1c16f60e1210629de5a82fe903b).
0f50a2f is actually wrong, but the CI did not catch it, proving my suspicion #76 (comment) is right...
And this is wrong 😑
My feeling is once we set --use-local-env
we need to set all include and library search paths explicitly, which are done properly by any build system (setuptools, cmake, ...), but not in our simple test nvcc test_nvcc.cu
.
My feeling is once we set
--use-local-env
we need to set all include and library search paths explicitly, which are done properly by any build system (setuptools, cmake, ...), but not in our simple testnvcc test_nvcc.cu
.
Perhaps we should only set this flag at the build stage...
@jakirkham @jaimergp any chance you guys know what's going on here?
(%PREFIX%) %SRC_DIR%>"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.7\bin\nvcc.exe" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64\cl.exe" test.cu
c:\program files\nvidia gpu computing toolkit\cuda\v11.7\include\crt/host_config.h(231): fatal error C1083: Cannot open include file: 'crtdefs.h': No such file or directory
test.cu
Close #76.
The common symptom, likely triggered after the vs2019 update, is this error
We need to use the
--use-local-env
flag to respect conda-forge's MSVC setup.cc: @isuruf @carterbox
Checklist
0
(if the version changed)conda-smithy
(Use the phrase code>@<space/conda-forge-admin, please rerender in a comment in this PR for automated rerendering)