Skip to content

Commit

Permalink
Merge pull request #5672 from mbargull-feedstocks/fix-non-cuda-c_stdl…
Browse files Browse the repository at this point in the history
…ib_version-zip

Only zip c_stdlib_version with compilers for CUDA
  • Loading branch information
h-vetinari authored Mar 25, 2024
2 parents e29dc0a + 6420875 commit e38c766
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion recipe/conda_build_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -160,11 +160,15 @@ docker_image: # [os.environ.get("BUILD_PLATFOR
- quay.io/condaforge/linux-anvil-cuda:11.8 # [aarch64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True" and os.environ.get("BUILD_PLATFORM") == "linux-64"]

zip_keys:
# For CUDA, c_stdlib_version/cdt_name is zipped below with the compilers.
- # [linux and os.environ.get("CF_CUDA_ENABLED", "False") != "True"]
- c_stdlib_version # [linux and os.environ.get("CF_CUDA_ENABLED", "False") != "True"]
- cdt_name # [linux and os.environ.get("CF_CUDA_ENABLED", "False") != "True"]
- # [unix]
- c_compiler_version # [unix]
- cxx_compiler_version # [unix]
- fortran_compiler_version # [unix]
- c_stdlib_version # [unix]
- c_stdlib_version # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
- cdt_name # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
- cuda_compiler # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
- cuda_compiler_version # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
Expand Down

0 comments on commit e38c766

Please sign in to comment.