commit:     eaaa5dfd4055d05044e70c75714ef43d6206aa4e
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 19 16:21:05 2023 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Sun Nov 19 16:32:17 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eaaa5dfd

sci-libs/rocRAND: add dev-cpp/benchmark dependency.

Closes: https://bugs.gentoo.org/913111
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>

 sci-libs/rocRAND/{rocRAND-5.6.0.ebuild => rocRAND-5.6.0-r1.ebuild} | 7 ++++---
 sci-libs/rocRAND/rocRAND-5.7.1.ebuild                              | 7 ++++---
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/sci-libs/rocRAND/rocRAND-5.6.0.ebuild 
b/sci-libs/rocRAND/rocRAND-5.6.0-r1.ebuild
similarity index 92%
rename from sci-libs/rocRAND/rocRAND-5.6.0.ebuild
rename to sci-libs/rocRAND/rocRAND-5.6.0-r1.ebuild
index b7b4ac7cc950..29a49e44991e 100644
--- a/sci-libs/rocRAND/rocRAND-5.6.0.ebuild
+++ b/sci-libs/rocRAND/rocRAND-5.6.0-r1.ebuild
@@ -22,10 +22,11 @@ PATCHES=( "${FILESDIR}"/${PN}-5.4.2_stdint-gcc13.patch )
 
 RDEPEND="dev-util/hip"
 DEPEND="${RDEPEND}
-dev-util/rocm-cmake
-test? ( dev-cpp/gtest )"
+       dev-util/rocm-cmake
+       benchmark? ( dev-cpp/benchmark )
+       test? ( dev-cpp/gtest )"
 BDEPEND="dev-util/rocm-cmake
->=dev-util/cmake-3.22"
+       >=dev-util/cmake-3.22"
 
 S="${WORKDIR}/rocRAND-rocm-${PV}"
 

diff --git a/sci-libs/rocRAND/rocRAND-5.7.1.ebuild 
b/sci-libs/rocRAND/rocRAND-5.7.1.ebuild
index f2fc17ed6222..2a55cae507fe 100644
--- a/sci-libs/rocRAND/rocRAND-5.7.1.ebuild
+++ b/sci-libs/rocRAND/rocRAND-5.7.1.ebuild
@@ -26,10 +26,11 @@ PATCHES=(
 
 RDEPEND="dev-util/hip"
 DEPEND="${RDEPEND}
-dev-util/rocm-cmake
-test? ( dev-cpp/gtest )"
+       dev-util/rocm-cmake
+       benchmark? ( dev-cpp/benchmark )
+       test? ( dev-cpp/gtest )"
 BDEPEND="dev-util/rocm-cmake
->=dev-util/cmake-3.22"
+       >=dev-util/cmake-3.22"
 
 S="${WORKDIR}/rocRAND-rocm-${PV}"
 

Reply via email to