-
-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #920 from carterbox/patch-cuda-things
Patch old nvcc_*, cudnn, and libcufile packages
- Loading branch information
Showing
3 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# cuDNN is a redist. zlib has been statically linked into the windows library since cuDNN 9 | ||
# Resolves: https://github.com/conda-forge/cudnn-feedstock/issues/98 | ||
if: | ||
name: "cudnn" | ||
version_lt: 9.3.1 | ||
version_ge: 9.0.0 | ||
timestamp_lt: 1733272752000 | ||
subdir_in: win-64 | ||
then: | ||
- remove_depends: "libzlib-wapi *" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# For uninvestigated reasons, old aarch64 builds of libcufile have no constraint on __glibc | ||
# This is a follow-up to https://github.com/conda-forge/libcufile-feedstock/pull/24 | ||
if: | ||
name: "libcufile*" | ||
version_ge: 1.7.0 | ||
timestamp_lt: 1733272752000 | ||
subdir_in: | ||
- linux-aarch64 | ||
then: | ||
- add_depends: __glibc >=2.28,<3.0.a0 | ||
- replace_depends: | ||
old: __glibc [*] | ||
new: __glibc >=2.28,<3.0.a0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Fixes https://github.com/conda-forge/nvcc-feedstock/issues/108 for older builds by applying | ||
# https://github.com/conda-forge/nvcc-feedstock/pull/109/files#diff-f3725a55bf339595bf865fec73bda8ac99f283b0810c205442021f29c06eea9a | ||
# tl;dr prevents older versions of nvcc from being installed with newer 12+ versions | ||
if: | ||
name: "nvcc_*" | ||
version_lt: 12.0.0 | ||
version_ge: 11.2.0 | ||
timestamp_lt: 1733272752000 | ||
subdir_in: | ||
- linux-64 | ||
- win-64 | ||
- linux-ppc64le | ||
- linux-aarch64 | ||
then: | ||
- add_depends: cudatoolkit >=${version},<12 | ||
--- | ||
# No enhanced compatability until CUDA 11.2; everything before is pinned to minor version | ||
if: | ||
name: "nvcc_*" | ||
# This will patch all the way back to version 9.2 | ||
version_lt: 11.2.0 | ||
timestamp_lt: 1733272752000 | ||
subdir_in: | ||
- linux-64 | ||
- win-64 | ||
- linux-ppc64le | ||
- linux-aarch64 | ||
then: | ||
- add_depends: "cudatoolkit ${version}.*" |