From f326e368b68e3fb544bd8acfef09f149366c0c89 Mon Sep 17 00:00:00 2001 From: "Sv. Lockal" Date: Sat, 20 Jul 2024 17:31:24 +0000 Subject: 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 Signed-off-by: Sam James --- sci-libs/rocBLAS/rocBLAS-6.1.1.ebuild | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'sci-libs/rocBLAS') 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() { -- cgit v1.2.3-65-gdbad