1 |
commit: cd62673fa29da0f8bdaced597fdfeb3df23168d0 |
2 |
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 1 09:18:38 2022 +0000 |
4 |
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 1 09:22:15 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd62673f |
7 |
|
8 |
sci-libs/hipSPARSE: remove unused cmake variable |
9 |
|
10 |
__skip_rocmclang was used to avoid configuration error for |
11 |
cmake-3.21.(1|2), which don't exist among ebuilds anymore. |
12 |
|
13 |
Closes: https://bugs.gentoo.org/829077 |
14 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
15 |
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org> |
16 |
|
17 |
.../hipSPARSE/{hipSPARSE-4.3.0.ebuild => hipSPARSE-4.3.0-r1.ebuild} | 6 +++--- |
18 |
1 file changed, 3 insertions(+), 3 deletions(-) |
19 |
|
20 |
diff --git a/sci-libs/hipSPARSE/hipSPARSE-4.3.0.ebuild b/sci-libs/hipSPARSE/hipSPARSE-4.3.0-r1.ebuild |
21 |
similarity index 94% |
22 |
rename from sci-libs/hipSPARSE/hipSPARSE-4.3.0.ebuild |
23 |
rename to sci-libs/hipSPARSE/hipSPARSE-4.3.0-r1.ebuild |
24 |
index 99acf36c8593..9acb3016c001 100644 |
25 |
--- a/sci-libs/hipSPARSE/hipSPARSE-4.3.0.ebuild |
26 |
+++ b/sci-libs/hipSPARSE/hipSPARSE-4.3.0-r1.ebuild |
27 |
@@ -1,4 +1,4 @@ |
28 |
-# Copyright 1999-2021 Gentoo Authors |
29 |
+# Copyright 1999-2022 Gentoo Authors |
30 |
# Distributed under the terms of the GNU General Public License v2 |
31 |
|
32 |
EAPI=7 |
33 |
@@ -42,7 +42,8 @@ RDEPEND="dev-util/rocminfo:${SLOT} |
34 |
dev-util/hip:${SLOT} |
35 |
sci-libs/rocSPARSE:${SLOT}" |
36 |
DEPEND="${RDEPEND}" |
37 |
-BDEPEND="dev-util/rocm-cmake:${SLOT} |
38 |
+BDEPEND="dev-util/rocm-cmake |
39 |
+ >=dev-util/cmake-3.22 |
40 |
test? ( dev-cpp/gtest )" |
41 |
|
42 |
S="${WORKDIR}/hipSPARSE-rocm-${PV}" |
43 |
@@ -91,7 +92,6 @@ src_configure() { |
44 |
-DCMAKE_SKIP_RPATH="ON" |
45 |
-DCMAKE_INSTALL_INCLUDEDIR=include/hipsparse |
46 |
${AMDGPU_TARGETS+-DAMDGPU_TARGETS="${AMDGPU_TARGETS}"} |
47 |
- -D__skip_rocmclang="ON" ## fix cmake-3.21 configuration issue caused by officialy support programming language "HIP" |
48 |
) |
49 |
|
50 |
cmake_src_configure |