1 |
commit: 284e771bd39b4709afddcc3dd666f5f8665c3754 |
2 |
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 2 07:58:23 2022 +0000 |
4 |
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 2 08:24:41 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=284e771b |
7 |
|
8 |
sci-libs/hipCUB: loosen the dependency on dev-util/hip |
9 |
|
10 |
sci-libs/hipSPARSE: |
11 |
sci-libs/rocPRIM: |
12 |
sci-libs/rocRAND: |
13 |
sci-libs/rocSOLVER: |
14 |
sci-libs/rocSPARSE: same |
15 |
|
16 |
The possibility is pointed out by Cory Bloor: |
17 |
|
18 |
You can probably build the versions of rocBLAS and rocSOLVER tagged at |
19 |
rocm-5.1.1 with the HIP stack from ROCm 4.3.1. Just be sure to rebuild |
20 |
all the {roc,hip}{BLAS,SOLVER} libraries at the new tag, since they |
21 |
all use private (unstable) APIs provided by rocBLAS. |
22 |
|
23 |
The sci-libs/* ROCm packages should be aligned with sci-libs/rocBLAS, |
24 |
while the other dev-*/* ROCm packages should be aligned with |
25 |
dev-util/hip. |
26 |
|
27 |
Credit: Cory Bloor |
28 |
Suggested-by: Yiyang Wu <xgreenlandforwyy <AT> gmail.com> |
29 |
Closes: https://bugs.gentoo.org/838394 |
30 |
Closes: https://bugs.gentoo.org/841982 |
31 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
32 |
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org> |
33 |
|
34 |
sci-libs/hipCUB/{hipCUB-4.3.0.ebuild => hipCUB-4.3.0-r1.ebuild} | 4 ++-- |
35 |
.../{hipSPARSE-4.3.0-r1.ebuild => hipSPARSE-4.3.0-r2.ebuild} | 6 +++--- |
36 |
.../rocPRIM/{rocPRIM-4.3.0-r1.ebuild => rocPRIM-4.3.0-r2.ebuild} | 4 ++-- |
37 |
sci-libs/rocRAND/{rocRAND-4.3.0.ebuild => rocRAND-4.3.0-r1.ebuild} | 4 ++-- |
38 |
.../rocSOLVER/{rocSOLVER-4.3.0.ebuild => rocSOLVER-4.3.0-r1.ebuild} | 2 +- |
39 |
.../{rocSPARSE-4.3.0-r2.ebuild => rocSPARSE-4.3.0-r3.ebuild} | 2 +- |
40 |
6 files changed, 11 insertions(+), 11 deletions(-) |
41 |
|
42 |
diff --git a/sci-libs/hipCUB/hipCUB-4.3.0.ebuild b/sci-libs/hipCUB/hipCUB-4.3.0-r1.ebuild |
43 |
similarity index 96% |
44 |
rename from sci-libs/hipCUB/hipCUB-4.3.0.ebuild |
45 |
rename to sci-libs/hipCUB/hipCUB-4.3.0-r1.ebuild |
46 |
index 0b57014f6d15..65b61c2352cc 100644 |
47 |
--- a/sci-libs/hipCUB/hipCUB-4.3.0.ebuild |
48 |
+++ b/sci-libs/hipCUB/hipCUB-4.3.0-r1.ebuild |
49 |
@@ -1,4 +1,4 @@ |
50 |
-# Copyright 1999-2021 Gentoo Authors |
51 |
+# Copyright 1999-2022 Gentoo Authors |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
|
54 |
EAPI=7 |
55 |
@@ -15,7 +15,7 @@ SLOT="0/$(ver_cut 1-2)" |
56 |
IUSE="benchmark test" |
57 |
RESTRICT="!test? ( test )" |
58 |
|
59 |
-RDEPEND="dev-util/hip:${SLOT} |
60 |
+RDEPEND="dev-util/hip |
61 |
sci-libs/rocPRIM:${SLOT} |
62 |
benchmark? ( dev-cpp/benchmark )" |
63 |
DEPEND="${RDEPEND}" |
64 |
|
65 |
diff --git a/sci-libs/hipSPARSE/hipSPARSE-4.3.0-r1.ebuild b/sci-libs/hipSPARSE/hipSPARSE-4.3.0-r2.ebuild |
66 |
similarity index 98% |
67 |
rename from sci-libs/hipSPARSE/hipSPARSE-4.3.0-r1.ebuild |
68 |
rename to sci-libs/hipSPARSE/hipSPARSE-4.3.0-r2.ebuild |
69 |
index 9acb3016c001..c246c94db511 100644 |
70 |
--- a/sci-libs/hipSPARSE/hipSPARSE-4.3.0-r1.ebuild |
71 |
+++ b/sci-libs/hipSPARSE/hipSPARSE-4.3.0-r2.ebuild |
72 |
@@ -3,7 +3,7 @@ |
73 |
|
74 |
EAPI=7 |
75 |
|
76 |
-inherit cmake |
77 |
+inherit cmake toolchain-funcs |
78 |
|
79 |
DESCRIPTION="ROCm SPARSE marshalling library" |
80 |
HOMEPAGE="https://github.com/ROCmSoftwarePlatform/hipSPARSE" |
81 |
@@ -38,8 +38,8 @@ IUSE="test" |
82 |
|
83 |
RESTRICT="!test? ( test )" |
84 |
|
85 |
-RDEPEND="dev-util/rocminfo:${SLOT} |
86 |
- dev-util/hip:${SLOT} |
87 |
+RDEPEND="dev-util/rocminfo |
88 |
+ dev-util/hip |
89 |
sci-libs/rocSPARSE:${SLOT}" |
90 |
DEPEND="${RDEPEND}" |
91 |
BDEPEND="dev-util/rocm-cmake |
92 |
|
93 |
diff --git a/sci-libs/rocPRIM/rocPRIM-4.3.0-r1.ebuild b/sci-libs/rocPRIM/rocPRIM-4.3.0-r2.ebuild |
94 |
similarity index 96% |
95 |
rename from sci-libs/rocPRIM/rocPRIM-4.3.0-r1.ebuild |
96 |
rename to sci-libs/rocPRIM/rocPRIM-4.3.0-r2.ebuild |
97 |
index 0e7bba7b2a7c..eba4e1317b94 100644 |
98 |
--- a/sci-libs/rocPRIM/rocPRIM-4.3.0-r1.ebuild |
99 |
+++ b/sci-libs/rocPRIM/rocPRIM-4.3.0-r2.ebuild |
100 |
@@ -14,9 +14,9 @@ KEYWORDS="~amd64" |
101 |
SLOT="0/$(ver_cut 1-2)" |
102 |
IUSE="benchmark test" |
103 |
|
104 |
-RDEPEND="dev-util/hip:${SLOT} |
105 |
+RDEPEND="dev-util/hip |
106 |
benchmark? ( dev-cpp/benchmark )" |
107 |
-BDEPEND="dev-util/rocm-cmake:${SLOT} |
108 |
+BDEPEND="dev-util/rocm-cmake |
109 |
>=dev-util/cmake-3.22 |
110 |
test? ( dev-cpp/gtest )" |
111 |
DEPEND="${RDEPEND}" |
112 |
|
113 |
diff --git a/sci-libs/rocRAND/rocRAND-4.3.0.ebuild b/sci-libs/rocRAND/rocRAND-4.3.0-r1.ebuild |
114 |
similarity index 96% |
115 |
rename from sci-libs/rocRAND/rocRAND-4.3.0.ebuild |
116 |
rename to sci-libs/rocRAND/rocRAND-4.3.0-r1.ebuild |
117 |
index 926f784a0249..074ee2912a97 100644 |
118 |
--- a/sci-libs/rocRAND/rocRAND-4.3.0.ebuild |
119 |
+++ b/sci-libs/rocRAND/rocRAND-4.3.0-r1.ebuild |
120 |
@@ -1,4 +1,4 @@ |
121 |
-# Copyright 1999-2021 Gentoo Authors |
122 |
+# Copyright 1999-2022 Gentoo Authors |
123 |
# Distributed under the terms of the GNU General Public License v2 |
124 |
|
125 |
EAPI=7 |
126 |
@@ -15,7 +15,7 @@ SLOT="0/$(ver_cut 1-2)" |
127 |
IUSE="benchmark test" |
128 |
RESTRICT="!test? ( test )" |
129 |
|
130 |
-RDEPEND="dev-util/hip:${SLOT}" |
131 |
+RDEPEND="dev-util/hip" |
132 |
DEPEND="${RDEPEND} |
133 |
>=dev-util/rocm-cmake-${PV}" |
134 |
BDEPEND="test? ( dev-cpp/gtest )" |
135 |
|
136 |
diff --git a/sci-libs/rocSOLVER/rocSOLVER-4.3.0.ebuild b/sci-libs/rocSOLVER/rocSOLVER-4.3.0-r1.ebuild |
137 |
similarity index 98% |
138 |
rename from sci-libs/rocSOLVER/rocSOLVER-4.3.0.ebuild |
139 |
rename to sci-libs/rocSOLVER/rocSOLVER-4.3.0-r1.ebuild |
140 |
index c017b7ad31a0..6287d7b096d5 100644 |
141 |
--- a/sci-libs/rocSOLVER/rocSOLVER-4.3.0.ebuild |
142 |
+++ b/sci-libs/rocSOLVER/rocSOLVER-4.3.0-r1.ebuild |
143 |
@@ -15,7 +15,7 @@ SLOT="0/$(ver_cut 1-2)" |
144 |
|
145 |
IUSE="test benchmark" |
146 |
|
147 |
-RDEPEND="dev-util/hip:${SLOT} |
148 |
+RDEPEND="dev-util/hip |
149 |
sci-libs/rocBLAS:${SLOT} |
150 |
benchmark? ( virtual/blas )" |
151 |
DEPEND="${RDEPEND}" |
152 |
|
153 |
diff --git a/sci-libs/rocSPARSE/rocSPARSE-4.3.0-r2.ebuild b/sci-libs/rocSPARSE/rocSPARSE-4.3.0-r3.ebuild |
154 |
similarity index 99% |
155 |
rename from sci-libs/rocSPARSE/rocSPARSE-4.3.0-r2.ebuild |
156 |
rename to sci-libs/rocSPARSE/rocSPARSE-4.3.0-r3.ebuild |
157 |
index 208d02f6cc3d..f32d34643e14 100644 |
158 |
--- a/sci-libs/rocSPARSE/rocSPARSE-4.3.0-r2.ebuild |
159 |
+++ b/sci-libs/rocSPARSE/rocSPARSE-4.3.0-r3.ebuild |
160 |
@@ -43,7 +43,7 @@ KEYWORDS="~amd64" |
161 |
IUSE="benchmark test" |
162 |
SLOT="0/$(ver_cut 1-2)" |
163 |
|
164 |
-RDEPEND="dev-util/hip:${SLOT} |
165 |
+RDEPEND="dev-util/hip |
166 |
sci-libs/rocPRIM:${SLOT}" |
167 |
DEPEND="${RDEPEND}" |
168 |
BDEPEND="test? ( |