Torsten Keßler pushed to branch main at Arch Linux / Packaging / Packages /
rocsparse
Commits:
d4f5a234 by Torsten Keßler at 2023-12-22T11:18:48+01:00
upgpkg: 6.0.0-1
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,6 +1,6 @@
pkgbase = rocsparse
pkgdesc = BLAS for sparse computation on top of ROCm
- pkgver = 5.7.1
+ pkgver = 6.0.0
pkgrel = 1
url = https://rocsparse.readthedocs.io/en/master/
arch = x86_64
@@ -10,7 +10,8 @@ pkgbase = rocsparse
depends = hip
depends = rocprim
options = !lto
- source =
rocsparse-5.7.1.tar.gz::https://github.com/ROCmSoftwarePlatform/rocSPARSE/archive/rocm-5.7.1.tar.gz
- sha256sums =
4c09b182b371124675d4057246021b5ed45e2833fdbf265b37a9b06b668baf0a
+ options = !buildflags
+ source =
rocsparse-6.0.0.tar.gz::https://github.com/ROCmSoftwarePlatform/rocSPARSE/archive/rocm-6.0.0.tar.gz
+ sha256sums =
bdc618677ec78830c6af315d61194d6ab8532345b8daeeb115aca96f274d4ca4
pkgname = rocsparse
=====================================
PKGBUILD
=====================================
@@ -1,7 +1,7 @@
# Maintainer: Torsten Keßler <tpkessler at archlinux dot org>
# Contributor: Markus Näther <[email protected]>
pkgname=rocsparse
-pkgver=5.7.1
+pkgver=6.0.0
pkgrel=1
pkgdesc='BLAS for sparse computation on top of ROCm'
arch=('x86_64')
@@ -11,8 +11,10 @@ depends=('hip' 'rocprim')
makedepends=('rocm-cmake' 'gcc-fortran')
_git='https://github.com/ROCmSoftwarePlatform/rocSPARSE'
source=("$pkgname-$pkgver.tar.gz::$_git/archive/rocm-$pkgver.tar.gz")
-sha256sums=('4c09b182b371124675d4057246021b5ed45e2833fdbf265b37a9b06b668baf0a')
-options=(!lto)
+sha256sums=('bdc618677ec78830c6af315d61194d6ab8532345b8daeeb115aca96f274d4ca4')
+# Disable default build flags and use release mode as otherwise the linker step
+# fails. The symbol offset size reaches the 32 bit integer limits.
+options=(!lto !buildflags)
_dirname="$(basename "$_git")-$(basename "${source[0]}" ".tar.gz")"
build() {
@@ -23,7 +25,7 @@ build() {
-Wno-dev \
-B build \
-S "$_dirname" \
- -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CXX_COMPILER=/opt/rocm/bin/hipcc \
-DCMAKE_INSTALL_PREFIX=/opt/rocm
cmake --build build
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/rocsparse/-/commit/d4f5a23446076555def7e816f5abd10b7e8a54ce
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/rocsparse/-/commit/d4f5a23446076555def7e816f5abd10b7e8a54ce
You're receiving this email because of your account on gitlab.archlinux.org.