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

Pkg 4785 2.0.1.2 initial #1

Merged
merged 7 commits into from
May 20, 2024
Merged
Show file tree
Hide file tree
Changes from 6 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
1 change: 1 addition & 0 deletions .gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions abs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Turn off the overlinking check, because it gives a false positive on Windows.
# See https://github.com/conda/conda-build/issues/3650
# We can't turn the check off for just Windows.
build_parameters:
- "--suppress-variables"
- "--skip-existing"
7 changes: 7 additions & 0 deletions recipe/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
arm_variant_type: # [aarch64]
- sbsa # [aarch64]
conda_glibc_ver:
- 2.17 # [not aarch64]
- 2.26 # [aarch64]
cuda_compiler:
- cuda-nvcc
cuda_compiler_version:
- 12.4
14 changes: 8 additions & 6 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ source:

build:
number: 0
skip: true # [win32 or osx or cuda_compiler_version not in ("11.8", "12.0")]
skip: true # [win32 or osx or (linux and s390x)]
script:
- mkdir -p $PREFIX/include # [linux]
- mv include/* $PREFIX/include/ # [linux]
Expand All @@ -53,19 +53,21 @@ requirements:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- {{ compiler('cuda') }}
- arm-variant * {{ arm_variant_type }} # [aarch64]
- sysroot_{{ target_platform }} 2.17 # [linux]
#- arm-variant * {{ arm_variant_type }} # [aarch64]
- sysroot_{{ target_platform }} {{ conda_glibc_ver }}.* # [linux]
host:
- patchelf >=0.12 # [linux]
- cuda-version {{ cuda_major }}.0
# Note that this is now usable with all cuda 12.x (see run pinning), so doesn't need to be
# rebuilt with a cuda update
- cuda-version {{ cuda_major }}.4
- libcublas # [(cuda_compiler_version or "").startswith("12")]
run:
- {{ pin_compatible("cuda-version", max_pin="x") }}
- cudatoolkit >=11.1,<12 # [(cuda_compiler_version or "").startswith("11")]
- libcublas # [(cuda_compiler_version or "").startswith("12")]
run_constrained:
# Only GLIBC_2.17 or older symbols present
- __glibc >=2.17 # [linux]
- __glibc >={{ conda_glibc_ver }} # [linux]
- arm-variant * {{ arm_variant_type }} # [aarch64]

test:
skupr-anaconda marked this conversation as resolved.
Show resolved Hide resolved
Expand All @@ -74,7 +76,7 @@ test:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- {{ compiler('cuda') }}
- sysroot_{{ target_platform }} 2.17 # [linux]
- sysroot_{{ target_platform }} {{ conda_glibc_ver }}.* # [linux]
# make sure we pick up the version matching the docker,
# or the linker would complain
- cudatoolkit {{ cuda_compiler_version }} # [(cuda_compiler_version or "").startswith("11")]
Expand Down