summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSv. Lockal <lockalsash@gmail.com>2024-07-20 17:43:30 +0000
committerSam James <sam@gentoo.org>2024-09-09 19:15:20 +0100
commit717c026f41e03df90881c5cca1c1c8390e71b8b5 (patch)
treebe961bebe9d44332c1082ff082bb5b044c4ab4c3
parentsci-libs/rocThrust: strip unsupported flags for potentially switched compiler (diff)
downloadgentoo-717c026f41e03df90881c5cca1c1c8390e71b8b5.tar.gz
gentoo-717c026f41e03df90881c5cca1c1c8390e71b8b5.tar.bz2
gentoo-717c026f41e03df90881c5cca1c1c8390e71b8b5.zip
sci-libs/rocWMMA: 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>
-rw-r--r--sci-libs/rocWMMA/rocWMMA-6.1.1.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/sci-libs/rocWMMA/rocWMMA-6.1.1.ebuild b/sci-libs/rocWMMA/rocWMMA-6.1.1.ebuild
index a3f8d61463b1..3122ab799976 100644
--- a/sci-libs/rocWMMA/rocWMMA-6.1.1.ebuild
+++ b/sci-libs/rocWMMA/rocWMMA-6.1.1.ebuild
@@ -44,6 +44,8 @@ PATCHES=(
)
src_configure() {
+ rocm_use_hipcc
+
# ld.lld bug https://github.com/llvm/llvm-project/issues/61101
filter-lto
@@ -55,7 +57,7 @@ src_configure() {
-DROCWMMA_BUILD_TESTS="$(usex test)"
)
use test && mycmakeargs+=(-DROCWMMA_USE_SYSTEM_GOOGLETEST=ON)
- CC=hipcc CXX=hipcc cmake_src_configure
+ cmake_src_configure
}
src_test() {