commit:     cd62673fa29da0f8bdaced597fdfeb3df23168d0
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Sun May  1 09:18:38 2022 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Sun May  1 09:22:15 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd62673f

sci-libs/hipSPARSE: remove unused cmake variable

__skip_rocmclang was used to avoid configuration error for
cmake-3.21.(1|2), which don't exist among ebuilds anymore.

Closes: https://bugs.gentoo.org/829077
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>

 .../hipSPARSE/{hipSPARSE-4.3.0.ebuild => hipSPARSE-4.3.0-r1.ebuild} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sci-libs/hipSPARSE/hipSPARSE-4.3.0.ebuild 
b/sci-libs/hipSPARSE/hipSPARSE-4.3.0-r1.ebuild
similarity index 94%
rename from sci-libs/hipSPARSE/hipSPARSE-4.3.0.ebuild
rename to sci-libs/hipSPARSE/hipSPARSE-4.3.0-r1.ebuild
index 99acf36c8593..9acb3016c001 100644
--- a/sci-libs/hipSPARSE/hipSPARSE-4.3.0.ebuild
+++ b/sci-libs/hipSPARSE/hipSPARSE-4.3.0-r1.ebuild
@@ -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
@@ -42,7 +42,8 @@ RDEPEND="dev-util/rocminfo:${SLOT}
                dev-util/hip:${SLOT}
                sci-libs/rocSPARSE:${SLOT}"
 DEPEND="${RDEPEND}"
-BDEPEND="dev-util/rocm-cmake:${SLOT}
+BDEPEND="dev-util/rocm-cmake
+       >=dev-util/cmake-3.22
        test? ( dev-cpp/gtest )"
 
 S="${WORKDIR}/hipSPARSE-rocm-${PV}"
@@ -91,7 +92,6 @@ src_configure() {
                -DCMAKE_SKIP_RPATH="ON"
                -DCMAKE_INSTALL_INCLUDEDIR=include/hipsparse
                ${AMDGPU_TARGETS+-DAMDGPU_TARGETS="${AMDGPU_TARGETS}"}
-               -D__skip_rocmclang="ON" ## fix cmake-3.21 configuration issue 
caused by officialy support programming language "HIP"
        )
 
        cmake_src_configure

Reply via email to