Skip to content

Commit

Permalink
Merge pull request #950 from jakirkham-feedstocks/relax_nvcc_sysroot
Browse files Browse the repository at this point in the history
Relax `nvcc`'s `sysroot` upper bound
  • Loading branch information
jakirkham authored Jan 24, 2025
2 parents 5bb7300 + 1c0f03a commit 59450cf
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions recipe/patch_yaml/nvcc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,46 @@ if:
- linux-aarch64
then:
- add_depends: "cudatoolkit ${version}.*"
---


# Relax `sysroot` pins of `nvcc_{{ target_platform }}`
# Done by arch to handle package name differences
if:
name: nvcc_linux-64
version_lt: 12.0.0
timestamp_lt: 1737594364000
has_depends: "sysroot_linux-64?( *)"
then:
- replace_depends:
old: sysroot_linux-64 2.17.*
new: sysroot_linux-64 >=2.17,<3.0a0
- replace_depends:
old: sysroot_linux-64 >=2.17
new: sysroot_linux-64 >=2.17,<3.0a0
---
if:
name: nvcc_linux-aarch64
version_lt: 12.0.0
timestamp_lt: 1737594364000
has_depends: "sysroot_linux-aarch64?( *)"
then:
- replace_depends:
old: sysroot_linux-aarch64 2.17.*
new: sysroot_linux-aarch64 >=2.17,<3.0a0
- replace_depends:
old: sysroot_linux-aarch64 >=2.17
new: sysroot_linux-aarch64 >=2.17,<3.0a0
---
if:
name: nvcc_linux-ppc64le
version_lt: 12.0.0
timestamp_lt: 1737594364000
has_depends: "sysroot_linux-ppc64le?( *)"
then:
- replace_depends:
old: sysroot_linux-ppc64le 2.17.*
new: sysroot_linux-ppc64le >=2.17,<3.0a0
- replace_depends:
old: sysroot_linux-ppc64le >=2.17
new: sysroot_linux-ppc64le >=2.17,<3.0a0

0 comments on commit 59450cf

Please sign in to comment.