mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 20:25:32 +03:00
cudaPackages_12_5: init at 12.5.1 (#384826)
This commit is contained in:
commit
c4a805b7f9
7 changed files with 2414 additions and 4 deletions
|
@ -17,6 +17,7 @@ let
|
|||
"12.2" = "12.2.2";
|
||||
"12.3" = "12.3.0";
|
||||
"12.4" = "12.4.0";
|
||||
"12.5" = "12.5.1";
|
||||
"12.6" = "12.6.0";
|
||||
"12.8" = "12.8.0";
|
||||
};
|
||||
|
|
1374
pkgs/development/cuda-modules/cuda/manifests/feature_12.5.1.json
Normal file
1374
pkgs/development/cuda-modules/cuda/manifests/feature_12.5.1.json
Normal file
File diff suppressed because it is too large
Load diff
1025
pkgs/development/cuda-modules/cuda/manifests/redistrib_12.5.1.json
Normal file
1025
pkgs/development/cuda-modules/cuda/manifests/redistrib_12.5.1.json
Normal file
File diff suppressed because it is too large
Load diff
|
@ -171,9 +171,9 @@ filterAndCreateOverrides {
|
|||
prevAttrs.buildInputs
|
||||
# x86_64 only needs gmp from 12.0 and on
|
||||
++ lib.lists.optionals (cudaAtLeast "12.0") [ gmp ]
|
||||
# Additional dependencies for CUDA 12.6 and later, which
|
||||
# Additional dependencies for CUDA 12.5 and later, which
|
||||
# support multiple Python versions.
|
||||
++ lib.lists.optionals (cudaAtLeast "12.6") [
|
||||
++ lib.lists.optionals (cudaAtLeast "12.5") [
|
||||
libxcrypt-legacy
|
||||
ncurses6
|
||||
python39
|
||||
|
@ -188,7 +188,7 @@ filterAndCreateOverrides {
|
|||
prevAttrs.installPhase
|
||||
# Python 3.8 is not in nixpkgs anymore, delete Python 3.8 cuda-gdb support
|
||||
# to avoid autopatchelf failing to find libpython3.8.so.
|
||||
+ lib.optionalString (cudaAtLeast "12.6") ''
|
||||
+ lib.optionalString (cudaAtLeast "12.5") ''
|
||||
find $bin -name '*python3.8*' -delete
|
||||
'';
|
||||
};
|
||||
|
@ -225,7 +225,7 @@ filterAndCreateOverrides {
|
|||
|
||||
postPatch =
|
||||
let
|
||||
nvvmReplace = lib.optionalString (cudaOlder "12.6") ''
|
||||
nvvmReplace = lib.optionalString (cudaOlder "12.5") ''
|
||||
--replace-fail \
|
||||
'$(TOP)/$(_NVVM_BRANCH_)' \
|
||||
"''${!outputBin}/nvvm" \
|
||||
|
|
|
@ -94,6 +94,12 @@
|
|||
sha256 = "sha256-5qhC9OypSQV1zbaLaxu3jUe5Wol95I3uKSxDGJLlfRc=";
|
||||
};
|
||||
|
||||
"12.5" = {
|
||||
version = "12.5.1";
|
||||
url = "https://developer.download.nvidia.com/compute/cuda/12.5.1/local_installers/cuda_12.5.1_555.42.06_linux.run";
|
||||
sha256 = "sha256-teCneeCJyGYQBRFBxM9Ji+70MYWOxjOYEHORcn7L2wQ=";
|
||||
};
|
||||
|
||||
"12.6" = {
|
||||
version = "12.6.0";
|
||||
url = "https://developer.download.nvidia.com/compute/cuda/12.6.0/local_installers/cuda_12.6.0_560.28.03_linux.run";
|
||||
|
|
|
@ -105,6 +105,9 @@ let
|
|||
gccMaxMajorVersion = "13";
|
||||
};
|
||||
|
||||
# No changes from 12.4 to 12.5
|
||||
"12.5" = attrs."12.4";
|
||||
|
||||
# Added support for Clang 18
|
||||
# https://docs.nvidia.com/cuda/archive/12.6.0/cuda-installation-guide-linux/index.html#host-compiler-support-policy
|
||||
"12.6" = attrs."12.4" // {
|
||||
|
|
|
@ -2967,6 +2967,7 @@ with pkgs;
|
|||
cudaPackages_12_2 = callPackage ./cuda-packages.nix { cudaVersion = "12.2"; };
|
||||
cudaPackages_12_3 = callPackage ./cuda-packages.nix { cudaVersion = "12.3"; };
|
||||
cudaPackages_12_4 = callPackage ./cuda-packages.nix { cudaVersion = "12.4"; };
|
||||
cudaPackages_12_5 = callPackage ./cuda-packages.nix { cudaVersion = "12.5"; };
|
||||
cudaPackages_12_6 = callPackage ./cuda-packages.nix { cudaVersion = "12.6"; };
|
||||
cudaPackages_12_8 = callPackage ./cuda-packages.nix { cudaVersion = "12.8"; };
|
||||
cudaPackages_12 = cudaPackages_12_4; # Latest supported by cudnn
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue