rocmPackages_6.miopen: correctly link gtest
This commit is contained in:
parent
5165779503
commit
4eac13a88c
1 changed files with 4 additions and 0 deletions
|
@ -155,6 +155,7 @@ in stdenv.mkDerivation (finalAttrs: {
|
|||
python3Packages.breathe
|
||||
python3Packages.myst-parser
|
||||
] ++ lib.optionals buildTests [
|
||||
gtest
|
||||
zlib
|
||||
];
|
||||
|
||||
|
@ -185,6 +186,9 @@ in stdenv.mkDerivation (finalAttrs: {
|
|||
substituteInPlace test/gtest/CMakeLists.txt \
|
||||
--replace "include(googletest)" ""
|
||||
|
||||
substituteInPlace test/gtest/CMakeLists.txt \
|
||||
--replace-fail " gtest_main " " ${gtest}/lib/libgtest.so ${gtest}/lib/libgtest_main.so "
|
||||
|
||||
ln -sf ${gfx900} src/kernels/gfx900.kdb
|
||||
ln -sf ${gfx906} src/kernels/gfx906.kdb
|
||||
ln -sf ${gfx908} src/kernels/gfx908.kdb
|
||||
|
|
Loading…
Reference in a new issue