Torsten Keßler pushed to branch main at Arch Linux / Packaging / Packages /
magma
Commits:
c68e09f0 by Torsten Keßler at 2026-01-29T18:06:32+01:00
upgpkg: 2.9.0-6
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,6 +1,6 @@
pkgbase = magma
pkgver = 2.9.0
- pkgrel = 5
+ pkgrel = 6
url = https://icl.utk.edu/magma/
arch = x86_64
license = BSD-3-Clause
@@ -11,6 +11,7 @@ pkgbase = magma
makedepends = gcc-fortran
makedepends = cuda
makedepends = rocm-core
+ makedepends = rocm-toolchain
makedepends = hip-runtime-amd
makedepends = hipblas
makedepends = hipsparse
@@ -19,7 +20,6 @@ pkgbase = magma
optdepends = python: for examples and tests
optdepends = gcc-fortran: Fortran interface
options = !lto
- options = !debug
source = magma::git+https://github.com/icl-utk-edu/magma.git#tag=v2.9.0
source = ROCm-use-HIPBLAS_V2-types-and-APIs-ROCm-7-ready.patch
sha256sums =
bd18fbfd1b36dbcfd604b22f2fdfaf0a18c5dcfbe09fe1f1b2f2fe3e365bc304
=====================================
PKGBUILD
=====================================
@@ -10,7 +10,7 @@ _pkgname=magma
pkgbase=$_pkgname
pkgname=(magma-cuda magma-hip)
pkgver=2.9.0
-pkgrel=5
+pkgrel=6
_pkgdesc="Matrix Algebra on GPU and Multicore Architectures"
arch=('x86_64')
url="https://icl.utk.edu/magma/"
@@ -18,7 +18,7 @@ license=('BSD-3-Clause')
depends=('blas' 'lapack')
makedepends=('git' 'cmake' 'ninja' 'python' 'gcc-fortran'
'cuda'
- 'rocm-core' 'hip-runtime-amd' 'hipblas' 'hipsparse')
+ 'rocm-core' 'rocm-toolchain' 'hip-runtime-amd' 'hipblas'
'hipsparse')
optdepends=('python: for examples and tests'
'gcc-fortran: Fortran interface')
source=(
@@ -27,16 +27,14 @@ source=(
)
sha256sums=('bd18fbfd1b36dbcfd604b22f2fdfaf0a18c5dcfbe09fe1f1b2f2fe3e365bc304'
'1dd10785f143adfd73cfd5c5fae44553ea52c10bd9a8fcd20f97819529a0ead1')
-# -g makes rocm-llvm crash for magma
-options=(!lto !debug)
+options=(!lto)
_valid_sm() {
echo "sm_75 sm_80 sm_86 sm_87 sm_88 sm_89 sm_90 sm_100 sm_103 sm_110 sm_120
sm_121"
}
_valid_gfx() {
- #List of GPU targets from rocBLAS
- echo "gfx900 gfx906:xnack- gfx908:xnack- gfx90a:xnack+ gfx90a:xnack- gfx940
gfx941 gfx942 gfx1010 gfx1012 gfx1030 gfx1100 gfx1101 gfx1102 gfx1200 gfx1201"
+ echo "$(rocm-supported-gfx -s -d ' ')"
}
prepare() {
@@ -89,7 +87,7 @@ build() {
CXXFLAGS+=" -DROCM_VERSION=$_rocm_ver"
# With ROCm 6.0.0 the header moved from /opt/rocm/include to the subfolder
hipsparse.
# magma still uses the old location.
- CXXFLAGS+=" -isystem /opt/rocm/include/hipsparse"
+ CXXFLAGS+=" -isystem /opt/rocm/include/hipsparse --offload-compress"
cmake \
-Bbuild \
-GNinja \
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/magma/-/commit/c68e09f0f138d84fee95b59f59e5fe24ecef5889
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/magma/-/commit/c68e09f0f138d84fee95b59f59e5fe24ecef5889
You're receiving this email because of your account on gitlab.archlinux.org.