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

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:26:46 +00:00
committed by Sam James
parent 16f30d511e
commit 5eef57ad9c

View File

@@ -36,6 +36,8 @@ PATCHES=(
)
src_configure() {
rocm_use_hipcc
local mycmakeargs=(
-DAMDGPU_TARGETS="$(get_amdgpu_flags)"
-DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF
@@ -43,5 +45,5 @@ src_configure() {
-DBUILD_WITH_SPARSE=$(usex sparse ON OFF)
)
CXX=hipcc cmake_src_configure
cmake_src_configure
}