Skip to content

Commit

Permalink
Narrow conda_build_config selectors
Browse files Browse the repository at this point in the history
Only add keys when values are included.
  • Loading branch information
jakirkham authored Jun 2, 2023
1 parent 134681f commit 9e9f846
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions recipe/conda_build_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,54 +5,54 @@ arm_variant_type: # [aarch64]
# and win64 builds are already handled in the conda-forge-pinning feedstock. Once we
# migrate to enable CUDA builds on all supported platforms, these can be removed too.

docker_image: # [os.environ.get("BUILD_PLATFORM", "").startswith("linux")]
docker_image: # [(ppc64le or aarch64) and os.environ.get("BUILD_PLATFORM", "").startswith("linux")]
- quay.io/condaforge/linux-anvil-ppc64le-cuda:10.2 # [ppc64le and os.environ.get("BUILD_PLATFORM") == "linux-ppc64le"]
- quay.io/condaforge/linux-anvil-ppc64le-cuda:11.0 # [ppc64le and os.environ.get("BUILD_PLATFORM") == "linux-ppc64le"]
- quay.io/condaforge/linux-anvil-ppc64le-cuda:11.1 # [ppc64le and os.environ.get("BUILD_PLATFORM") == "linux-ppc64le"]
- quay.io/condaforge/linux-anvil-aarch64-cuda:11.0 # [aarch64 and os.environ.get("BUILD_PLATFORM") == "linux-aarch64"]
- quay.io/condaforge/linux-anvil-aarch64-cuda:11.1 # [aarch64 and os.environ.get("BUILD_PLATFORM") == "linux-aarch64"]

c_compiler_version: # [linux]
c_compiler_version: # [ppc64le or aarch64]
- 9 # [ppc64le]
- 9 # [ppc64le]
- 9 # [ppc64le]
- 9 # [aarch64]
- 9 # [aarch64]
cxx_compiler_version: # [linux]
cxx_compiler_version: # [ppc64le or aarch64]
- 9 # [ppc64le]
- 9 # [ppc64le]
- 9 # [ppc64le]
- 9 # [aarch64]
- 9 # [aarch64]
fortran_compiler_version: # [linux]
fortran_compiler_version: # [ppc64le or aarch64]
- 9 # [ppc64le]
- 9 # [ppc64le]
- 9 # [ppc64le]
- 9 # [aarch64]
- 9 # [aarch64]

cuda_compiler: # [linux]
cuda_compiler: # [ppc64le or aarch64]
- nvcc # [ppc64le]
- nvcc # [ppc64le]
- nvcc # [ppc64le]
- nvcc # [aarch64]
- nvcc # [aarch64]

cuda_compiler_version:
cuda_compiler_version: # [ppc64le or aarch64]
- 10.2 # [ppc64le]
- 11.0 # [ppc64le]
- 11.1 # [ppc64le]
- 11.0 # [aarch64]
- 11.1 # [aarch64]

cudnn:
cudnn: # [ppc64le or aarch64]
- 8 # [ppc64le]
- undefined # [ppc64le]
- undefined # [ppc64le]
- undefined # [aarch64]
- undefined # [aarch64]

cdt_name: # [linux]
cdt_name: # [ppc64le or aarch64]
- cos7 # [ppc64le]
- cos7 # [ppc64le]
- cos7 # [ppc64le]
Expand Down

0 comments on commit 9e9f846

Please sign in to comment.