summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorTorsten Keßler2021-05-14 14:58:02 +0200
committerTorsten Keßler2021-05-14 14:58:02 +0200
commit2e8395dc2bbb8d1736f07f4af64b4478115210fc (patch)
tree2a963d8784962c755352e7974cfc1124a579c555 /PKGBUILD
parent31d34e66345c47f139f84564c5a0c1996a94a857 (diff)
downloadaur-rocalution.tar.gz
upgpkg: rocalution 4.2.0-1
upstream release new release
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4d4fb34e118..48504c09361 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
# Maintainer: Torsten Keßler <t dot kessler at posteo dot de>
# Contributor: Markus Näther <naetherm@informatik.uni-freiburg.de>
pkgname=rocalution
-pkgver=4.1.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'
@@ -11,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=('3f61be18a02dff0c152a0ad7eb4779c43dd744b0ba172aa6a4267fc596d582e4')
+sha256sums=('0424adf522ded41de5b77666e04464a25c73c92e34025762f30837f90a797445')
_dirname="$(basename "$_git")-$(basename "${source[0]}" ".tar.gz")"
build() {
+ # -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 \