* update rocm-device-libs to 5.6.0-1
This commit is contained in:
parent
bc23075cdd
commit
2778d16e55
@ -3,17 +3,24 @@
|
||||
# Contributor: Ranieri Althoff <ranisalt+aur at gmail dot com>
|
||||
|
||||
pkgname=rocm-device-libs
|
||||
pkgver=5.4.4
|
||||
pkgver=5.6.0
|
||||
pkgrel=1
|
||||
pkgdesc='ROCm Device Libraries'
|
||||
arch=(x86_64 powerpc64le powerpc64 riscv64)
|
||||
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=('04bdfda8293779ca254596339607686633fc20d54490127b1d542884f777d9e3')
|
||||
source=("${pkgname}-${pkgver}.tar.gz::$url/archive/rocm-$pkgver.tar.gz"
|
||||
"${pkgname}-rm-gfx700.patch")
|
||||
sha256sums=('efb5dcdca9b3a9fbe408d494fb4a23e0b78417eb5fa8eebd4a5d226088f28921'
|
||||
'0b38ab6d8b1a52bac198007af098d6ec5008a7359a4ee174283e6c69c8b1a868')
|
||||
_dirname="$(basename "$url")-$(basename "${source[0]}" .tar.gz)"
|
||||
|
||||
prepare() {
|
||||
cd "$_dirname"
|
||||
patch -Np1 -i "$srcdir/$pkgname-rm-gfx700.patch"
|
||||
}
|
||||
|
||||
build() {
|
||||
cmake \
|
||||
-Wno-dev \
|
||||
|
19
rocm-device-libs/rocm-device-libs-rm-gfx700.patch
Normal file
19
rocm-device-libs/rocm-device-libs-rm-gfx700.patch
Normal file
@ -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()
|
Loading…
x
Reference in New Issue
Block a user