Skip to content

Commit

Permalink
Revert "cudatoolkit_11_7: init at 11.7.0"
Browse files Browse the repository at this point in the history
  • Loading branch information
samuela authored Aug 5, 2022
1 parent 4949fce commit 90c5057
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 915 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ final: prev: let
"11.4" = ./manifests/redistrib_11.4.4.json;
"11.5" = ./manifests/redistrib_11.5.2.json;
"11.6" = ./manifests/redistrib_11.6.2.json;
"11.7" = ./manifests/redistrib_11.7.0.json;
};

# Function to build a single cudatoolkit redist package
Expand Down

This file was deleted.

8 changes: 2 additions & 6 deletions pkgs/development/compilers/cudatoolkit/redist/overrides.nix
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,8 @@ in (lib.filterAttrs (attr: _: (prev ? "${attr}")) {
];

nsight_compute = prev.nsight_compute.overrideAttrs (oldAttrs: {
nativeBuildInputs = oldAttrs.nativeBuildInputs
++ lib.optionals (lib.versionOlder prev.nsight_compute.version "2022.2.0") [ pkgs.qt5.wrapQtAppsHook ]
++ lib.optionals (lib.versionAtLeast prev.nsight_compute.version "2022.2.0") [ pkgs.qt6.wrapQtAppsHook ];
buildInputs = oldAttrs.buildInputs
++ lib.optionals (lib.versionOlder prev.nsight_compute.version "2022.2.0") [ pkgs.qt5.qtwebview ]
++ lib.optionals (lib.versionAtLeast prev.nsight_compute.version "2022.2.0") [ pkgs.qt6.qtwebview ];
nativeBuildInputs = oldAttrs.nativeBuildInputs ++ [ pkgs.qt5.wrapQtAppsHook ];
buildInputs = oldAttrs.buildInputs ++ [ pkgs.libsForQt5.qt5.qtwebview ];
});

nsight_systems = prev.nsight_systems.overrideAttrs (oldAttrs: {
Expand Down
6 changes: 0 additions & 6 deletions pkgs/development/compilers/cudatoolkit/versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,3 @@ version = "11.6.1"
url = "https://developer.download.nvidia.com/compute/cuda/11.6.1/local_installers/cuda_11.6.1_510.47.03_linux.run"
sha256 = "sha256-qyGa/OALdCABEyaYZvv/derQN7z8I1UagzjCaEyYTX4="
gcc = "gcc11"

["11.7"]
version = "11.7.0"
url = "https://developer.download.nvidia.com/compute/cuda/11.7.0/local_installers/cuda_11.7.0_515.43.04_linux.run"
sha256 = "sha256-CH/fy7ofeVQ7H3jkOo39rF9tskLQQt3oIOFtwYWJLyY="
gcc = "gcc11"
19 changes: 1 addition & 18 deletions pkgs/development/libraries/science/math/cudnn/extension.nix
Original file line number Diff line number Diff line change
Expand Up @@ -94,23 +94,7 @@ final: prev: let
fullVersion = "8.3.2.44";
hash = "sha256-VQCVPAjF5dHd3P2iNPnvvdzb5DpTsm3AqCxyP6FwxFc=";
url = "${urlPrefix}/v${majorMinorPatch fullVersion}/local_installers/${fileVersion}/cudnn-linux-x86_64-${fullVersion}_cuda${fileVersion}-archive.tar.xz";
supportedCudaVersions = [ "11.0" "11.1" "11.2" "11.3" "11.4" "11.4" "11.5" "11.6" "11.7" ];
}
];
"8.4.0" = [
rec {
fileVersion = "10.2";
fullVersion = "8.4.0.27";
hash = "sha256-FMXjykJYJxmW0f2VnELRfFgs5Nmv9FH4RSRGnnhP0VQ=";
url = "${urlPrefix}/v${majorMinorPatch fullVersion}/local_installers/${fileVersion}/cudnn-linux-x86_64-${fullVersion}_cuda${fileVersion}-archive.tar.xz";
supportedCudaVersions = [ "10.2" ];
}
rec {
fileVersion = "11.6";
fullVersion = "8.4.0.27";
hash = "sha256-0Zva/ZgAx50p5vb/+p+eLBDREy1sL/ELFZPgV+dN0FA=";
url = "${urlPrefix}/v${majorMinorPatch fullVersion}/local_installers/${fileVersion}/cudnn-linux-x86_64-${fullVersion}_cuda${fileVersion}-archive.tar.xz";
supportedCudaVersions = [ "11.0" "11.1" "11.2" "11.3" "11.4" "11.4" "11.5" "11.6" "11.7" ];
supportedCudaVersions = [ "11.0" "11.1" "11.2" "11.3" "11.4" "11.4" "11.5" "11.6" ];
}
];
};
Expand All @@ -127,7 +111,6 @@ final: prev: let
"11.4" = "8.3.2";
"11.5" = "8.3.2";
"11.6" = "8.3.2";
"11.7" = "8.4.0";
}.${cudaVersion};

in cuDnnPackages
3 changes: 0 additions & 3 deletions pkgs/test/cuda/cuda-samples/extension.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ final: prev: let
"11.4" = "082dkk5y34wyvjgj2p5j1d00rk8xaxb9z0mhvz16bd469r1bw2qk";
"11.5" = "sha256-AKRZbke0K59lakhTi8dX2cR2aBuWPZkiQxyKaZTvHrI=";
"11.6" = "sha256-AsLNmAplfuQbXg9zt09tXAuFJ524EtTYsQuUlV1tPkE=";
# the tag 11.7 does not exists: see https://github.com/NVIDIA/cuda-samples/issues/128
# maybe fixed by https://github.com/NVIDIA/cuda-samples/pull/133
"11.7" = prev.lib.fakeSha256;
}.${prev.cudaVersion};

in {
Expand Down
3 changes: 1 addition & 2 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5285,8 +5285,7 @@ with pkgs;
cudaPackages_11_4 = callPackage ./cuda-packages.nix { cudaVersion = "11.4"; };
cudaPackages_11_5 = callPackage ./cuda-packages.nix { cudaVersion = "11.5"; };
cudaPackages_11_6 = callPackage ./cuda-packages.nix { cudaVersion = "11.6"; };
cudaPackages_11_7 = callPackage ./cuda-packages.nix { cudaVersion = "11.7"; };
cudaPackages_11 = cudaPackages_11_7;
cudaPackages_11 = cudaPackages_11_6;
cudaPackages = recurseIntoAttrs cudaPackages_11;

# TODO: move to alias
Expand Down

0 comments on commit 90c5057

Please sign in to comment.