* update hip-runtime-amd to 6.0.2-4.1

This commit is contained in:
Alexander Baldeck 2025-01-31 12:38:02 +01:00
parent 38bc424c5a
commit ab2832544d
3 changed files with 11 additions and 2 deletions

View File

@ -1,7 +1,7 @@
pkgbase = hip-runtime-amd
pkgdesc = Heterogeneous Interface for Portability ROCm
pkgver = 6.0.2
pkgrel = 4
pkgrel = 4.1
url = https://rocm.docs.amd.com/projects/HIP/en/latest/
arch = x86_64
arch = powerpc64le

View File

@ -0,0 +1,5 @@
[hip-runtime-amd]
source = 'github'
github = 'ROCm/HIP'
use_latest_release = true
prefix = 'rocm-'

View File

@ -3,7 +3,7 @@
# Contributor: acxz <akashpatel2008 at yahoo dot com>
pkgname=hip-runtime-amd
pkgver=6.0.2
pkgrel=4
pkgrel=4.1
pkgdesc="Heterogeneous Interface for Portability ROCm"
arch=(x86_64 powerpc64le powerpc64 riscv64)
url='https://rocm.docs.amd.com/projects/HIP/en/latest/'
@ -46,6 +46,10 @@ build() {
# The relevant upstream issue is
# https://github.com/ROCm/HIP/issues/2426
CXXFLAGS=${CXXFLAGS/-Wp,-D_GLIBCXX_ASSERTIONS/}
# Disable assertions in C/C++ code to fix
# https://gitlab.archlinux.org/archlinux/packaging/packages/python-pytorch/-/issues/13
CXXFLAGS+=" -DNDEBUG"
CFLAGS+=" -DNDEBUG"
local hipcc_args=(
-Wno-dev
-S "$srcdir/$_dirhipcc"