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