From c01d90f7566621f855bb67a7964036660d518f09 Mon Sep 17 00:00:00 2001 From: Luna Nova Date: Sun, 21 Dec 2025 07:21:57 -0800 Subject: [PATCH] rocmPackages.hiprt: 2.5.a21e075.3 -> 3.0.3.a1525e7 PR to drop encryption support was accepted upstream so we can simplify the build slightly. Changes from 2.5: - RDNA 4 support (compressed BVH8, triangle packets, intersectable instances, OBB) - new generic BVH2 import API - per-context logger - removed kernel encryption - various bug fixes for RDNA 2 - ROCm 7 support --- pkgs/development/rocm-modules/hiprt/default.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pkgs/development/rocm-modules/hiprt/default.nix b/pkgs/development/rocm-modules/hiprt/default.nix index d856477a01cc..bd2a9f6f11fd 100644 --- a/pkgs/development/rocm-modules/hiprt/default.nix +++ b/pkgs/development/rocm-modules/hiprt/default.nix @@ -9,17 +9,16 @@ stdenv.mkDerivation (finalAttrs: { pname = "hiprt"; - version = "2.5.a21e075.3"; + version = "3.0.3.a1525e7"; src = fetchFromGitHub { owner = "GPUOpen-LibrariesAndSDKs"; repo = "HIPRT"; tag = finalAttrs.version; - sha256 = "sha256-3yGhwIsFHlFMCEzuYnXuXNzs99m7f2LTkYaTGs0GEcI="; + hash = "sha256-7r7KO+WuXOeQQhYLYpJRrD4ZqVsBOqaD2NGD15CWnoo="; }; postPatch = '' - rm -rf contrib/easy-encrypt # contains prebuilt easy-encrypt binaries, we disable encryption substituteInPlace contrib/Orochi/contrib/hipew/src/hipew.cpp --replace-fail '"/opt/rocm/hip/lib/' '"${clr}/lib' substituteInPlace hiprt/hiprt_libpath.h --replace-fail '"/opt/rocm/hip/lib/' '"${clr}/lib/' ''; @@ -40,8 +39,6 @@ stdenv.mkDerivation (finalAttrs: { (lib.cmakeBool "PRECOMPILE" true) # needs accelerator (lib.cmakeBool "NO_UNITTEST" true) - # we have no need to support baking encrypted kernels into object files - (lib.cmakeBool "NO_ENCRYPT" true) (lib.cmakeBool "FORCE_DISABLE_CUDA" true) ];