sci-libs/hipCUB: loosen the dependency on dev-util/hip

sci-libs/hipSPARSE:
sci-libs/rocPRIM:
sci-libs/rocRAND:
sci-libs/rocSOLVER:
sci-libs/rocSPARSE: same

The possibility is pointed out by Cory Bloor:

You can probably build the versions of rocBLAS and rocSOLVER tagged at
rocm-5.1.1 with the HIP stack from ROCm 4.3.1. Just be sure to rebuild
all the {roc,hip}{BLAS,SOLVER} libraries at the new tag, since they
all use private (unstable) APIs provided by rocBLAS.

The sci-libs/* ROCm packages should be aligned with sci-libs/rocBLAS,
while the other dev-*/* ROCm packages should be aligned with
dev-util/hip.

Credit: Cory Bloor
Suggested-by: Yiyang Wu <xgreenlandforwyy@gmail.com>
Closes: https://bugs.gentoo.org/838394
Closes: https://bugs.gentoo.org/841982
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Benda Xu <heroxbd@gentoo.org>
This commit is contained in:
Benda Xu
2022-05-02 15:58:23 +08:00
parent ce0bf386b4
commit 284e771bd3
6 changed files with 11 additions and 11 deletions

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -15,7 +15,7 @@ SLOT="0/$(ver_cut 1-2)"
IUSE="benchmark test"
RESTRICT="!test? ( test )"
RDEPEND="dev-util/hip:${SLOT}
RDEPEND="dev-util/hip
sci-libs/rocPRIM:${SLOT}
benchmark? ( dev-cpp/benchmark )"
DEPEND="${RDEPEND}"

View File

@@ -3,7 +3,7 @@
EAPI=7
inherit cmake
inherit cmake toolchain-funcs
DESCRIPTION="ROCm SPARSE marshalling library"
HOMEPAGE="https://github.com/ROCmSoftwarePlatform/hipSPARSE"
@@ -38,8 +38,8 @@ IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="dev-util/rocminfo:${SLOT}
dev-util/hip:${SLOT}
RDEPEND="dev-util/rocminfo
dev-util/hip
sci-libs/rocSPARSE:${SLOT}"
DEPEND="${RDEPEND}"
BDEPEND="dev-util/rocm-cmake

View File

@@ -14,9 +14,9 @@ KEYWORDS="~amd64"
SLOT="0/$(ver_cut 1-2)"
IUSE="benchmark test"
RDEPEND="dev-util/hip:${SLOT}
RDEPEND="dev-util/hip
benchmark? ( dev-cpp/benchmark )"
BDEPEND="dev-util/rocm-cmake:${SLOT}
BDEPEND="dev-util/rocm-cmake
>=dev-util/cmake-3.22
test? ( dev-cpp/gtest )"
DEPEND="${RDEPEND}"

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -15,7 +15,7 @@ SLOT="0/$(ver_cut 1-2)"
IUSE="benchmark test"
RESTRICT="!test? ( test )"
RDEPEND="dev-util/hip:${SLOT}"
RDEPEND="dev-util/hip"
DEPEND="${RDEPEND}
>=dev-util/rocm-cmake-${PV}"
BDEPEND="test? ( dev-cpp/gtest )"

View File

@@ -15,7 +15,7 @@ SLOT="0/$(ver_cut 1-2)"
IUSE="test benchmark"
RDEPEND="dev-util/hip:${SLOT}
RDEPEND="dev-util/hip
sci-libs/rocBLAS:${SLOT}
benchmark? ( virtual/blas )"
DEPEND="${RDEPEND}"

View File

@@ -43,7 +43,7 @@ KEYWORDS="~amd64"
IUSE="benchmark test"
SLOT="0/$(ver_cut 1-2)"
RDEPEND="dev-util/hip:${SLOT}
RDEPEND="dev-util/hip
sci-libs/rocPRIM:${SLOT}"
DEPEND="${RDEPEND}"
BDEPEND="test? (