mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-12 18:59:50 +03:00
testing/amdgpu_top: new aport
amdgpu_top shows gpu usage and memory usage for AMDGPU devices. See: https://github.com/Umio-Yasuno/amdgpu_top
This commit is contained in:
parent
0aee46b160
commit
e5613172b5
1 changed files with 36 additions and 0 deletions
36
testing/amdgpu_top/APKBUILD
Normal file
36
testing/amdgpu_top/APKBUILD
Normal file
|
@ -0,0 +1,36 @@
|
|||
maintainer="Hugo Osvaldo Barrera <hugo@whynothugo.nl>"
|
||||
pkgname=amdgpu_top
|
||||
pkgver=0.10.5
|
||||
pkgrel=0
|
||||
pkgdesc="Tool to display AMDGPU usage"
|
||||
url="https://github.com/Umio-Yasuno/amdgpu_top"
|
||||
# x86, armv7, armhf: https://github.com/Umio-Yasuno/amdgpu_top/issues/130
|
||||
arch="all !x86 !armv7 !armhf"
|
||||
license="MIT"
|
||||
makedepends="libdrm-dev cargo-auditable"
|
||||
subpackages="$pkgname-doc"
|
||||
source="amdgpu_top-$pkgver.tar.gz::https://github.com/Umio-Yasuno/amdgpu_top/archive/refs/tags/v$pkgver.tar.gz"
|
||||
options="net" # fetch dependencies
|
||||
|
||||
prepare() {
|
||||
default_prepare
|
||||
|
||||
cargo fetch --target="$CTARGET" --locked
|
||||
}
|
||||
|
||||
build() {
|
||||
cargo auditable build --target="$CTARGET" --release --frozen
|
||||
}
|
||||
|
||||
check() {
|
||||
cargo test --frozen
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm755 -t "$pkgdir"/usr/bin/ target/$CTARGET/release/amdgpu_top
|
||||
install -Dm 644 docs/amdgpu_top.1 -t "$pkgdir"/usr/share/man/man1/
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
e312ac5e23b68b509ae0eec12b339aaaa80a0496a50f9fba528945fa00e23c74d8d84aa22204085960c2912f6d4d4c15c081bf6aaea3f7bf63b51b10d8476503 amdgpu_top-0.10.5.tar.gz
|
||||
"
|
Loading…
Add table
Add a link
Reference in a new issue