rocmPackages.hiprt: fix dynamic loading from wrong lib paths

This commit is contained in:
Andrew Marshall
2025-09-09 16:13:13 -04:00
parent 3ff6d70d2e
commit 9e2ef7a8e9
@@ -21,6 +21,8 @@ stdenv.mkDerivation (finalAttrs: {
postPatch = ''
g++ contrib/easy-encryption/cl.cpp -o contrib/easy-encryption/bin/linux/ee64 #replacing prebuilt binary
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/'
'';
nativeBuildInputs = [