From ab2832544d44e2058cb602104d12f6aec0c6c067 Mon Sep 17 00:00:00 2001 From: kth5 Date: Fri, 31 Jan 2025 12:38:02 +0100 Subject: [PATCH] * update hip-runtime-amd to 6.0.2-4.1 --- hip-runtime-amd/.SRCINFO | 2 +- hip-runtime-amd/.nvchecker.toml | 5 +++++ hip-runtime-amd/PKGBUILD | 6 +++++- 3 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 hip-runtime-amd/.nvchecker.toml diff --git a/hip-runtime-amd/.SRCINFO b/hip-runtime-amd/.SRCINFO index 1fba3b64ce..71de153d96 100644 --- a/hip-runtime-amd/.SRCINFO +++ b/hip-runtime-amd/.SRCINFO @@ -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 diff --git a/hip-runtime-amd/.nvchecker.toml b/hip-runtime-amd/.nvchecker.toml new file mode 100644 index 0000000000..1bbfff1176 --- /dev/null +++ b/hip-runtime-amd/.nvchecker.toml @@ -0,0 +1,5 @@ +[hip-runtime-amd] +source = 'github' +github = 'ROCm/HIP' +use_latest_release = true +prefix = 'rocm-' diff --git a/hip-runtime-amd/PKGBUILD b/hip-runtime-amd/PKGBUILD index 4bf6a594b7..57cca96280 100644 --- a/hip-runtime-amd/PKGBUILD +++ b/hip-runtime-amd/PKGBUILD @@ -3,7 +3,7 @@ # Contributor: acxz 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"