Date: Wednesday, February 8, 2023 @ 19:14:27
  Author: tpkessler
Revision: 1396519

archrelease: copy trunk to community-testing-x86_64

Added:
  hsa-rocr/repos/community-testing-x86_64/PKGBUILD
    (from rev 1396518, hsa-rocr/trunk/PKGBUILD)
  hsa-rocr/repos/community-testing-x86_64/hsa-rocr-glibcxx.patch
    (from rev 1396518, hsa-rocr/trunk/hsa-rocr-glibcxx.patch)
Deleted:
  hsa-rocr/repos/community-testing-x86_64/PKGBUILD
  hsa-rocr/repos/community-testing-x86_64/hsa-rocr-glibcxx.patch

------------------------+
 PKGBUILD               |  100 +++++++++++++++++++++++------------------------
 hsa-rocr-glibcxx.patch |   24 +++++------
 2 files changed, 62 insertions(+), 62 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-02-08 19:14:17 UTC (rev 1396518)
+++ PKGBUILD    2023-02-08 19:14:27 UTC (rev 1396519)
@@ -1,50 +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=4
-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"
-        "hsa-rocr-glibcxx.patch")
-sha256sums=('79dd9c44d6680c41c00083be87e6a97f24ee5b442c7fad84f0aa97dda26600ab'
-            '07a41e8a6b29d0baaea7b83c60d62b769d8ed738ed9c63acda43d7a3b466c393')
-_dirname="$(basename "$_git")-$(basename "${source[0]}" .tar.gz)"
-options=(!lto)
-
-prepare() {
-    cd "$_dirname"
-    patch -Np1 -i "$srcdir/hsa-rocr-glibcxx.patch"
-}
-
-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 1396518, 
hsa-rocr/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-02-08 19:14:27 UTC (rev 1396519)
@@ -0,0 +1,50 @@
+# 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.3
+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"
+        "hsa-rocr-glibcxx.patch")
+sha256sums=('a600eed848d47a7578c60da7e64eb92f29bbce2ec67932b251eafd4c2974cb67'
+            '07a41e8a6b29d0baaea7b83c60d62b769d8ed738ed9c63acda43d7a3b466c393')
+_dirname="$(basename "$_git")-$(basename "${source[0]}" .tar.gz)"
+options=(!lto)
+
+prepare() {
+    cd "$_dirname"
+    patch -Np1 -i "$srcdir/hsa-rocr-glibcxx.patch"
+}
+
+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"
+}

Deleted: hsa-rocr-glibcxx.patch
===================================================================
--- hsa-rocr-glibcxx.patch      2023-02-08 19:14:17 UTC (rev 1396518)
+++ hsa-rocr-glibcxx.patch      2023-02-08 19:14:27 UTC (rev 1396519)
@@ -1,12 +0,0 @@
-diff -aur a/src/core/runtime/runtime.cpp b/src/core/runtime/runtime.cpp
---- a/src/core/runtime/runtime.cpp     2022-12-14 22:47:12.000000000 +0800
-+++ b/src/core/runtime/runtime.cpp     2023-01-29 09:53:55.084690262 +0800
-@@ -1592,7 +1592,7 @@
-       }
-       if (!ld(&hsa_api_table_.hsa_api,
-         hsa_api_table_.hsa_api.version.major_id,
--        failed.size(), &failed[0])) {
-+        failed.size(), failed.data())) {
-           failed.push_back(lib.name_.c_str());
-           os::CloseLib(tool);
-           continue;

Copied: hsa-rocr/repos/community-testing-x86_64/hsa-rocr-glibcxx.patch (from 
rev 1396518, hsa-rocr/trunk/hsa-rocr-glibcxx.patch)
===================================================================
--- hsa-rocr-glibcxx.patch                              (rev 0)
+++ hsa-rocr-glibcxx.patch      2023-02-08 19:14:27 UTC (rev 1396519)
@@ -0,0 +1,12 @@
+diff -aur a/src/core/runtime/runtime.cpp b/src/core/runtime/runtime.cpp
+--- a/src/core/runtime/runtime.cpp     2022-12-14 22:47:12.000000000 +0800
++++ b/src/core/runtime/runtime.cpp     2023-01-29 09:53:55.084690262 +0800
+@@ -1592,7 +1592,7 @@
+       }
+       if (!ld(&hsa_api_table_.hsa_api,
+         hsa_api_table_.hsa_api.version.major_id,
+-        failed.size(), &failed[0])) {
++        failed.size(), failed.data())) {
+           failed.push_back(lib.name_.c_str());
+           os::CloseLib(tool);
+           continue;

Reply via email to