Skip to content

Commit

Permalink
Fix selectors in CUDA 12.0 migrator
Browse files Browse the repository at this point in the history
  • Loading branch information
jakirkham committed May 31, 2023
1 parent 81a3306 commit e81f62c
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions recipe/migrations/cuda120.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit e81f62c

Please sign in to comment.