dev-util/rocm-smi: drop 5.4.2-r1, 5.7.1-r2

Signed-off-by: Sv. Lockal <lockalsash@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sv. Lockal
2025-01-30 14:54:19 +00:00
committed by Sam James
parent 9a3bbeac99
commit 0f2a19218d
4 changed files with 0 additions and 138 deletions

View File

@@ -1,4 +1,3 @@
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
DIST rocm-smi-6.3.0.tar.gz 902989 BLAKE2B d17a60fd7ea39b2a18828891f50f22efe6a3f875d4f68efd204c49e1f761c690420218852464856f80a6a82eb68cae58c0cb0353c277a621a0a037b1d1a14055 SHA512 2e5079f8387872c126908211f2ceea1d5ba6e4e3e7dc487c1e45387f57e158b0e3ea071cbeaba2f8ffdf70fc6708c33fa19305812e81dbe13335bd7c99638b0e

View File

@@ -1,19 +0,0 @@
https://github.com/RadeonOpenCompute/rocm_smi_lib/pull/107
https://bugs.gentoo.org/840149
From 447bf22557c875ca7d26a72d20561feb607ed300 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Torsten=20Ke=C3=9Fler?= <t.kessler@posteo.de>
Date: Fri, 13 May 2022 11:33:11 +0200
Subject: [PATCH] Add missing string header for memcpy
--- a/src/rocm_smi_gpu_metrics.cc
+++ b/src/rocm_smi_gpu_metrics.cc
@@ -53,6 +53,7 @@
#include <regex> // NOLINT
#include <vector>
#include <pthread.h>
+#include <string.h>
#include "rocm_smi/rocm_smi_common.h" // Should go before rocm_smi.h
#include "rocm_smi/rocm_smi_main.h"

View File

@@ -1,58 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..12} )
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
"${FILESDIR}"/${PN}-5.4.2-fix-readonly-object.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
}

View File

@@ -1,60 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
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)"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="${PYTHON_DEPS}"
S="${WORKDIR}/rocm_smi_lib-rocm-${PV}"
PATCHES=(
"${FILESDIR}"/${PN}-5.7.1-set-soversion.patch
"${FILESDIR}"/${PN}-5.7.1-no-strip.patch
"${FILESDIR}"/${PN}-5.7.1-remove-example.patch
"${FILESDIR}"/${PN}-5.4.2-detect-builtin-amdgpu.patch
)
src_prepare() {
cmake_src_prepare
sed "s/\${PKG_VERSION_STR}/${PV}/" -i CMakeLists.txt || die
sed -e "s/@VERSION_MAJOR@/$(ver_cut 1)/ ; s/@VERSION_MINOR@/$(ver_cut 2)/" \
-i oam/CMakeLists.txt -i rocm_smi/CMakeLists.txt || die
}
src_configure() {
local mycmakeargs=(
-DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr"
-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
mv "${ED}"/usr/share/doc/rocm_smi "${ED}"/usr/share/doc/${PF} || die
}