commit:     cafbd53363901aa5a5629adc8fe709a456311ace
Author:     YiyangWu <xgreenlandforwyy <AT> gmail <DOT> com>
AuthorDate: Tue Dec 21 03:10:38 2021 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Sun Mar 20 08:57:07 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cafbd533

sci-libs/rocPRIM: remove unused cmake variable

__skip_rocmclang is used to avoid configuration error for
cmake-3.21.(1|2), which don't exist among ebuilds anymore, so this flag
is not recognized.

Closes: https://github.com/gentoo/gentoo/pull/23447
Closes: https://bugs.gentoo.org/829075
Package-Manager: Portage-3.0.22, Repoman-3.0.3
Signed-off-by: Yiyang Wu <xgreenlandforwyy <AT> gmail.com>
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>

 sci-libs/rocPRIM/{rocPRIM-4.3.0.ebuild => rocPRIM-4.3.0-r1.ebuild} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-libs/rocPRIM/rocPRIM-4.3.0.ebuild 
b/sci-libs/rocPRIM/rocPRIM-4.3.0-r1.ebuild
similarity index 92%
rename from sci-libs/rocPRIM/rocPRIM-4.3.0.ebuild
rename to sci-libs/rocPRIM/rocPRIM-4.3.0-r1.ebuild
index 98f626fe7f9a..0e7bba7b2a7c 100644
--- a/sci-libs/rocPRIM/rocPRIM-4.3.0.ebuild
+++ b/sci-libs/rocPRIM/rocPRIM-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
@@ -17,6 +17,7 @@ IUSE="benchmark test"
 RDEPEND="dev-util/hip:${SLOT}
        benchmark? ( dev-cpp/benchmark )"
 BDEPEND="dev-util/rocm-cmake:${SLOT}
+       >=dev-util/cmake-3.22
        test? ( dev-cpp/gtest )"
 DEPEND="${RDEPEND}"
 
@@ -63,7 +64,6 @@ src_configure() {
                -DBUILD_TEST=$(usex test ON OFF)
                -DBUILD_BENCHMARK=$(usex benchmark ON OFF)
                ${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