Skip to content

Commit

Permalink
Merge pull request #6910 from h-vetinari/cpu_vs_gpu
Browse files Browse the repository at this point in the history
distinguish github_actions_labels for CPU vs. CUDA builds
  • Loading branch information
h-vetinari authored Jan 26, 2025
2 parents 15a0a93 + e41e1b6 commit ff043bb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions recipe/conda_build_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -172,13 +172,20 @@ docker_image: # [os.environ.get("BUILD_PLA
- quay.io/condaforge/linux-anvil-aarch64:alma9 # [os.environ.get("CF_CUDA_ENABLED", "False") == "True" and os.environ.get("BUILD_PLATFORM") == "linux-aarch64" and os.environ.get("DEFAULT_LINUX_VERSION", "alma9") == "alma9"]
- quay.io/condaforge/linux-anvil-ppc64le:alma9 # [os.environ.get("CF_CUDA_ENABLED", "False") == "True" and os.environ.get("BUILD_PLATFORM") == "linux-ppc64le" and os.environ.get("DEFAULT_LINUX_VERSION", "alma9") == "alma9"]

# to be overridden per feedstock; part of zip so that CPU builds can choose different agents than GPU builds
github_actions_labels: # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
- cirun-openstack-cpu-placeholder # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
- cirun-openstack-gpu-placeholder # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
- cirun-openstack-gpu-placeholder # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]

zip_keys:
- # [unix]
- c_compiler_version # [unix]
- cxx_compiler_version # [unix]
- fortran_compiler_version # [unix]
- 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"]
- github_actions_labels # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
- docker_image # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True" and os.environ.get("BUILD_PLATFORM", "").startswith("linux-")]
- # [win64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
- cuda_compiler # [win64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
Expand Down

0 comments on commit ff043bb

Please sign in to comment.