sci-libs/rocBLAS: disable stripping for *.hsaco files

Signed-off-by: Sv. Lockal <lockalsash@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sv. Lockal
2024-01-15 20:29:12 +00:00
committed by Sam James
parent bedfb8ff37
commit 6603720d41

View File

@@ -104,4 +104,8 @@ src_install() {
dolib.a clients/librocblas_fortran_client.a
dobin clients/staging/rocblas-bench
fi
# Stop llvm-strip from removing .strtab section from *.hsaco files,
# otherwise rocclr/elf/elf.cpp complains with "failed: null sections(STRTAB)" and crashes
dostrip -x /usr/$(get_libdir)/rocblas/library/
}