fix hiprt

This commit is contained in:
2025-06-02 10:09:30 +04:00
parent 14f2056227
commit 6f6b5e8499

View File

@@ -47,7 +47,11 @@ stdenv.mkDerivation (finalAttrs: {
"-D CMAKE_INSTALL_LIBDIR=lib"
"-D CMAKE_INSTALL_INCLUDEDIR=include"
];
postInstall = ''
mkdir -p $out/lib
ln -s "$(find $out/bin -type f -name 'libhiprt*.so' -print -quit)" $out/bin/libhiprt64.so
ln -s $out/bin/libhiprt64.so $out/lib/libhiprt64.so
'';
meta = {
homepage = "https://github.com/GPUOpen-LibrariesAndSDKs/HIPRT";
description = "";