* update hip-runtime-amd to 6.0.2-2

This commit is contained in:
Alexander Baldeck 2024-05-17 15:51:16 +02:00
parent bd428e279f
commit 2ec9247ce5

View File

@ -3,7 +3,7 @@
# Contributor: acxz <akashpatel2008 at yahoo dot com>
pkgname=hip-runtime-amd
pkgver=6.0.2
pkgrel=1
pkgrel=2
pkgdesc="Heterogeneous Interface for Portability ROCm"
arch=(x86_64 powerpc64le powerpc64 riscv64)
url='https://rocm.docs.amd.com/projects/HIP/en/latest/'
@ -23,13 +23,11 @@ _hipcc='https://github.com/ROCm/HIPCC'
source=("$pkgname-$pkgver.tar.gz::$_hip/archive/rocm-$pkgver.tar.gz"
"$pkgname-clr-$pkgver.tar.gz::$_clr/archive/rocm-$pkgver.tar.gz"
"$pkgname-hipcc-$pkgver.tar.gz::$_hipcc/archive/rocm-$pkgver.tar.gz"
"$pkgname-hipcc-$pkgver.tar.gz::$_hipcc/archive/rocm-$pkgver.tar.gz"
"$pkgname-disable-immintrin.patch::https://github.com/ROCm/clr/commit/12461dbd6a26e02d03b572399b6d629f44b0a318.diff"
"$pkgname-rv64gc.patch")
sha256sums=('b47178db94f2acc106e1a88ceb029844805266ebaba11ef63744e90d224b11be'
'cb8ac610c8d4041b74fb3129c084f1e7b817ce1a5a9943feca1fa7531dc7bdcc'
'd6209b14fccdd00d7231dec4b4f962aa23914b9dde389ba961370e8ba918bde5'
'd6209b14fccdd00d7231dec4b4f962aa23914b9dde389ba961370e8ba918bde5'
'bf4fcef96619cbed5ec0f3f8ef02767347acfc883b6b67d300ccbe5e0e596efb'
'b8d9643df110fd016796fe5e3ffda0b13bfe6ba430304322684a691bc35b84ff')
_dirhip="$(basename "$_hip")-$(basename "${source[0]}" ".tar.gz")"
@ -42,6 +40,12 @@ prepare() {
}
build() {
# Enabled assertions can cause crashes if applications are run with increased
# verbosity, see for instance this issue with blender,
# https://gitlab.archlinux.org/archlinux/packaging/packages/blender/-/issues/13
# The relevant upstream issue is
# https://github.com/ROCm/HIP/issues/2426
CXXFLAGS=${CXXFLAGS/-Wp,-D_GLIBCXX_ASSERTIONS/}
local hipcc_args=(
-Wno-dev
-S "$srcdir/$_dirhipcc"