* update hsa-rocr to 6.2.2-1

This commit is contained in:
Alexander Baldeck 2024-11-17 10:12:37 +01:00
parent 02df64c4b3
commit 447c42bf8a
3 changed files with 22 additions and 10 deletions

View File

@ -1,7 +1,7 @@
pkgbase = hsa-rocr
pkgdesc = HSA Runtime API and runtime for ROCm
pkgver = 6.0.2
pkgrel = 2.1
pkgver = 6.2.1
pkgrel = 1
url = https://github.com/ROCm/ROCR-Runtime
arch = x86_64
arch = powerpc64le
@ -19,7 +19,7 @@ pkgbase = hsa-rocr
depends = hsakmt-roct
depends = rocm-device-libs
options = !lto
source = hsa-rocr-6.0.2.tar.gz::https://github.com/ROCm/ROCR-Runtime/archive/rocm-6.0.2.tar.gz
sha256sums = e7ff4d7ac35a2dd8aad1cb40b96511a77a9c23fe4d1607902328e53728e05c28
source = hsa-rocr-6.2.1.tar.gz::https://github.com/ROCm/ROCR-Runtime/archive/rocm-6.2.1.tar.gz
sha256sums = dbe477b323df636f5e3221471780da156c938ec00dda4b50639aa8d7fb9248f4
pkgname = hsa-rocr

5
hsa-rocr/.nvchecker.toml Normal file
View File

@ -0,0 +1,5 @@
[hsa-rocr]
source = 'github'
github = 'ROCm/ROCR-Runtime'
use_latest_release = true
prefix = 'rocm-'

View File

@ -7,8 +7,8 @@
# Contributor: Ranieri Althoff <ranisalt+aur at gmail.com>
pkgname=hsa-rocr
pkgver=6.0.2
pkgrel=2.1
pkgver=6.2.2
pkgrel=1
pkgdesc='HSA Runtime API and runtime for ROCm'
arch=(x86_64 powerpc64le powerpc64 riscv64)
url='https://github.com/ROCm/ROCR-Runtime'
@ -16,10 +16,17 @@ license=('NCSA')
depends=('rocm-core' 'glibc' 'gcc-libs' 'libelf' 'libdrm'
'hsakmt-roct' 'rocm-device-libs')
makedepends=('cmake' 'rocm-llvm' 'xxd')
source=("${pkgname}-${pkgver}.tar.gz::$url/archive/rocm-$pkgver.tar.gz")
sha256sums=('e7ff4d7ac35a2dd8aad1cb40b96511a77a9c23fe4d1607902328e53728e05c28')
source=("${pkgname}-${pkgver}.tar.gz::$url/archive/rocm-$pkgver.tar.gz"
https://raw.githubusercontent.com/loongarch-moe/rocm-loongarch/refs/heads/rocm-6.2.x/stage2/3.rocm-rocr-runtime/rocr-unsupport.patch)
sha256sums=('5e3833de2a8461b2df9a4b1cdf5549ee2cd84e09d507b1be346cb08fdfdfe373'
'523d7f93daca6e7272578ff0fced94a79421fef0ccd7f202425881543d4bcb56')
_dirname="$(basename "$url")-$(basename "${source[0]}" .tar.gz)"
options=(!lto)
options=(!debug !lto)
prepare() {
cd "$_dirname"
patch -Np1 -i ../rocr-unsupport.patch
}
build() {
# Silence warnings on optional libraries with -DNDEBUG,
@ -33,7 +40,7 @@ build() {
-D CMAKE_PREFIX_PATH=/opt/rocm
-D CMAKE_CXX_FLAGS="$CXXFLAGS -DNDEBUG")
cmake "${cmake_args[@]}"
VERBOSE=1 cmake --build build
cmake --build build
}
package() {