* update rocminfo to 6.2.2-1

This commit is contained in:
Alexander Baldeck 2024-11-17 10:56:00 +01:00
parent 447c42bf8a
commit a9f7df8e40
3 changed files with 30 additions and 11 deletions

22
rocminfo/.SRCINFO Normal file
View File

@ -0,0 +1,22 @@
pkgbase = rocminfo
pkgdesc = ROCm Application for Reporting System Info
pkgver = 6.2.2
pkgrel = 1
url = https://github.com/ROCm/rocminfo
arch = x86_64
arch = powerpc64le
arch = powerpc64
arch = riscv64
license = NCSA
makedepends = cmake
makedepends = rocm-cmake
depends = rocm-core
depends = glibc
depends = gcc-libs
depends = pciutils
depends = python
depends = hsa-rocr
source = rocminfo-6.2.2.tar.gz::https://github.com/ROCm/rocminfo/archive/rocm-6.2.2.tar.gz
sha256sums = 3b8a979edfcfff9d53decba45dd36837965d3080d1d55e880d67d4d1f56b11d4
pkgname = rocminfo

5
rocminfo/.nvchecker.toml Normal file
View File

@ -0,0 +1,5 @@
[rocminfo]
source = 'github'
github = 'ROCm/rocminfo'
use_latest_release = true
prefix = 'rocm-'

View File

@ -6,8 +6,8 @@
# Contributor: acxz <akashpatel2008 at yahoo dot com>
pkgname=rocminfo
pkgver=6.0.2
pkgrel=1.1
pkgver=6.2.2
pkgrel=1
pkgdesc='ROCm Application for Reporting System Info '
arch=(x86_64 powerpc64le powerpc64 riscv64)
url='https://github.com/ROCm/rocminfo'
@ -15,17 +15,9 @@ license=('NCSA')
depends=('rocm-core' 'glibc' 'gcc-libs' 'pciutils' 'python' 'hsa-rocr')
makedepends=('cmake' 'rocm-cmake')
source=("$pkgname-$pkgver.tar.gz::$url/archive/rocm-$pkgver.tar.gz")
sha256sums=('e616d364a48de18eaee661bdce999d095086905f49777663ca99312f40a63da1')
sha256sums=('3b8a979edfcfff9d53decba45dd36837965d3080d1d55e880d67d4d1f56b11d4')
_dirname="$(basename "$url")-$(basename "${source[0]}" .tar.gz)"
prepare() {
cd $_dirname
# our toolchain does not need m64
if [ "${CARCH}" == 'riscv64' ]; then
sed '/set(ROCMINFO_CXX_FLAGS ${ROCMINFO_CXX_FLAGS} -m64)/d' -i CMakeLists.txt
fi
}
build() {
# ROCRTST_BLD_TYPE=Release fixes a build error regarding _FORTIFY_SOURCE=2
local cmake_args=(