From d9cf465d946aad98b1e7a5efd4d2fc3db72b1be0 Mon Sep 17 00:00:00 2001 From: "Sv. Lockal" Date: Sat, 20 Jul 2024 17:18:02 +0000 Subject: sci-libs/hipCUB: 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/hipCUB/hipCUB-6.1.1.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sci-libs') diff --git a/sci-libs/hipCUB/hipCUB-6.1.1.ebuild b/sci-libs/hipCUB/hipCUB-6.1.1.ebuild index 8a38588c8d4c..ab990f284e87 100644 --- a/sci-libs/hipCUB/hipCUB-6.1.1.ebuild +++ b/sci-libs/hipCUB/hipCUB-6.1.1.ebuild @@ -37,6 +37,8 @@ src_prepare() { } src_configure() { + rocm_use_hipcc + local mycmakeargs=( -DAMDGPU_TARGETS="$(get_amdgpu_flags)" -DBUILD_TEST=$(usex test ON OFF) @@ -44,7 +46,7 @@ src_configure() { -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF ) - CXX=hipcc cmake_src_configure + cmake_src_configure } src_test() { -- cgit v1.2.3-65-gdbad