summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSv. Lockal <lockalsash@gmail.com>2024-01-15 20:29:12 +0000
committerSam James <sam@gentoo.org>2024-03-08 19:22:00 +0000
commit6603720d4160733fef3c8bf3d0cb5a9874abecd6 (patch)
treea7f1a4f12b15867e566ffd9895a798e027d8abea /sci-libs/rocBLAS
parentsci-libs/rocBLAS: lock dev-util/hip version, as with hip-6.0 build fails with... (diff)
downloadgentoo-6603720d4160733fef3c8bf3d0cb5a9874abecd6.tar.gz
gentoo-6603720d4160733fef3c8bf3d0cb5a9874abecd6.tar.bz2
gentoo-6603720d4160733fef3c8bf3d0cb5a9874abecd6.zip
sci-libs/rocBLAS: disable stripping for *.hsaco files
Signed-off-by: Sv. Lockal <lockalsash@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-libs/rocBLAS')
-rw-r--r--sci-libs/rocBLAS/rocBLAS-5.7.1-r1.ebuild4
1 files changed, 4 insertions, 0 deletions
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/
}