Christian Heusel pushed to branch main at Arch Linux / Packaging / Packages /
hsa-rocr
Commits:
942f8ab2 by Christian Heusel at 2025-05-06T14:28:05+02:00
upgpkg: 6.4.0-1: New upstream release
- - - - -
3 changed files:
- .SRCINFO
- PKGBUILD
- + hsa-rocr-6.4-fix-missing-include.patch
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,6 +1,6 @@
pkgbase = hsa-rocr
pkgdesc = HSA Runtime API and runtime for ROCm
- pkgver = 6.3.3
+ pkgver = 6.4.0
pkgrel = 1
url = https://github.com/ROCm/ROCR-Runtime
arch = x86_64
@@ -16,10 +16,12 @@ pkgbase = hsa-rocr
depends = libelf
depends = libdrm
depends = rocm-device-libs
- provides = hsakmt-roct=6.3.3
+ provides = hsakmt-roct=6.4.0
replaces = hsakmt-roct
options = !lto
- source =
hsa-rocr-6.3.3.tar.gz::https://github.com/ROCm/ROCR-Runtime/archive/rocm-6.3.3.tar.gz
- sha256sums =
aa2e30d3d68707d6df4840e954bb08cc13cd312cec1a98a64d97adbe07262f50
+ source =
hsa-rocr-6.4.0.tar.gz::https://github.com/ROCm/ROCR-Runtime/archive/rocm-6.4.0.tar.gz
+ source = hsa-rocr-6.4-fix-missing-include.patch
+ sha256sums =
ff740e8c8f2229c6dc47577363f707b1a44ea4254f8ad74f8f0a669998829535
+ sha256sums =
6b7c62245fd9021ade8046e6a769e48c8c1868131dbac19531befc5f2a4c25b5
pkgname = hsa-rocr
=====================================
PKGBUILD
=====================================
@@ -7,7 +7,7 @@
# Contributor: Alexandru M Stan <[email protected]>
pkgname=hsa-rocr
-pkgver=6.3.3
+pkgver=6.4.0
pkgrel=1
pkgdesc='HSA Runtime API and runtime for ROCm'
arch=('x86_64')
@@ -18,11 +18,17 @@ depends=('rocm-core' 'glibc' 'gcc-libs' 'numactl'
'pciutils' 'libelf' 'libdrm'
provides=("hsakmt-roct=$pkgver")
replaces=('hsakmt-roct')
makedepends=('cmake' 'rocm-llvm' 'xxd')
-source=("${pkgname}-${pkgver}.tar.gz::$url/archive/rocm-$pkgver.tar.gz")
-sha256sums=('aa2e30d3d68707d6df4840e954bb08cc13cd312cec1a98a64d97adbe07262f50')
+source=("${pkgname}-${pkgver}.tar.gz::$url/archive/rocm-$pkgver.tar.gz"
+ hsa-rocr-6.4-fix-missing-include.patch)
+sha256sums=('ff740e8c8f2229c6dc47577363f707b1a44ea4254f8ad74f8f0a669998829535'
+ '6b7c62245fd9021ade8046e6a769e48c8c1868131dbac19531befc5f2a4c25b5')
_dirname="$(basename "$url")-$(basename "${source[0]}" .tar.gz)"
options=(!lto)
+prepare() {
+ patch -d "${_dirname}" -Np1 <
"${srcdir}/hsa-rocr-6.4-fix-missing-include.patch"
+}
+
build() {
# Silence warnings on optional libraries with -DNDEBUG,
#
https://github.com/RadeonOpenCompute/ROCR-Runtime/issues/89#issuecomment-613788944
=====================================
hsa-rocr-6.4-fix-missing-include.patch
=====================================
@@ -0,0 +1,28 @@
+From 94f58bd180fa0100ef83682510672d1173745716 Mon Sep 17 00:00:00 2001
+From: Christian Heusel <[email protected]>
+Date: Tue, 6 May 2025 14:19:57 +0200
+Subject: [PATCH] [hsa-runtime] Add missing cstdint include
+
+This fixes the build with gcc 15 which is now released in major
+distributions such as Fedora and Arch Linux.
+
+Signed-off-by: Christian Heusel <[email protected]>
+---
+ runtime/hsa-runtime/core/inc/amd_elf_image.hpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/runtime/hsa-runtime/core/inc/amd_elf_image.hpp
b/runtime/hsa-runtime/core/inc/amd_elf_image.hpp
+index 177465c0..335e116b 100644
+--- a/runtime/hsa-runtime/core/inc/amd_elf_image.hpp
++++ b/runtime/hsa-runtime/core/inc/amd_elf_image.hpp
+@@ -47,6 +47,7 @@
+ #include <sstream>
+ #include <vector>
+ #include <memory>
++#include <cstdint>
+
+ namespace rocr {
+ namespace amd {
+--
+2.49.0
+
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/hsa-rocr/-/commit/942f8ab27a7723ef6976b62fdcb9ee0ca0fe0df9
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/hsa-rocr/-/commit/942f8ab27a7723ef6976b62fdcb9ee0ca0fe0df9
You're receiving this email because of your account on gitlab.archlinux.org.