summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSv. Lockal <lockalsash@gmail.com>2024-07-20 17:31:24 +0000
committerSam James <sam@gentoo.org>2024-09-09 19:15:16 +0100
commitf326e368b68e3fb544bd8acfef09f149366c0c89 (patch)
tree4881f33e7bc8770c4e7782131304c06482ed4be5 /sci-libs/rocBLAS
parentsci-libs/miopen: strip unsupported flags for potentially switched compiler (diff)
downloadgentoo-f326e368b68e3fb544bd8acfef09f149366c0c89.tar.gz
gentoo-f326e368b68e3fb544bd8acfef09f149366c0c89.tar.bz2
gentoo-f326e368b68e3fb544bd8acfef09f149366c0c89.zip
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@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-libs/rocBLAS')
-rw-r--r--sci-libs/rocBLAS/rocBLAS-6.1.1.ebuild6
1 files 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() {