cuda_compiler_version is "None" even in cuda builds
See original GitHub issuecuda_compiler_version correctly gets inserted correctly into the CI jobs of staged-recipes:
++ cat /home/conda/staged-recipes-copy/.ci_support/linux64_cuda110.yaml
c_compiler:
- gcc
cxx_compiler:
- gxx
fortran_compiler:
- gfortran
c_compiler_version:
- 9
cxx_compiler_version:
- 9
fortran_compiler_version:
- 9
cudnn:
- 8
cdt_name:
- cos7
target_platform:
- linux-64
channel_sources:
- conda-forge
docker_image:
- quay.io/condaforge/linux-anvil-cuda:11.0
cuda_compiler_version:
- 11.0
but when the meta.yaml
is rendered, the value isn’t there.
I puzzled for a while why
skip: true # [not linux]
skip: true # [cuda_compiler_version == "None"]
ended up skipping all cuda builds, until I removed the second line and ran into resolver errors:
Mamba failed to solve:
- nvcc_linux-64 None.*
- python 3.8.* *_cpython
- glog
- gxx_linux-64 9.*
- pybind11
- gflags 2.2.*
- gflags
- python
- cmake >=3.12
- glog 0.5.*
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
CUDA incompatible with my gcc version - Stack Overflow
gcc 4.5 and 4.6 are not supported with CUDA - code won't compile and the rest of the toolchain, including cuda-gdb, won't work...
Read more >CUDA Compiler Driver NVCC - NVIDIA Documentation Center
Disable nvcc check for supported host compiler versions. Using an unsupported host compiler may cause compilation failure or incorrect run time execution. Use ......
Read more >Building issues [no CUDA toolset found] #103 - GitHub
I have building issues with the following system settings: Windows 10. Visual Studio 2019 (Community Edition) Version 16.5.4 cmake 3.17.1
Read more >Installation — CuPy 11.4.0 documentation
When installing CuPy from source, features provided by additional CUDA libraries will be disabled if these libraries are not available at the build...
Read more >CUDA: Escape comma in compile definitions for NVCC - GitLab
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ... CXX CUDA) cmake_minimum_required(VERSION 3.22) ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Never noticed that one, cool thanks!
And also for adding the bug template! 🙃
How about “bugs in staged-recipes” or “staged-recipes CI issues”?