fix hiprt
This commit is contained in:
@@ -47,7 +47,11 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
"-D CMAKE_INSTALL_LIBDIR=lib"
|
"-D CMAKE_INSTALL_LIBDIR=lib"
|
||||||
"-D CMAKE_INSTALL_INCLUDEDIR=include"
|
"-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 = {
|
meta = {
|
||||||
homepage = "https://github.com/GPUOpen-LibrariesAndSDKs/HIPRT";
|
homepage = "https://github.com/GPUOpen-LibrariesAndSDKs/HIPRT";
|
||||||
description = "";
|
description = "";
|
||||||
|
|||||||
Reference in New Issue
Block a user