diff options
author | Sv. Lockal <lockalsash@gmail.com> | 2024-03-06 16:02:21 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-03-08 19:22:02 +0000 |
commit | d2c1e1404904f9ca7daeaa1cc828708a81188b90 (patch) | |
tree | 52d460d9e4b966677c4525d136c60e0be85ce1ee | |
parent | sci-libs/rocFFT: fix build with ld.lld (diff) | |
download | gentoo-d2c1e1404904f9ca7daeaa1cc828708a81188b90.tar.gz gentoo-d2c1e1404904f9ca7daeaa1cc828708a81188b90.tar.bz2 gentoo-d2c1e1404904f9ca7daeaa1cc828708a81188b90.zip |
sci-libs/rocFFT: fix benchmark dependencies and collision with dev-util/perf
Signed-off-by: Sv. Lockal <lockalsash@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r-- | sci-libs/rocFFT/rocFFT-5.7.1-r2.ebuild (renamed from sci-libs/rocFFT/rocFFT-5.7.1-r1.ebuild) | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/sci-libs/rocFFT/rocFFT-5.7.1-r1.ebuild b/sci-libs/rocFFT/rocFFT-5.7.1-r2.ebuild index 4a924bd502a7..f4ddb494bf35 100644 --- a/sci-libs/rocFFT/rocFFT-5.7.1-r1.ebuild +++ b/sci-libs/rocFFT/rocFFT-5.7.1-r2.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_COMPAT=( python3_{10..12} ) ROCM_VERSION=${PV} inherit cmake check-reqs edo multiprocessing python-r1 rocm @@ -30,9 +30,11 @@ perfscripts? ( ${PYTHON_DEPS}" DEPEND="=dev-util/hip-5* - ${PYTHON_DEPS}" - -BDEPEND=" + ${PYTHON_DEPS} + benchmark? ( + dev-libs/boost + sci-libs/hipRAND:${SLOT}[${ROCM_USEDEP}] + ) test? ( dev-cpp/gtest dev-libs/boost @@ -40,6 +42,9 @@ BDEPEND=" sys-libs/libomp sci-libs/hipRAND:${SLOT}[${ROCM_USEDEP}] ) +" + +BDEPEND=" >=dev-build/cmake-3.22 dev-build/rocm-cmake dev-db/sqlite @@ -137,6 +142,11 @@ src_install() { if use benchmark; then cd "${BUILD_DIR}"/clients/staging || die dobin *rider + + if ! use perfscripts; then + # prevent collision with dev-util/perf + rm -rf "${ED}"/usr/bin/perf || die + fi fi if use perfscripts; then |