Torsten Keßler pushed to branch main at Arch Linux / Packaging / Packages / 
hipdnn


Commits:
95e4a493 by Torsten Keßler at 2026-11-13T15:49:49+01:00
upgpkg: 10.1-1

Closes archlinux/packaging/packages/hipdnn#3

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,6 +1,6 @@
 pkgbase = hipdnn
        pkgdesc = Graph-based deep learning library for AMD GPUs
-       pkgver = 10.0
+       pkgver = 10.1
        pkgrel = 1
        url = 
https://github.com/ROCm/rocm-libraries/tree/develop/projects/hipdnn
        arch = x86_64
@@ -18,7 +18,7 @@ pkgbase = hipdnn
        depends = libstdc++
        depends = flatbuffers
        depends = nlohmann-json
-       source = 
hipdnn-10.0.tar.gz::https://github.com/ROCm/rocm-libraries/releases/download/therock-10.0/hipdnn.tar.gz
-       sha256sums = 
c1f2b1cee69023fb34498345c9dc3f5d4e9d035fd16565f3029a18fb913eb087
+       source = 
hipdnn-10.1.tar.gz::https://github.com/ROCm/rocm-libraries/releases/download/therock-10.1/hipdnn.tar.gz
+       sha256sums = 
345d893e12da5535bdb5bfe326119b118d34dda533e70f35bc4fa02f65443c26
 
 pkgname = hipdnn


=====================================
PKGBUILD
=====================================
@@ -1,7 +1,7 @@
 # Maintainer: Torsten Keßler <tpkessler at archlinux dot org>
 
 pkgname=hipdnn
-pkgver=10.0
+pkgver=10.1
 pkgrel=1
 pkgdesc='Graph-based deep learning library for AMD GPUs'
 arch=('x86_64')
@@ -26,7 +26,7 @@ makedepends=(
 )
 _git='https://github.com/ROCm/rocm-libraries'
 
source=("$pkgname-$pkgver.tar.gz::$_git/releases/download/therock-$pkgver/$pkgname.tar.gz")
-sha256sums=('c1f2b1cee69023fb34498345c9dc3f5d4e9d035fd16565f3029a18fb913eb087')
+sha256sums=('345d893e12da5535bdb5bfe326119b118d34dda533e70f35bc4fa02f65443c26')
 
 prepare() {
   cd "$pkgname"
@@ -36,6 +36,10 @@ prepare() {
   sed -i 's/flatbuffers::flatbuffers\b/flatbuffers::flatbuffers_shared/g' \
     flatbuffers_sdk/CMakeLists.txt \
     flatbuffers_sdk/cmake/hipdnn_flatbuffers_sdkConfig.cmake.in
+
+  # hipDNN requires the exact flatbuffers version, in cmake and in the
+  # scripts that run flatc. Pin the version of the flatbuffers package.
+  pacman -Q flatbuffers | cut -d' ' -f2 | cut -d- -f1 > 
cmake/default_flatc_version.txt
 }
 
 build() {
@@ -50,9 +54,6 @@ build() {
     -D CMAKE_INSTALL_PREFIX=/opt/rocm
     # Fail instead of downloading a dependency that is not found
     -D FETCHCONTENT_FULLY_DISCONNECTED=ON
-    # hipDNN requires the exact flatbuffers version and generates its
-    # headers with flatc from the same package
-    -D HIPDNN_FLATBUFFERS_VERSION="$(pacman -Q flatbuffers | cut -d' ' -f2 | 
cut -d- -f1)"
     -D HIPDNN_SKIP_TESTS=ON
     -D ENABLE_CLANG_TIDY=OFF
     -D ENABLE_CLANG_FORMAT=OFF



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/hipdnn/-/commit/95e4a493f965145db08f03a87794b9678a6d16d1

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/hipdnn/-/commit/95e4a493f965145db08f03a87794b9678a6d16d1
You're receiving this email because of your account on gitlab.archlinux.org. 
Manage all notifications: https://gitlab.archlinux.org/-/profile/notifications 
| Help: https://gitlab.archlinux.org/help


Reply via email to