diff options
author | Torsten Keßler | 2022-04-10 14:05:04 +0200 |
---|---|---|
committer | Torsten Keßler | 2022-04-10 14:05:04 +0200 |
commit | c7fbacd24f2fc49485307f3381a171ceef841b32 (patch) | |
tree | f977166f2ac53fe7bc1906c4f945f4b581f5c535 | |
parent | 8a06878a465542d4edde48309b7cc6aa84e47bd7 (diff) | |
download | aur-c7fbacd24f2fc49485307f3381a171ceef841b32.tar.gz |
upgpkg: rocalution 5.1.1-1
upstream release
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 10 insertions, 7 deletions
@@ -1,6 +1,6 @@ pkgbase = rocalution pkgdesc = Next generation library for iterative sparse solvers for ROCm platform - pkgver = 5.1.0 + pkgver = 5.1.1 pkgrel = 1 url = https://rocalution.readthedocs.io/en/master arch = x86_64 @@ -14,7 +14,7 @@ pkgbase = rocalution depends = rocprim depends = rocrand depends = openmp - source = rocalution-5.1.0.tar.gz::https://github.com/ROCmSoftwarePlatform/rocALUTION/archive/rocm-5.1.0.tar.gz - sha256sums = d9122189103ebafe7ec5aeb50e60f3e02af5c2747021f9071aab91e7f875c29e + source = rocalution-5.1.1.tar.gz::https://github.com/ROCmSoftwarePlatform/rocALUTION/archive/rocm-5.1.1.tar.gz + sha256sums = 0d3bd514a8bea196e65d82e6d96f0b1292f30cca526b8f7cd7ca8a1e5983e7a4 pkgname = rocalution @@ -1,7 +1,7 @@ # Maintainer: Torsten Keßler <t dot kessler at posteo dot de> # Contributor: Markus Näther <naetherm@informatik.uni-freiburg.de> pkgname=rocalution -pkgver=5.1.0 +pkgver=5.1.1 pkgrel=1 pkgdesc='Next generation library for iterative sparse solvers for ROCm platform' arch=('x86_64') @@ -11,17 +11,20 @@ depends=('hip' 'rocsparse' 'rocblas' 'rocprim' 'rocrand' 'openmp') makedepends=('cmake' 'rocm-cmake' 'git') _git='https://github.com/ROCmSoftwarePlatform/rocALUTION' source=("$pkgname-$pkgver.tar.gz::$_git/archive/rocm-$pkgver.tar.gz") -sha256sums=('d9122189103ebafe7ec5aeb50e60f3e02af5c2747021f9071aab91e7f875c29e') +sha256sums=('0d3bd514a8bea196e65d82e6d96f0b1292f30cca526b8f7cd7ca8a1e5983e7a4') _dirname="$(basename "$_git")-$(basename "${source[0]}" ".tar.gz")" build() { + local cmake_args=(-DROCM_PATH=/opt/rocm) + if [[ -n "$AMDGPU_TARGETS" ]]; then + cmake_args+=(-DAMDGPU_TARGETS="$AMDGPU_TARGETS") + fi # -fcf-protection is not supported by HIP, see # https://github.com/ROCm-Developer-Tools/HIP/blob/develop/docs/markdown/clang_options.md CXXFLAGS="${CXXFLAGS} -fcf-protection=none" \ cmake -B build \ -S "$_dirname" \ - -DROCM_PATH=/opt/rocm \ - -DAMDGPU_TARGETS=${AMDGPU_TARGETS:-gfx803;gfx900:xnack-;gfx906:xnack-;gfx908:xnack-;gfx1030;gfx90a:xnack-;gfx90a:xnack+} + "${cmake_args[@]}" make -C build } |