Unverified Commit 798a9181 authored by Pavol Rusnak's avatar Pavol Rusnak
Browse files

cudaPackages_12_5: init at 12.5.1

parent 85166085
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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 −0

File added.

Preview size limit exceeded, changes collapsed.

+1025 −0

File added.

Preview size limit exceeded, changes collapsed.

+4 −4
Original line number Diff line number Diff line
@@ -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" \
+6 −0
Original line number Diff line number Diff line
@@ -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";
Loading