From d5f466a71bd6461da124df79f19721c8fb2eeb9b Mon Sep 17 00:00:00 2001 From: "Sv. Lockal" Date: Sun, 22 Jun 2025 15:05:43 +0000 Subject: [PATCH] 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 Part-of: https://github.com/gentoo/gentoo/pull/42691 Signed-off-by: Sam James --- 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 a13c5fe0c9803..83a3cc8fa055a 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)" )