sci-libs/rocSPARSE: 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>
This commit is contained in:
Sv. Lockal
2024-07-20 17:38:56 +00:00
committed by Sam James
parent 1d606e6db2
commit b52cb8aabf

View File

@@ -90,8 +90,7 @@ src_prepare() {
}
src_configure() {
addpredict /dev/kfd
addpredict /dev/dri/
rocm_use_hipcc
local mycmakeargs=(
-DCMAKE_SKIP_RPATH=ON
@@ -103,7 +102,7 @@ src_configure() {
-DBUILD_CLIENTS_BENCHMARKS=$(usex benchmark ON OFF)
)
CXX=hipcc cmake_src_configure
cmake_src_configure
}
src_test() {