commit: 7df7f8e93ed60da8c8082d6256dd194fa9dd1aa7
Author: Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com>
AuthorDate: Tue Jun 25 20:36:54 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jun 26 09:19:26 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7df7f8e9
sci-libs/rocWMMA: 6.1.1 cleanup ebuild
Signed-off-by: Paul Zander <negril.nx+gentoo <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
sci-libs/rocWMMA/rocWMMA-6.1.1.ebuild | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/sci-libs/rocWMMA/rocWMMA-6.1.1.ebuild
b/sci-libs/rocWMMA/rocWMMA-6.1.1.ebuild
index 54af6e3d6f1e..a3f8d61463b1 100644
--- a/sci-libs/rocWMMA/rocWMMA-6.1.1.ebuild
+++ b/sci-libs/rocWMMA/rocWMMA-6.1.1.ebuild
@@ -2,6 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=8
+
ROCM_SKIP_GLOBALS=1
inherit cmake rocm flag-o-matic
@@ -19,7 +20,7 @@ DEPEND="=dev-util/hip-6*"
IUSE_TARGETS=( gfx908 gfx90a gfx940 gfx941 gfx942 gfx1100 gfx1101 gfx1102 )
IUSE_TARGETS=( "${IUSE_TARGETS[@]/#/amdgpu_targets_}" )
-ROCM_USEDEP_OPTFLAGS=${IUSE_TARGETS[@]/%/(-)?}
+ROCM_USEDEP_OPTFLAGS=${IUSE_TARGETS[*]/%/(-)?}
ROCM_USEDEP=${ROCM_USEDEP_OPTFLAGS// /,}
ROCM_REQUIRED_USE=" || ( ${IUSE_TARGETS[*]} )"
@@ -31,7 +32,7 @@ BDEPEND="
dev-build/rocm-cmake
"
-IUSE="${IUSE_TARGETS[@]/#/+} test"
+IUSE="${IUSE_TARGETS[*]/#/+} test"
REQUIRED_USE="${ROCM_REQUIRED_USE}"
@@ -51,7 +52,7 @@ src_configure() {
-DAMDGPU_TARGETS="$(get_amdgpu_flags)"
-DROCM_SYMLINK_LIBS=OFF
-DROCWMMA_BUILD_SAMPLES=OFF
- -DROCWMMA_BUILD_TESTS=$(usex test ON OFF)
+ -DROCWMMA_BUILD_TESTS="$(usex test)"
)
use test && mycmakeargs+=(-DROCWMMA_USE_SYSTEM_GOOGLETEST=ON)
CC=hipcc CXX=hipcc cmake_src_configure