From e81f62c5b7f7a0b61a884ffc92edc165c4ba8e71 Mon Sep 17 00:00:00 2001 From: jakirkham Date: Wed, 31 May 2023 01:33:22 -0700 Subject: [PATCH] Fix selectors in CUDA 12.0 migrator --- recipe/migrations/cuda120.yaml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/recipe/migrations/cuda120.yaml b/recipe/migrations/cuda120.yaml index 1a4665686cb..eee48eb8050 100644 --- a/recipe/migrations/cuda120.yaml +++ b/recipe/migrations/cuda120.yaml @@ -47,26 +47,26 @@ __migrator: - 12.0 # [(linux64 or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] commit_message: "Rebuild for CUDA 12" -cuda_compiler: +cuda_compiler: # [(linux64 or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - cuda-nvcc # [(linux64 or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] -cuda_compiler_version: +cuda_compiler_version: # [(linux64 or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - 12.0 # [(linux64 or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] -c_compiler_version: # [unix] - - 12 # [os.environ.get("CF_CUDA_ENABLED", "False") == "True" and linux64] +c_compiler_version: # [linux64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] + - 12 # [linux64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] -cxx_compiler_version: # [unix] - - 12 # [os.environ.get("CF_CUDA_ENABLED", "False") == "True" and linux64] +cxx_compiler_version: # [linux64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] + - 12 # [linux64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] -fortran_compiler_version: # [unix] - - 12 # [os.environ.get("CF_CUDA_ENABLED", "False") == "True" and linux64] +fortran_compiler_version: # [linux64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] + - 12 # [linux64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] -cudnn: +cudnn: # [(linux64 or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - 8 # [(linux64 or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] -cdt_name: # [linux] - - cos7 # [linux64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] +cdt_name: # [linux64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] + - cos7 # [linux64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] -docker_image: # [os.environ.get("BUILD_PLATFORM", "").startswith("linux-")] - - quay.io/condaforge/linux-anvil-cos7-x86_64 # [linux64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True" and os.environ.get("BUILD_PLATFORM") == "linux-64"] +docker_image: # [os.environ.get("BUILD_PLATFORM", "").startswith("linux-") and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] + - quay.io/condaforge/linux-anvil-cos7-x86_64 # [os.environ.get("BUILD_PLATFORM") == "linux-64" and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]