From 62bb5fbe5f59d08e4079caed6229ca9e95c20000 Mon Sep 17 00:00:00 2001 From: "Sv. Lockal" Date: Sat, 20 Jul 2024 17:35:57 +0000 Subject: [PATCH] sci-libs/rocRAND: 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/rocRAND/rocRAND-6.1.1.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sci-libs/rocRAND/rocRAND-6.1.1.ebuild b/sci-libs/rocRAND/rocRAND-6.1.1.ebuild index 1cfbcdbd04f3e..e3b1aa20b6341 100644 --- a/sci-libs/rocRAND/rocRAND-6.1.1.ebuild +++ b/sci-libs/rocRAND/rocRAND-6.1.1.ebuild @@ -33,6 +33,8 @@ BDEPEND="dev-build/rocm-cmake >=dev-build/cmake-3.22" src_configure() { + rocm_use_hipcc + local mycmakeargs=( -DCMAKE_SKIP_RPATH=ON -DAMDGPU_TARGETS="$(get_amdgpu_flags)" @@ -42,7 +44,7 @@ src_configure() { -DBUILD_BENCHMARK=$(usex benchmark ON OFF) ) - CXX=hipcc cmake_src_configure + cmake_src_configure } src_test() {