Last active
May 31, 2023 03:24
Revisions
-
shtirlic revised this gist
May 31, 2023 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -12,7 +12,10 @@ depends=" " makedepends=" cmake ninja libdrm-dev ncurses-dev ncurses-libs " checkdepends="" install="" -
shtirlic created this gist
May 26, 2023 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,53 @@ # Maintainer: Serg Podtynnyi <serg@podtynnyi.com> pkgname=nvtop pkgver=3.0.2 pkgrel=1 pkgdesc="GPUs process monitoring for AMD, Intel,NVIDIA and Adreno" url="https://github.com/Syllo/nvtop" arch="aarch64" license="GPL3" depends=" ncurses libdrm " makedepends=" cmake libdrm-dev " checkdepends="" install="" subpackages="$pkgname-doc" #source="https://github.com/Syllo/nvtop/archive/$pkgver/$pkgname-$pkgver.tar.gz" source="https://github.com/Syllo/nvtop/archive/refs/heads/master.zip" #builddir="$srcdir/$pkgname-$pkgver" builddir="$srcdir/$pkgname-master" build() { if [ "$CBUILD" != "$CHOST" ]; then CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux" fi cmake -B build -G Ninja \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_SHARED_LIBS=ON \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DINTEL_SUPPORT=OFF \ -DAMDGPU_SUPPORT=OFF \ -DNVIDIA_SUPPORT=OFF \ -DMSM_SUPPORT=ON \ $CMAKE_CROSSOPTS cmake --build build } check() { ctest --test-dir build --output-on-failure } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 70caf9efd1bf7718e53094cb6ebef4910e32991f9ea094e2cf99f549f7c0397c10ce06793fdcf8db8d9a2980891a41b6270fbf2cc9ec2fc7f5a5d6206871a792 master.zip "