Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dpcpp pinning #6686

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 22 additions & 1 deletion recipe/conda_build_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ c_compiler_version: # [unix]
- 18 # [osx]
- 11 # [os.environ.get("CF_CUDA_ENABLED", "False") == "True" and linux]
- 12 # [os.environ.get("CF_CUDA_ENABLED", "False") == "True" and linux]
- 13 # [os.environ.get("CF_DPCPP_ENABLED", "False") == "True" and linux64]
c_stdlib:
- sysroot # [linux]
- macosx_deployment_target # [osx]
Expand All @@ -18,6 +19,7 @@ c_stdlib_version: # [unix]
- 2.17 # [linux]
- 2.17 # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
- 2.17 # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
- 2.28 # [linux64 and os.environ.get("CF_DPCPP_ENABLED", "False") == "True"]
- 10.13 # [osx and x86_64]
- 11.0 # [osx and arm64]
cxx_compiler:
Expand All @@ -30,6 +32,7 @@ cxx_compiler_version: # [unix]
- 18 # [osx]
- 11 # [os.environ.get("CF_CUDA_ENABLED", "False") == "True" and linux]
- 12 # [os.environ.get("CF_CUDA_ENABLED", "False") == "True" and linux]
- 13 # [os.environ.get("CF_DPCPP_ENABLED", "False") == "True" and linux64]
llvm_openmp: # [osx]
- 18 # [osx]
fortran_compiler: # [unix or win64]
Expand All @@ -42,6 +45,8 @@ fortran_compiler_version: # [unix or win64]
- 5 # [win64]
- 11 # [os.environ.get("CF_CUDA_ENABLED", "False") == "True" and linux]
- 12 # [os.environ.get("CF_CUDA_ENABLED", "False") == "True" and linux]
- 13 # [os.environ.get("CF_DPCPP_ENABLED", "False") == "True" and linux64]
- 5 # [os.environ.get("CF_DPCPP_ENABLED", "False") == "True" and win64]
m2w64_c_compiler: # [win]
- m2w64-toolchain # [win]
m2w64_cxx_compiler: # [win]
Expand All @@ -53,14 +58,26 @@ cuda_compiler:
- None
- nvcc # [(linux or win64) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
- cuda-nvcc # [(linux or win64) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
# DPCPP
- None # [(linux64 or win64) and os.environ.get("CF_DPCPP_ENABLED", "False") == "True"]
cuda_compiler_version:
- None
- 11.8 # [(linux or win64) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
- 12.0 # [(linux or win64) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
# DPCPP
- None # [(linux64 or win64) and os.environ.get("CF_DPCPP_ENABLED", "False") == "True"]
cuda_compiler_version_min:
- None # [osx]
- 11.8 # [linux or win64]

dpcpp_compiler_version:
- None
# CUDA
- None # [(linux or win64) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
- None # [(linux or win64) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
# DPCPP
- 2025.0.0 # [(linux64 or win64) and os.environ.get("CF_DPCPP_ENABLED", "False") == "True"]

arm_variant_type: # [aarch64]
- sbsa # [aarch64]

Expand Down Expand Up @@ -152,6 +169,9 @@ docker_image: # [os.environ.get("BUILD_PLATFOR
- quay.io/condaforge/linux-anvil-cos7-x86_64 # [ppc64le and os.environ.get("CF_CUDA_ENABLED", "False") == "True" and os.environ.get("BUILD_PLATFORM") == "linux-64"]
- quay.io/condaforge/linux-anvil-cos7-x86_64 # [aarch64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True" and os.environ.get("BUILD_PLATFORM") == "linux-64"]

# DPCPP
- quay.io/condaforge/linux-anvil-alma-x86_64:8 # [linux64 and os.environ.get("CF_DPCPP_ENABLED", "False") == "True" and os.environ.get("BUILD_PLATFORM", "").startswith("linux-")]

zip_keys:
- # [unix]
- c_compiler_version # [unix]
Expand All @@ -160,7 +180,8 @@ zip_keys:
- c_stdlib_version # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
- 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"]
- docker_image # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True" and os.environ.get("BUILD_PLATFORM", "").startswith("linux-")]
- dpcpp_compiler_version # [linux64 and os.environ.get("CF_DPCPP_ENABLED", "False") == "True"]
- docker_image # [(linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True" or linux64 and os.environ.get("CF_DPCPP_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"]
- cuda_compiler_version # [win64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
Expand Down