commit:     f326e368b68e3fb544bd8acfef09f149366c0c89
Author:     Sv. Lockal <lockalsash <AT> gmail <DOT> com>
AuthorDate: Sat Jul 20 17:31:24 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Sep  9 18:15:16 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f326e368

sci-libs/rocBLAS: strip unsupported flags for potentially switched compiler

Also remove addpredict in src_configure (not needed after rocm_use_hipcc)

Bug: https://bugs.gentoo.org/936099
Signed-off-by: Sv. Lockal <lockalsash <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-libs/rocBLAS/rocBLAS-6.1.1.ebuild | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/sci-libs/rocBLAS/rocBLAS-6.1.1.ebuild 
b/sci-libs/rocBLAS/rocBLAS-6.1.1.ebuild
index 26bfc2ada24d..b4fe232ecfe8 100644
--- a/sci-libs/rocBLAS/rocBLAS-6.1.1.ebuild
+++ b/sci-libs/rocBLAS/rocBLAS-6.1.1.ebuild
@@ -58,9 +58,7 @@ src_prepare() {
 }
 
 src_configure() {
-       addpredict /dev/random
-       addpredict /dev/kfd
-       addpredict /dev/dri/
+       rocm_use_hipcc
 
        local mycmakeargs=(
                -DCMAKE_SKIP_RPATH=ON
@@ -86,7 +84,7 @@ src_configure() {
                )
        fi
 
-       CXX=hipcc cmake_src_configure
+       cmake_src_configure
 }
 
 src_compile() {

Reply via email to