Date: Saturday, May 6, 2023 @ 10:53:20
  Author: tpkessler
Revision: 1458988

archrelease: copy trunk to community-staging-x86_64

Added:
  rocminfo/repos/community-staging-x86_64/
  rocminfo/repos/community-staging-x86_64/PKGBUILD
    (from rev 1458987, rocminfo/trunk/PKGBUILD)
  rocminfo/repos/community-staging-x86_64/test.sh
    (from rev 1458987, rocminfo/trunk/test.sh)

----------+
 PKGBUILD |   37 +++++++++++++++++++++++++++++++++++++
 test.sh  |    3 +++
 2 files changed, 40 insertions(+)

Copied: rocminfo/repos/community-staging-x86_64/PKGBUILD (from rev 1458987, 
rocminfo/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2023-05-06 10:53:20 UTC (rev 1458988)
@@ -0,0 +1,37 @@
+# Maintainer: Torsten Keßler <tpkessler at archlinux dot org>
+# Contributor: Markus Näther <[email protected]>
+# Contributor: Jakub Okoński <[email protected]>
+# Contributor: Ranieri Althoff <ranisalt+aur at gmail.com>
+# Contributor: acxz <akashpatel2008 at yahoo dot com>
+
+pkgname=rocminfo
+pkgver=5.5.0
+pkgrel=1
+pkgdesc='ROCm Application for Reporting System Info '
+arch=('x86_64')
+url='https://github.com/RadeonOpenCompute/rocminfo'
+license=('custom:NCSAOSL')
+depends=('pciutils' 'python' 'hsa-rocr')
+makedepends=('rocm-cmake')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/rocm-$pkgver.tar.gz")
+sha256sums=('b6107d362b70e20a10911741eb44247139b4eb43489f7fa648daff880b6de37f')
+_dirname="$(basename "$url")-$(basename "${source[0]}" .tar.gz)"
+
+build() {
+  # ROCRTST_BLD_TYPE=Release fixes a build error regarding _FORTIFY_SOURCE=2
+  cmake \
+    -Wno-dev \
+    -B build \
+    -S "$_dirname" \
+    -DCMAKE_PREFIX_PATH=/opt/rocm \
+    -DROCRTST_BLD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/opt/rocm \
+    -DCMAKE_INSTALL_LIBDIR=lib
+  cmake --build build
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+
+  install -Dm644 "$_dirname/License.txt" 
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}

Copied: rocminfo/repos/community-staging-x86_64/test.sh (from rev 1458987, 
rocminfo/trunk/test.sh)
===================================================================
--- community-staging-x86_64/test.sh                            (rev 0)
+++ community-staging-x86_64/test.sh    2023-05-06 10:53:20 UTC (rev 1458988)
@@ -0,0 +1,3 @@
+#! /usr/bin/env sh
+
+/opt/rocm/bin/rocminfo

Reply via email to