From dfe522b0055ebefbe44b00686802d4e10b6cd7fa Mon Sep 17 00:00:00 2001 From: "Sv. Lockal" Date: Wed, 21 Oct 2026 00:25:28 +0800 Subject: [PATCH] sci-libs/hipCUB: fix benchmark build dependencies Closes: https://bugs.gentoo.org/984533 Signed-off-by: Sv. Lockal Part-of: https://github.com/gentoo/gentoo/pull/46924 Signed-off-by: Alfredo Tupone --- .../{hipCUB-10.1.0.ebuild => hipCUB-10.1.0-r1.ebuild} | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) rename sci-libs/hipCUB/{hipCUB-10.1.0.ebuild => hipCUB-10.1.0-r1.ebuild} (89%) diff --git a/sci-libs/hipCUB/hipCUB-10.1.0.ebuild b/sci-libs/hipCUB/hipCUB-10.1.0-r1.ebuild similarity index 89% rename from sci-libs/hipCUB/hipCUB-10.1.0.ebuild rename to sci-libs/hipCUB/hipCUB-10.1.0-r1.ebuild index 3bd30d0c97eb2..e1d6003738415 100644 --- a/sci-libs/hipCUB/hipCUB-10.1.0.ebuild +++ b/sci-libs/hipCUB/hipCUB-10.1.0-r1.ebuild @@ -29,7 +29,10 @@ REQUIRED_USE=" RESTRICT="!test? ( test )" RDEPEND=" - benchmark? ( dev-util/hip:${SLOT} ) + benchmark? ( + dev-util/amdsmi:${SLOT} + dev-util/hip:${SLOT} + ) " DEPEND=" ${RDEPEND} @@ -44,9 +47,11 @@ PATCHES=( ) src_prepare() { - # primbench comes from its own tarball + # primbench comes from its own tarball; git only provides a branch name and + # commit hash for benchmark results if use benchmark; then sed -e "s:\.\./\.\./\.\./shared/primbench:${WORKDIR}/primbench:" \ + -e "/find_package(Git REQUIRED)/d" \ -i benchmark/CMakeLists.txt || die fi