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
This commit is contained in:
@@ -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)
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user