summaryrefslogtreecommitdiff
path: root/dev-util/rocminfo
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-02-01 15:05:02 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-02-01 15:05:02 +0000
commite523ebcd50638ebe53f8f425d126bfa7385703b5 (patch)
treea8202f9224bd577afe09c919786f8836cf4a2a7c /dev-util/rocminfo
parentd88834e7a12432c4e2d04ca7e938a66e25811f89 (diff)
gentoo auto-resync : 01:02:2023 - 15:05:01
Diffstat (limited to 'dev-util/rocminfo')
-rw-r--r--dev-util/rocminfo/Manifest3
-rw-r--r--dev-util/rocminfo/files/rocminfo-4.3.0-detect-builtin-amdgpu.patch25
-rw-r--r--dev-util/rocminfo/rocminfo-5.0.2.ebuild30
3 files changed, 0 insertions, 58 deletions
diff --git a/dev-util/rocminfo/Manifest b/dev-util/rocminfo/Manifest
index 2f349df21c0b..d5ffe634ddee 100644
--- a/dev-util/rocminfo/Manifest
+++ b/dev-util/rocminfo/Manifest
@@ -1,9 +1,6 @@
-AUX rocminfo-4.3.0-detect-builtin-amdgpu.patch 936 BLAKE2B f4011201ae5cd4ecd495caa72b3b8e1eda5011265394388eea558479f7aceacf22193a0774f5a9919380b770429d1f40d056c1efde535f5db73bbb6e0d705d33 SHA512 78d075a8640a5223f914390e957fda4ec0297266fbda5837d339560732bd8aac5c46365b1b00cbe4650007d3ca94c711fc838849d74ce0dc4b9fcebc18a7fadb
AUX rocminfo-5.1.3-detect-builtin-amdgpu.patch 1720 BLAKE2B 990b0bfd101fbe41e7dfda85f88d18763371f7c9cdc46ac10a5c695c45d8e29c08f1444b44524ba0917489b89d4906498c81e9e8d805f5ab9b98e2160a394799 SHA512 c193cc7f72df6cc8d5118f1f55ae184f8d80083aee255efb64762b4f0cc00f2c8973515617630dd8267dc1053cac4d1773683870563c29000eb4fd32a7f54e78
-DIST rocminfo-5.0.2.tar.gz 15767 BLAKE2B 4617e4df51cc0b02d1743e655491600510e4f9fc22ef47612aa69bc311e7dc3979b0063c650d9a4fee0124be404b92c110dc9db056a554ee25ba3d4bfd12f618 SHA512 dd02837e621a414b54ef50b52ca816509ffa8b613e7de5f8b09449c5fc543dee054860a2245462008f687683af48203b6d2080fe71bf6e3654981d6bfd56e254
DIST rocminfo-5.1.3.tar.gz 16772 BLAKE2B 1b35661f9e6cd8cd5180ef3e4fd3dd8e7d6b282947d25c81b0b8bd347a5bee11cf87d950bbd8adcbd7a8a3053c41622b8e99fc0b56f4a14bdf4acf20992becc7 SHA512 998d499b0ae9a22bde30b2c26e31587a78b5ed63a19649d5b203eb47a044f17d1d4d3e951ec094d5be1ca3ba37efa4b19f5b53047727158170fa90c13a8c7563
DIST rocminfo-5.3.3.tar.gz 16829 BLAKE2B 341908048b9726a22ab5e81317916166d4ba114c5060fd8b7b455e0f4df3857b16a735cfccce2d013cd6632680e29b2e0c9ef91461d46b7e94dc71b0751aa42e SHA512 336a408eb49eb8d40b506f58d62de3fd406d00b0de169bc3f6176c76f1f50366347d212de8783b5c48ae1b6660d307b276ba6b3bac8d8286f5e93cfe739c4dae
-EBUILD rocminfo-5.0.2.ebuild 788 BLAKE2B adf51ef812b52a6a5e81086b9561e76f0b04b36e304bfbbbc3dbbb7cfae1515b298e58f3644c371511115cfface8f70416aa32b2605de56e0549c3851e194263 SHA512 e3a5a2babe283f645d2c614381ea6e724dda8ace49449a1777ac8dafa98bc3f59947d8c8b65f2cf31d35be393a44f03947957d2c8a6f23e4fdab76beabfbbf28
EBUILD rocminfo-5.1.3.ebuild 916 BLAKE2B acf34ad534cdafdf9409ee3f357ab47b01238e39b23bb10da0be48421a40bb7800a485643787ae446916833ac625ef59a8f1b10f714ed1bd68464ffd65a2d58c SHA512 cb8b43112fd94df38c4b4c47b1aa2a8cdb9b319e605ec64a7d615ebabf53bee850643f8d47b2445cb54531285cf3cdcc18b734898f1e9da65203960f7a6ae251
EBUILD rocminfo-5.3.3.ebuild 916 BLAKE2B acf34ad534cdafdf9409ee3f357ab47b01238e39b23bb10da0be48421a40bb7800a485643787ae446916833ac625ef59a8f1b10f714ed1bd68464ffd65a2d58c SHA512 cb8b43112fd94df38c4b4c47b1aa2a8cdb9b319e605ec64a7d615ebabf53bee850643f8d47b2445cb54531285cf3cdcc18b734898f1e9da65203960f7a6ae251
EBUILD rocminfo-9999.ebuild 606 BLAKE2B 74046413f39f646c076f8cbc9d0a5d1373c3be8e303bd50767d6019d3b1a58a06d05ef0dbdacdcd079aeb519c28fc163c38246608024b9fc4225c99051d3b6df SHA512 20dcaa312421446d3ee1882f85babfdfd51a51dd598eae824b36d7fc8969da717f05685d436c59b61d2d1744479672a4de544667379a7fb9163c5e9637fab70c
diff --git a/dev-util/rocminfo/files/rocminfo-4.3.0-detect-builtin-amdgpu.patch b/dev-util/rocminfo/files/rocminfo-4.3.0-detect-builtin-amdgpu.patch
deleted file mode 100644
index a01eb3ec3909..000000000000
--- a/dev-util/rocminfo/files/rocminfo-4.3.0-detect-builtin-amdgpu.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-/sys/module/amdgpu instead of lsmod for builtin amdgpu kernel module
-
-https://github.com/RadeonOpenCompute/rocminfo/pull/43
-https://github.com/RadeonOpenCompute/rocminfo/issues/42
---- a/rocminfo.cc
-+++ b/rocminfo.cc
-@@ -1035,14 +1035,15 @@ AcquireAndDisplayAgentInfo(hsa_agent_t agent, void* data) {
-
- int CheckInitialState(void) {
- // Check kernel module for ROCk is loaded
-- FILE *fd = popen("lsmod | grep amdgpu", "r");
-- char buf[16];
-- if (fread (buf, 1, sizeof (buf), fd) <= 0) {
-+ int module_dir;
-+ module_dir = open("/sys/module/amdgpu", O_DIRECTORY);
-+ if (module_dir < 0) {
- printf("%sROCk module is NOT loaded, possibly no GPU devices%s\n",
- COL_RED, COL_RESET);
- return -1;
- } else {
- printf("%sROCk module is loaded%s\n", COL_WHT, COL_RESET);
-+ close(module_dir);
- }
-
- // Check if user belongs to the group for /dev/kfd (e.g. "video" or
diff --git a/dev-util/rocminfo/rocminfo-5.0.2.ebuild b/dev-util/rocminfo/rocminfo-5.0.2.ebuild
deleted file mode 100644
index 1cbe2856e43a..000000000000
--- a/dev-util/rocminfo/rocminfo-5.0.2.ebuild
+++ /dev/null
@@ -1,30 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake
-
-if [[ ${PV} == *9999 ]] ; then
- EGIT_REPO_URI="https://github.com/RadeonOpenCompute/rocminfo/"
- inherit git-r3
-else
- SRC_URI="https://github.com/RadeonOpenCompute/rocminfo/archive/rocm-${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64"
- S="${WORKDIR}/rocminfo-rocm-${PV}"
-fi
-
-DESCRIPTION="ROCm Application for Reporting System Info"
-HOMEPAGE="https://github.com/RadeonOpenCompute/rocminfo"
-LICENSE="UoI-NCSA"
-SLOT="0/$(ver_cut 1-2)"
-
-RDEPEND=">=dev-libs/rocr-runtime-${PV}"
-DEPEND="${RDEPEND}"
-
-PATCHES=("${FILESDIR}/${PN}-4.3.0-detect-builtin-amdgpu.patch")
-
-src_prepare() {
- sed -e "/CPACK_RESOURCE_FILE_LICENSE/d" -i CMakeLists.txt || die
- cmake_src_prepare
-}