From 16f30d511ea0c7f9f641df92115c17f0cc008e31 Mon Sep 17 00:00:00 2001 From: "Sv. Lockal" Date: Sat, 20 Jul 2024 17:22:34 +0000 Subject: sci-libs/hipRAND: 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/hipRAND/hipRAND-6.1.1.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sci-libs/hipRAND') diff --git a/sci-libs/hipRAND/hipRAND-6.1.1.ebuild b/sci-libs/hipRAND/hipRAND-6.1.1.ebuild index 2a123df19544..30e218be3a80 100644 --- a/sci-libs/hipRAND/hipRAND-6.1.1.ebuild +++ b/sci-libs/hipRAND/hipRAND-6.1.1.ebuild @@ -25,11 +25,13 @@ RDEPEND="dev-util/hip DEPEND="${RDEPEND}" src_configure() { + rocm_use_hipcc + local mycmakeargs=( -DAMDGPU_TARGETS="$(get_amdgpu_flags)" -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF -DROCM_SYMLINK_LIBS=OFF ) - CXX=hipcc cmake_src_configure + cmake_src_configure } -- cgit v1.2.3-65-gdbad