zluda: 4-unstable-2025-01-28 -> 6-preview.45

Bumping to a new unstable tag for ROCm 7.x support
This commit is contained in:
Luna Nova
2026-01-16 10:44:23 -08:00
parent 12f2544fcc
commit 6f09201211
+8 -5
View File
@@ -16,14 +16,13 @@
rustPlatform.buildRustPackage (finalAttrs: {
pname = "zluda";
version = "4-unstable-2025-01-28";
version = "6-preview.45";
src = fetchFromGitHub {
owner = "vosen";
repo = "ZLUDA";
# Cargo.lock introduced and major bug fixes in this commit
rev = "df5a96d935b014f88e30af4abc487882b0b54a76";
hash = "sha256-T2pCZZzZbCLI01YSF0VguKtL3EDEdIoUyH4C9ccaCi8=";
rev = "v${finalAttrs.version}";
hash = "sha256-796OuIM5a0saE0v1QHHAGRjUPT+YAIfUuEtAruMn8Mk=";
fetchSubmodules = true;
};
@@ -35,6 +34,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
rocmPackages.rocsolver
rocmPackages.rocblas
rocmPackages.hipblas
rocmPackages.hipblaslt
rocmPackages.rocm-cmake
rocmPackages.hipfft
zlib
@@ -50,7 +50,10 @@ rustPlatform.buildRustPackage (finalAttrs: {
clang
];
cargoHash = "sha256-hDQWjzkx7YdkgSmNKTzCa2VhBFvn6P9QANV9hJ7UiT8=";
cargoHash = "sha256-YNBeweZ/vfXGfM0lrZbAh71z6Rb0+B7nOuO8VL2BmCo=";
# Tests require a GPU and segfault in the sandbox
doCheck = false;
# xtask doesn't support passing --target, but nix hooks expect the folder structure from when it's set
env.CARGO_BUILD_TARGET = stdenv.hostPlatform.rust.cargoShortTarget;