summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSv. Lockal <lockalsash@gmail.com>2024-07-20 17:22:34 +0000
committerSam James <sam@gentoo.org>2024-09-09 19:15:14 +0100
commit16f30d511ea0c7f9f641df92115c17f0cc008e31 (patch)
treef29ef1f0ea5c2c000a4c1335263c32fd16d88d8d /sci-libs
parentsci-libs/hipCUB: strip unsupported flags for potentially switched compiler (diff)
downloadgentoo-16f30d511ea0c7f9f641df92115c17f0cc008e31.tar.gz
gentoo-16f30d511ea0c7f9f641df92115c17f0cc008e31.tar.bz2
gentoo-16f30d511ea0c7f9f641df92115c17f0cc008e31.zip
sci-libs/hipRAND: 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>
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/hipRAND/hipRAND-6.1.1.ebuild4
1 files changed, 3 insertions, 1 deletions
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
}