summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD14
2 files changed, 13 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e627abc2991..5a1ef347fac 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = rocalution
pkgdesc = Next generation library for iterative sparse solvers for ROCm platform
- pkgver = 4.0.0
- pkgrel = 2
+ pkgver = 4.2.0
+ pkgrel = 1
url = https://rocalution.readthedocs.io/en/master
arch = x86_64
license = MIT
@@ -13,8 +13,7 @@ pkgbase = rocalution
depends = rocprim
depends = rocrand
depends = openmp
- source = rocalution-4.0.0.tar.gz::https://github.com/ROCmSoftwarePlatform/rocALUTION/archive/rocm-4.0.0.tar.gz
- sha256sums = 80a224a5c19dea290e6edc0e170c3dff2e726c2b3105d599ec6858cc66f076a9
+ source = rocalution-4.2.0.tar.gz::https://github.com/ROCmSoftwarePlatform/rocALUTION/archive/rocm-4.2.0.tar.gz
+ sha256sums = 0424adf522ded41de5b77666e04464a25c73c92e34025762f30837f90a797445
pkgname = rocalution
-
diff --git a/PKGBUILD b/PKGBUILD
index 4b035a08249..48504c09361 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,8 @@
-# Maintainer: Markus Näther <naetherm@informatik.uni-freiburg.de>
+# Maintainer: Torsten Keßler <t dot kessler at posteo dot de>
+# Contributor: Markus Näther <naetherm@informatik.uni-freiburg.de>
pkgname=rocalution
-pkgver=4.0.0
-pkgrel=2
+pkgver=4.2.0
+pkgrel=1
pkgdesc='Next generation library for iterative sparse solvers for ROCm platform'
arch=('x86_64')
url='https://rocalution.readthedocs.io/en/master'
@@ -10,11 +11,14 @@ depends=('hip-rocclr' 'rocsparse' 'rocblas' 'rocprim' 'rocrand' 'openmp')
makedepends=('cmake' 'git')
_git='https://github.com/ROCmSoftwarePlatform/rocALUTION'
source=("$pkgname-$pkgver.tar.gz::$_git/archive/rocm-$pkgver.tar.gz")
-sha256sums=('80a224a5c19dea290e6edc0e170c3dff2e726c2b3105d599ec6858cc66f076a9')
+sha256sums=('0424adf522ded41de5b77666e04464a25c73c92e34025762f30837f90a797445')
_dirname="$(basename "$_git")-$(basename "${source[0]}" ".tar.gz")"
build() {
- CXX=/opt/rocm/hip/bin/hipcc \
+ # -fcf-protection is not supported by HIP, see
+ # https://github.com/ROCm-Developer-Tools/HIP/blob/rocm-4.2.x/docs/markdown/clang_options.md
+ CXX=/opt/rocm/bin/hipcc \
+ CXXFLAGS="${CXXFLAGS} -fcf-protection=none" \
cmake -B build -Wno-dev \
-S "$_dirname" \
-DCMAKE_INSTALL_PREFIX=/opt/rocm \