From 5eef57ad9c2ee2dce41ebccc5e8a4f95731e26d6 Mon Sep 17 00:00:00 2001 From: "Sv. Lockal" Date: Sat, 20 Jul 2024 17:26:46 +0000 Subject: [PATCH] sci-libs/hipSOLVER: strip unsupported flags for potentially switched compiler Bug: https://bugs.gentoo.org/936099 Signed-off-by: Sv. Lockal Signed-off-by: Sam James --- sci-libs/hipSOLVER/hipSOLVER-6.1.1.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sci-libs/hipSOLVER/hipSOLVER-6.1.1.ebuild b/sci-libs/hipSOLVER/hipSOLVER-6.1.1.ebuild index be450babaed38..99c4a9c0ca41b 100644 --- a/sci-libs/hipSOLVER/hipSOLVER-6.1.1.ebuild +++ b/sci-libs/hipSOLVER/hipSOLVER-6.1.1.ebuild @@ -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 }