From 9e9f8467d46b6410aea84574fcfa78c4c7ec5b52 Mon Sep 17 00:00:00 2001 From: jakirkham Date: Thu, 1 Jun 2023 19:04:18 -0700 Subject: [PATCH] Narrow `conda_build_config` selectors Only add keys when values are included. --- recipe/conda_build_config.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/recipe/conda_build_config.yaml b/recipe/conda_build_config.yaml index b842856..537e270 100644 --- a/recipe/conda_build_config.yaml +++ b/recipe/conda_build_config.yaml @@ -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]