commit:     6603720d4160733fef3c8bf3d0cb5a9874abecd6
Author:     Sv. Lockal <lockalsash <AT> gmail <DOT> com>
AuthorDate: Mon Jan 15 20:29:12 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar  8 19:22:00 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6603720d

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

Signed-off-by: Sv. Lockal <lockalsash <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-libs/rocBLAS/rocBLAS-5.7.1-r1.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sci-libs/rocBLAS/rocBLAS-5.7.1-r1.ebuild 
b/sci-libs/rocBLAS/rocBLAS-5.7.1-r1.ebuild
index a6ac3e7e3b2c..77a659cb9a09 100644
--- a/sci-libs/rocBLAS/rocBLAS-5.7.1-r1.ebuild
+++ b/sci-libs/rocBLAS/rocBLAS-5.7.1-r1.ebuild
@@ -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/
 }

Reply via email to