From 6f09201211929a22feb3e446fd05bb9b30fd2d15 Mon Sep 17 00:00:00 2001 From: Luna Nova Date: Sat, 27 Dec 2025 06:47:55 -0800 Subject: [PATCH] zluda: 4-unstable-2025-01-28 -> 6-preview.45 Bumping to a new unstable tag for ROCm 7.x support --- pkgs/by-name/zl/zluda/package.nix | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/zl/zluda/package.nix b/pkgs/by-name/zl/zluda/package.nix index 043367d8f421..e8810be5aeed 100644 --- a/pkgs/by-name/zl/zluda/package.nix +++ b/pkgs/by-name/zl/zluda/package.nix @@ -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;