commit:     4bae0b69319ea590ed6f0850b3405a406cf1e975
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 18 11:21:28 2022 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Dec 19 14:00:03 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bae0b69

sci-libs/hipCUB: drop 4.0.0-r1, 4.3.0-r1

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 sci-libs/hipCUB/Manifest               |  2 -
 sci-libs/hipCUB/hipCUB-4.0.0-r1.ebuild | 47 ---------------------
 sci-libs/hipCUB/hipCUB-4.3.0-r1.ebuild | 74 ----------------------------------
 3 files changed, 123 deletions(-)

diff --git a/sci-libs/hipCUB/Manifest b/sci-libs/hipCUB/Manifest
index 72e40f7df9d6..09237769ce17 100644
--- a/sci-libs/hipCUB/Manifest
+++ b/sci-libs/hipCUB/Manifest
@@ -1,4 +1,2 @@
-DIST hipCUB-4.0.0.tar.gz 137513 BLAKE2B 
b7ef4d53037fba04771162ae8993def648f5e1401654286ffc6987bbb4b25baa1b1b14bc37035e1afe46eeffe3e564f244e339cdfd0e5a242574d248bf4683db
 SHA512 
e778b94c86e09bf3b0bc043fb15ed8725387b875e8631a7e8599aee8da2d8085190effc9681d742fc0d286cc0c20762341f1f24699c8a52e9734611c716530d5
-DIST hipCUB-4.3.0.tar.gz 154097 BLAKE2B 
68a46f1416c969e4bf8e245c2aa8aee626f1e8089182ffb8f5090d540efe98606a616499d52b14da3733b3a6f4da690ea1718ea58fb6166351f4b4807f1b8228
 SHA512 
7c0abcf034d885615a9a4f05e6ca906e99b0ffbe36ae3d4b9d9d79b01d21077dc86be659548b45dad8498b84bec24dc0a5be78040c1ab21ca458d22fa7fae43d
 DIST hipCUB-5.0.2.tar.gz 243032 BLAKE2B 
68256c0868bd23dbd78075ab286fc0738dc90f330a7e99186803e7920b3366f5608986dd9e3f4c5a045f9ec3f2461a66ab5b708d5d1d3fc748d042dd929a7993
 SHA512 
ae4d55fcf513eb5dd1316e335a0de30f6098eba70e877b41905bc59f3fb500ad9a46a28de77b74b914a15ffc38ad5c5f4dbdf36139505c26b94c43ffa5c90e01
 DIST hipCUB-5.1.3.tar.gz 278021 BLAKE2B 
f30e567370fea80ef63a455c2c27b3f4ff241e7e405688fa4dc33d1e0ce3dffb016a1a1523b20613a7963bff061758eac0c0d110243a9a6cedbc100bb087d7d4
 SHA512 
dd3ca341b78cf6985ba723feeeb560c0503ab283b63067e9a5e68d12ad42f752a7f56fd60f0f0c26c2853538853e09a102cfc6006c18c31c3162fa7b536ffb9f

diff --git a/sci-libs/hipCUB/hipCUB-4.0.0-r1.ebuild 
b/sci-libs/hipCUB/hipCUB-4.0.0-r1.ebuild
deleted file mode 100644
index 922c5df9c8ab..000000000000
--- a/sci-libs/hipCUB/hipCUB-4.0.0-r1.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake
-
-DESCRIPTION="A thin wrapper library on top of rocPRIM or CUB"
-HOMEPAGE="https://github.com/ROCmSoftwarePlatform/hipCUB";
-SRC_URI="https://github.com/ROCmSoftwarePlatform/hipCUB/archive/rocm-${PV}.tar.gz
 -> hipCUB-${PV}.tar.gz"
-
-LICENSE="BSD"
-KEYWORDS="~amd64"
-SLOT="0"
-
-RDEPEND="=dev-util/hip-$(ver_cut 1-2)*
-       =sci-libs/rocPRIM-${PV}*"
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/hipCUB-rocm-${PV}"
-
-src_prepare() {
-       sed -e "/PREFIX hipcub/d" \
-               -e "/DESTINATION/s:hipcub/include/:include/:" \
-               -e "/rocm_install_symlink_subdir(hipcub)/d" \
-               -e "/<INSTALL_INTERFACE/s:hipcub/include/:include/hipcub/:" -i 
hipcub/CMakeLists.txt || die
-
-       sed     -e "s:\${ROCM_INSTALL_LIBDIR}:\${CMAKE_INSTALL_LIBDIR}:" -i 
cmake/ROCMExportTargetsHeaderOnly.cmake || die
-
-       eapply_user
-       cmake_src_prepare
-}
-
-src_configure() {
-       # Grant access to the device
-       addwrite /dev/kfd
-       addpredict /dev/dri/
-
-       # Compiler to use
-       export CXX=hipcc
-
-       local mycmakeargs=(
-               -DBUILD_TEST=OFF
-       )
-
-       cmake_src_configure
-}

diff --git a/sci-libs/hipCUB/hipCUB-4.3.0-r1.ebuild 
b/sci-libs/hipCUB/hipCUB-4.3.0-r1.ebuild
deleted file mode 100644
index 65b61c2352cc..000000000000
--- a/sci-libs/hipCUB/hipCUB-4.3.0-r1.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake
-
-DESCRIPTION="Wrapper of rocPRIM or CUB for GPU parallel primitives"
-HOMEPAGE="https://github.com/ROCmSoftwarePlatform/hipCUB";
-SRC_URI="https://github.com/ROCmSoftwarePlatform/hipCUB/archive/rocm-${PV}.tar.gz
 -> hipCUB-${PV}.tar.gz"
-
-LICENSE="BSD"
-KEYWORDS="~amd64"
-SLOT="0/$(ver_cut 1-2)"
-IUSE="benchmark test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="dev-util/hip
-       sci-libs/rocPRIM:${SLOT}
-       benchmark? ( dev-cpp/benchmark )"
-DEPEND="${RDEPEND}"
-BDEPEND="test? ( dev-cpp/gtest )"
-
-S="${WORKDIR}/hipCUB-rocm-${PV}"
-
-PATCHES="${FILESDIR}/${PN}-4.3.0-add-memory-header.patch"
-
-src_prepare() {
-       sed -e "/PREFIX hipcub/d" \
-               -e "/DESTINATION/s:hipcub/include/:include/:" \
-               -e "/rocm_install_symlink_subdir(hipcub)/d" \
-               -e "/<INSTALL_INTERFACE/s:hipcub/include/:include/hipcub/:" -i 
hipcub/CMakeLists.txt || die
-
-       sed     -e "s:\${ROCM_INSTALL_LIBDIR}:\${CMAKE_INSTALL_LIBDIR}:" -i 
cmake/ROCMExportTargetsHeaderOnly.cmake || die
-
-       # disable downloading googletest and googlebenchmark
-       sed  -r -e '/Downloading/{:a;N;/\n *\)$/!ba; d}' -i 
cmake/Dependencies.cmake || die
-
-       # remove GIT dependency
-       sed  -r -e '/find_package\(Git/{:a;N;/\nendif/!ba; d}' -i 
cmake/Dependencies.cmake || die
-
-       if use benchmark; then
-               sed -e 
"/get_filename_component/s,\${BENCHMARK_SOURCE},${PN}_\${BENCHMARK_SOURCE}," \
-                       -e "/add_executable/a\  install(TARGETS 
\${BENCHMARK_TARGET})" -i benchmark/CMakeLists.txt || die
-       fi
-
-       eapply_user
-       cmake_src_prepare
-}
-
-src_configure() {
-       # Grant access to the device
-       addwrite /dev/kfd
-       addpredict /dev/dri/
-
-       # Compiler to use
-       export CXX=hipcc
-
-       local mycmakeargs=(
-               -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
-}
-
-src_test() {
-       # Grant access to the device
-       addwrite /dev/kfd
-       addwrite /dev/dri/
-       cmake_src_test
-}

Reply via email to