summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTorsten Keßler2020-08-25 13:55:53 +0200
committerGitHub2020-08-25 07:55:53 -0400
commit8a1194a990add4bf7dfb7c9e1fa093849d7ba44f (patch)
tree25ba27f1af0923a75092ac71412dc7eabfe9b04c
parent73ad7d74deec5201143fd8242d7b78eaa8dc5fe2 (diff)
downloadaur-8a1194a990add4bf7dfb7c9e1fa093849d7ba44f.tar.gz
[rocalution] Update to 3.7.0 (#402)
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD11
2 files changed, 9 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d83053ac0c2..1bc6f786f78 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = rocalution
pkgdesc = Next generation library for iterative sparse solvers for ROCm platform
- pkgver = 3.5.0
+ pkgver = 3.7.0
pkgrel = 1
url = https://rocalution.readthedocs.io/en/master
arch = x86_64
@@ -13,8 +13,8 @@ pkgbase = rocalution
depends = rocprim
depends = rocminfo
depends = openmp
- source = rocalution-3.5.0.tar.gz::https://github.com/ROCmSoftwarePlatform/rocALUTION/archive/rocm-3.5.0.tar.gz
- sha256sums = be2f78c10c100d7fd9df5dd2403a44700219c2cbabaacf2ea50a6e2241df7bfe
+ source = rocalution-3.7.0.tar.gz::https://github.com/ROCmSoftwarePlatform/rocALUTION/archive/rocm-3.7.0.tar.gz
+ sha256sums = 4d6b20aaaac3bafb7ec084d684417bf578349203b0f9f54168f669e3ec5699f8
pkgname = rocalution
diff --git a/PKGBUILD b/PKGBUILD
index f981cd94ced..204f431dedb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Markus Näther <naetherm@informatik.uni-freiburg.de>
pkgname=rocalution
-pkgver=3.5.0
+pkgver=3.7.0
pkgrel=1
pkgdesc='Next generation library for iterative sparse solvers for ROCm platform'
arch=('x86_64')
@@ -10,18 +10,19 @@ depends=('hip-rocclr' 'rocsparse' 'rocblas' 'rocprim' 'rocminfo' 'openmp')
makedepends=('cmake' 'git')
_git='https://github.com/ROCmSoftwarePlatform/rocALUTION'
source=("$pkgname-$pkgver.tar.gz::$_git/archive/rocm-$pkgver.tar.gz")
-sha256sums=('be2f78c10c100d7fd9df5dd2403a44700219c2cbabaacf2ea50a6e2241df7bfe')
+sha256sums=('4d6b20aaaac3bafb7ec084d684417bf578349203b0f9f54168f669e3ec5699f8')
+_dirname="$(basename "$_git")-$(basename "${source[0]}" ".tar.gz")"
build() {
CXX=/opt/rocm/hip/bin/hipcc \
cmake -B build -Wno-dev \
+ -S "$_dirname" \
-DCMAKE_INSTALL_PREFIX=/opt/rocm \
-DSUPPORT_HIP=ON \
-DSUPPORT_OMP=ON \
-DSUPPORT_MPI=OFF \
-Dhip_DIR=/opt/rocm/hip/lib/cmake/hip \
- -Damd_comgr_DIR=/opt/rocm/lib/cmake/amd_comgr \
- "$srcdir/rocALUTION-rocm-$pkgver"
+ -Damd_comgr_DIR=/opt/rocm/lib/cmake/amd_comgr
make -C build
}
@@ -31,5 +32,5 @@ package() {
install -Dm644 /dev/stdin "$pkgdir/etc/ld.so.conf.d/rocalution.conf" << EOF
/opt/rocm/rocalution/lib
EOF
- install -Dm644 "$srcdir/rocALUTION-rocm-$pkgver/LICENSE.md" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -Dm644 "$_dirname/LICENSE.md" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}