Date: Friday, January 20, 2023 @ 07:19:14
  Author: tpkessler
Revision: 1387079

archrelease: copy trunk to community-testing-x86_64

Added:
  hsa-rocr/repos/community-testing-x86_64/PKGBUILD
    (from rev 1387078, hsa-rocr/trunk/PKGBUILD)
Deleted:
  hsa-rocr/repos/community-testing-x86_64/PKGBUILD

----------+
 PKGBUILD |   86 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 43 insertions(+), 43 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-01-20 07:19:02 UTC (rev 1387078)
+++ PKGBUILD    2023-01-20 07:19:14 UTC (rev 1387079)
@@ -1,43 +0,0 @@
-# Maintainer: Torsten Keßler <tpkessler at archlinux dot org>
-# Contributor: acxz <akashpatel2008 at yahoo dot com>
-# Contributor: Olaf Leidinger <[email protected]>
-# Contributor: Bruno Filipe <[email protected]>
-# Contributor: Jakub Okoński <[email protected]>
-# Contributor: Ranieri Althoff <ranisalt+aur at gmail.com>
-
-pkgname=hsa-rocr
-pkgver=5.4.2
-pkgrel=1
-pkgdesc='HSA Runtime API and runtime for ROCm'
-arch=('x86_64')
-url='https://rocmdocs.amd.com/en/latest/Installation_Guide/ROCR-Runtime.html'
-license=('custom:NCSAOSL')
-depends=('libelf' 'hsakmt-roct' 'rocm-device-libs')
-makedepends=('cmake' 'rocm-llvm' 'xxd')
-_git='https://github.com/RadeonOpenCompute/ROCR-Runtime'
-source=("${pkgname}-${pkgver}.tar.gz::$_git/archive/rocm-$pkgver.tar.gz")
-sha256sums=('79dd9c44d6680c41c00083be87e6a97f24ee5b442c7fad84f0aa97dda26600ab')
-_dirname="$(basename "$_git")-$(basename "${source[0]}" .tar.gz)"
-options=(!lto)
-
-build() {
-  # Silence warnings on optional libraries,
-  # 
https://github.com/RadeonOpenCompute/ROCR-Runtime/issues/89#issuecomment-613788944
-  CXXFLAGS="$CXXFLAGS -DNDEBUG" \
-  cmake \
-    -Wno-dev \
-    -B build \
-    -S "$_dirname/src" \
-    -DCMAKE_BUILD_TYPE=None \
-    -DCMAKE_INSTALL_PREFIX=/opt/rocm \
-    -DCMAKE_PREFIX_PATH=/opt/rocm
-  cmake --build build
-}
-
-package() {
-  DESTDIR="$pkgdir" cmake --install build
-
-  install -Dm644 "$_dirname/LICENSE.txt" 
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-  echo "/opt/rocm/hsa/lib" > "$pkgname.conf"
-  install -Dm644 "$pkgname.conf" "$pkgdir/etc/ld.so.conf.d/$pkgname.conf"
-}

Copied: hsa-rocr/repos/community-testing-x86_64/PKGBUILD (from rev 1387078, 
hsa-rocr/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-01-20 07:19:14 UTC (rev 1387079)
@@ -0,0 +1,43 @@
+# Maintainer: Torsten Keßler <tpkessler at archlinux dot org>
+# Contributor: acxz <akashpatel2008 at yahoo dot com>
+# Contributor: Olaf Leidinger <[email protected]>
+# Contributor: Bruno Filipe <[email protected]>
+# Contributor: Jakub Okoński <[email protected]>
+# Contributor: Ranieri Althoff <ranisalt+aur at gmail.com>
+
+pkgname=hsa-rocr
+pkgver=5.4.2
+pkgrel=2
+pkgdesc='HSA Runtime API and runtime for ROCm'
+arch=('x86_64')
+url='https://rocmdocs.amd.com/en/latest/Installation_Guide/ROCR-Runtime.html'
+license=('custom:NCSAOSL')
+depends=('libelf' 'hsakmt-roct' 'rocm-device-libs')
+makedepends=('cmake' 'rocm-llvm' 'xxd')
+_git='https://github.com/RadeonOpenCompute/ROCR-Runtime'
+source=("${pkgname}-${pkgver}.tar.gz::$_git/archive/rocm-$pkgver.tar.gz")
+sha256sums=('79dd9c44d6680c41c00083be87e6a97f24ee5b442c7fad84f0aa97dda26600ab')
+_dirname="$(basename "$_git")-$(basename "${source[0]}" .tar.gz)"
+options=(!lto)
+
+build() {
+  # Silence warnings on optional libraries,
+  # 
https://github.com/RadeonOpenCompute/ROCR-Runtime/issues/89#issuecomment-613788944
+  CXXFLAGS="$CXXFLAGS -DNDEBUG" \
+  cmake \
+    -Wno-dev \
+    -B build \
+    -S "$_dirname/src" \
+    -DCMAKE_BUILD_TYPE=None \
+    -DCMAKE_INSTALL_PREFIX=/opt/rocm \
+    -DCMAKE_PREFIX_PATH=/opt/rocm
+  cmake --build build
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+
+  install -Dm644 "$_dirname/LICENSE.txt" 
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  echo "/opt/rocm/hsa/lib" > "$pkgname.conf"
+  install -Dm644 "$pkgname.conf" "$pkgdir/etc/ld.so.conf.d/$pkgname.conf"
+}

Reply via email to