Date: Saturday, May 6, 2023 @ 10:43:11
  Author: tpkessler
Revision: 1458981

upgpkg: rocm-device-libs 5.5.0-1: ROCm 5.5.0 release

Added:
  rocm-device-libs/trunk/rocm-device-libs-rm-gfx700.patch
Modified:
  rocm-device-libs/trunk/PKGBUILD

----------------------------------+
 PKGBUILD                         |   13 ++++++++++---
 rocm-device-libs-rm-gfx700.patch |   19 +++++++++++++++++++
 2 files changed, 29 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-05-06 10:29:24 UTC (rev 1458980)
+++ PKGBUILD    2023-05-06 10:43:11 UTC (rev 1458981)
@@ -2,7 +2,7 @@
 # Contributor: Ranieri Althoff <ranisalt+aur at gmail dot com>
 
 pkgname=rocm-device-libs
-pkgver=5.4.3
+pkgver=5.5.0
 pkgrel=1
 pkgdesc='ROCm Device Libraries'
 arch=('x86_64')
@@ -9,10 +9,17 @@
 url='https://github.com/RadeonOpenCompute/ROCm-Device-Libs'
 license=('custom:NCSAOSL')
 makedepends=('rocm-cmake' 'rocm-llvm')
-source=("${pkgname}-${pkgver}.tar.gz::$url/archive/rocm-$pkgver.tar.gz")
-sha256sums=('f4f7281f2cea6d268fcc3662b37410957d4f0bc23e0df9f60b12eb0fcdf9e26e')
+source=("${pkgname}-${pkgver}.tar.gz::$url/archive/rocm-$pkgver.tar.gz"
+        "${pkgname}-rm-gfx700.patch")
+sha256sums=('5ab95aeb9c8bed0514f96f7847e21e165ed901ed826cdc9382c14d199cbadbd3'
+            '0b38ab6d8b1a52bac198007af098d6ec5008a7359a4ee174283e6c69c8b1a868')
 _dirname="$(basename "$url")-$(basename "${source[0]}" .tar.gz)"
 
+prepare() {
+    cd "$_dirname"
+    patch -Np1 -i "$srcdir/$pkgname-rm-gfx700.patch"
+}
+
 build() {
     cmake \
         -Wno-dev \

Added: rocm-device-libs-rm-gfx700.patch
===================================================================
--- rocm-device-libs-rm-gfx700.patch                            (rev 0)
+++ rocm-device-libs-rm-gfx700.patch    2023-05-06 10:43:11 UTC (rev 1458981)
@@ -0,0 +1,19 @@
+diff --git a/test/compile/CMakeLists.txt b/test/compile/CMakeLists.txt
+index 9af0b1a..a789222 100644
+--- a/test/compile/CMakeLists.txt
++++ b/test/compile/CMakeLists.txt
+@@ -54,12 +54,12 @@ foreach(gpu gfx900 gfx1030)
+   add_constant_fold_test(lgamma_r ${gpu})
+ endforeach()
+ 
+-foreach(gpu gfx700 gfx803)
++foreach(gpu gfx803)
+   add_isa_test(asin ${gpu})
+   add_isa_test(atan2 ${gpu})
+   add_isa_test(atan2pi ${gpu})
+ endforeach()
+ 
+-foreach(gpu gfx600 gfx700)
++foreach(gpu gfx600)
+   add_isa_test(frexp ${gpu})
+ endforeach()

Reply via email to