summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Zander <negril.nx+gentoo@gmail.com>2024-06-25 22:36:54 +0200
committerSam James <sam@gentoo.org>2024-06-26 10:19:26 +0100
commit7df7f8e93ed60da8c8082d6256dd194fa9dd1aa7 (patch)
treeed85a0d5ff6ae5ad02f7b36fc21b9a2faa2b5e75 /sci-libs
parentdev-libs/hipother: 6.1.1 match rocm slot (diff)
downloadgentoo-7df7f8e93ed60da8c8082d6256dd194fa9dd1aa7.tar.gz
gentoo-7df7f8e93ed60da8c8082d6256dd194fa9dd1aa7.tar.bz2
gentoo-7df7f8e93ed60da8c8082d6256dd194fa9dd1aa7.zip
sci-libs/rocWMMA: 6.1.1 cleanup ebuild
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/rocWMMA/rocWMMA-6.1.1.ebuild7
1 files 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