commit: 697769136ef3a93a24d98c3f179c74e9c6e48ef5
Author: NHOrus <jy6x2b32pie9 <AT> yahoo <DOT> com>
AuthorDate: Tue Jun 25 08:52:46 2024 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sat Jul 20 06:42:41 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69776913
dev-util/rocm-smi: drop 5.1.3-r1, 5.4.2
Signed-off-by: NHOrus <jy6x2b32pie9 <AT> yahoo.com>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
dev-util/rocm-smi/Manifest | 1 -
dev-util/rocm-smi/rocm-smi-5.1.3-r1.ebuild | 62 ------------------------------
dev-util/rocm-smi/rocm-smi-5.4.2.ebuild | 57 ---------------------------
3 files changed, 120 deletions(-)
diff --git a/dev-util/rocm-smi/Manifest b/dev-util/rocm-smi/Manifest
index 13768c7c3df6..e559d20e5876 100644
--- a/dev-util/rocm-smi/Manifest
+++ b/dev-util/rocm-smi/Manifest
@@ -1,4 +1,3 @@
-DIST rocm-smi-5.1.3.tar.gz 1701386 BLAKE2B
c5e779f5c33fec0b1b39b09c758dfadd3c24e28f15381593f2959e5c2fb9f49af3a7ca1f9ab7d6bf34c5af4fbe3f0c0ae20c6c049cbf9421a9184735bb4a64a2
SHA512
7bf7af2b42a035c298c2f9009b6123671af41f9ca1a50607cfa362f39dbd82ff88f8c13ece6c4edab585edadd9072ed096a400dd3850851e1beef3633a8eb14e
DIST rocm-smi-5.4.2.tar.gz 1553259 BLAKE2B
0560e115028caafb1d5dd8892cfa677431b792714ecd8c75f31451fa7685d1c7070cbd687c894d7eefd112de5e2df9aa7895aa57821db207dffc4e8890898638
SHA512
0fd651593df0ebbcb2c2327d030d2674efacdb6e883daa5a8adf733db2bde3e5d16dc304856221f4bb07a3cd834944ffcc7ebd689624f7ba24ffd6c262ba74b8
DIST rocm-smi-5.7.1.tar.gz 801646 BLAKE2B
b4799bbdaeb7203c16117cd30511d589a2b96e15801bb9f1382fe7a4d87d43e1d4b458d6923b6ebd602fdccba74bd65bcb98766dbd83c48fc3e02219be8c1022
SHA512
ad364278f137228a39108c93d482635137ea2724a5a39debb5b32329493ebf5c706dcf3863e2e24b6f0b6286f3877942277f5ae447446f155518972b957f7d9d
DIST rocm-smi-6.1.1.tar.gz 872628 BLAKE2B
35830fd0eb36688b3803bed2059f29ba4d8613112ae4cfff2e0a3b1d7afef9f0d77ec16771e2205ba351df0aa678c3b0d2436940b76d10d020f1a30d14d760e9
SHA512
3e31ff0d94e7f0ea650c985973b27107e3f7293b92857fbf2fe196b61632c530e95c3228ad7550d44f8ee9f5f1abfd17e5c2b19164759728fb6d4b0995455fa7
diff --git a/dev-util/rocm-smi/rocm-smi-5.1.3-r1.ebuild
b/dev-util/rocm-smi/rocm-smi-5.1.3-r1.ebuild
deleted file mode 100644
index 71783873843a..000000000000
--- a/dev-util/rocm-smi/rocm-smi-5.1.3-r1.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-
-inherit cmake python-r1
-
-DESCRIPTION="ROCm System Management Interface Library"
-HOMEPAGE="https://github.com/RadeonOpenCompute/rocm_smi_lib"
-
-if [[ ${PV} == *9999 ]] ; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/RadeonOpenCompute/rocm_smi_lib"
- EGIT_BRANCH="master"
-else
-
SRC_URI="https://github.com/RadeonOpenCompute/rocm_smi_lib/archive/rocm-${PV}.tar.gz
-> rocm-smi-${PV}.tar.gz"
- KEYWORDS="~amd64"
- S="${WORKDIR}/rocm_smi_lib-rocm-${PV}"
-fi
-
-LICENSE="MIT NCSA-AMD"
-SLOT="0/$(ver_cut 1-2)"
-IUSE=""
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DEPEND=""
-RDEPEND="${PYTHON_DEPS}"
-BDEPEND=""
-
-PATCHES=(
- "${FILESDIR}"/${PN}-5.0.2-gcc12-memcpy.patch
- "${FILESDIR}"/${PN}-5.1.3-detect-builtin-amdgpu.patch
-)
-
-src_prepare() {
- sed -e "/DESTINATION/s,\${OAM_NAME}/lib,$(get_libdir)," \
- -e "/DESTINATION/s,oam/include/oam,include/oam," -i
oam/CMakeLists.txt || die
- sed -e "/link DESTINATION/,+1d" \
- -e "/DESTINATION/s,\${ROCM_SMI}/lib,$(get_libdir)," \
- -e "/bindings_link/,+3d" \
- -e "/rsmiBindings.py/,+1d" \
- -e "/DESTINATION/s,rocm_smi/include/rocm_smi,include/rocm_smi,"
-i rocm_smi/CMakeLists.txt || die
- sed -e "/LICENSE.txt/d" -e
"s,\${ROCM_SMI}/lib/cmake,$(get_libdir)/cmake,g" -i CMakeLists.txt || die
- sed -e "/^path_librocm = /c\path_librocm =
'${EPREFIX}/usr/lib64/librocm_smi64.so'" -i python_smi_tools/rsmiBindings.py ||
die
- cmake_src_prepare
-}
-
-src_configure() {
- local mycmakeargs=(
- -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr"
- -DCMAKE_DISABLE_FIND_PACKAGE_LATEX=ON
- )
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
- python_foreach_impl python_newscript python_smi_tools/rocm_smi.py
rocm-smi
- python_foreach_impl python_domodule python_smi_tools/rsmiBindings.py
-}
diff --git a/dev-util/rocm-smi/rocm-smi-5.4.2.ebuild
b/dev-util/rocm-smi/rocm-smi-5.4.2.ebuild
deleted file mode 100644
index bc4f8b802371..000000000000
--- a/dev-util/rocm-smi/rocm-smi-5.4.2.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-
-inherit cmake python-r1
-
-DESCRIPTION="ROCm System Management Interface Library"
-HOMEPAGE="https://github.com/RadeonOpenCompute/rocm_smi_lib"
-
-if [[ ${PV} == *9999 ]] ; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/RadeonOpenCompute/rocm_smi_lib"
- EGIT_BRANCH="master"
-else
-
SRC_URI="https://github.com/RadeonOpenCompute/rocm_smi_lib/archive/rocm-${PV}.tar.gz
-> rocm-smi-${PV}.tar.gz"
- KEYWORDS="~amd64"
- S="${WORKDIR}/rocm_smi_lib-rocm-${PV}"
-fi
-
-LICENSE="MIT NCSA-AMD"
-SLOT="0/$(ver_cut 1-2)"
-IUSE=""
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DEPEND=""
-RDEPEND="${PYTHON_DEPS}"
-BDEPEND=""
-
-PATCHES=(
- "${FILESDIR}"/${PN}-5.0.2-gcc12-memcpy.patch
- "${FILESDIR}"/${PN}-5.4.2-detect-builtin-amdgpu.patch
-)
-
-src_prepare() {
- sed -e "/LICENSE.txt/d" -i CMakeLists.txt || die
- sed -e "/^path_librocm = /c\path_librocm =
'${EPREFIX}/usr/lib64/librocm_smi64.so'" \
- -i python_smi_tools/rsmiBindings.py || die
- cmake_src_prepare
-}
-
-src_configure() {
- local mycmakeargs=(
- -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr"
- -DCMAKE_DISABLE_FIND_PACKAGE_LATEX=ON
- -DFILE_REORG_BACKWARD_COMPATIBILITY=OFF
- )
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
- python_foreach_impl python_newscript python_smi_tools/rocm_smi.py
rocm-smi
- python_foreach_impl python_domodule python_smi_tools/rsmiBindings.py
-}