commit:     d5f466a71bd6461da124df79f19721c8fb2eeb9b
Author:     Sv. Lockal <lockalsash <AT> gmail <DOT> com>
AuthorDate: Sun Jun 22 15:05:43 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jul  5 07:14:14 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5f466a7

sci-libs/rocBLAS: fix compilation failure with incorrect clang selection

This switches compiles from hipcc to clang (no difference, just to remove 
warning),
and more importantly prepends llvm path (build scripts call clang++ in many 
places).

Closes: https://bugs.gentoo.org/949817
Signed-off-by: Sv. Lockal <lockalsash <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/42691
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-libs/rocBLAS/rocBLAS-6.4.1.ebuild | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/sci-libs/rocBLAS/rocBLAS-6.4.1.ebuild 
b/sci-libs/rocBLAS/rocBLAS-6.4.1.ebuild
index a13c5fe0c980..83a3cc8fa055 100644
--- a/sci-libs/rocBLAS/rocBLAS-6.4.1.ebuild
+++ b/sci-libs/rocBLAS/rocBLAS-6.4.1.ebuild
@@ -64,10 +64,11 @@ src_prepare() {
 }
 
 src_configure() {
-       rocm_use_hipcc
+       llvm_prepend_path "${LLVM_SLOT}"
+       rocm_use_clang
 
        # too many warnings
-       append-cxxflags -Wno-explicit-specialization-storage-class
+       append-cxxflags -Wno-explicit-specialization-storage-class 
-Wno-unused-value
 
        local mycmakeargs=(
                -DCMAKE_SKIP_RPATH=ON
@@ -87,10 +88,7 @@ src_configure() {
 
        if usex video_cards_amdgpu; then
                mycmakeargs+=(
-                       -DTensile_LOGIC="asm_full"
                        -DTensile_COMPILER="hipcc"
-                       -DTensile_LIBRARY_FORMAT="msgpack"
-                       -DTensile_CODE_OBJECT_VERSION="default"
                        -DTensile_ROOT="${EPREFIX}/usr/share/Tensile"
                        -DTensile_CPU_THREADS="$(makeopts_jobs)"
                )

Reply via email to