diff options
author | Torsten Keßler | 2021-05-14 16:18:43 +0200 |
---|---|---|
committer | Torsten Keßler | 2021-05-14 16:18:43 +0200 |
commit | 6504dd5b50273a5672cb9402c128799ca1c6bcf5 (patch) | |
tree | a138063546a6966df6a805251c8dd43ada731962 /PKGBUILD | |
parent | e3046da90ab680bc696d5e4421961fe239eada03 (diff) | |
download | aur-6504dd5b50273a5672cb9402c128799ca1c6bcf5.tar.gz |
upgpkg: hipsparse 4.2.0-1
upstream release
new release
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -3,8 +3,8 @@ # Contributor: acxz <akashpatel2008 at yahoo dot com> pkgname=hipsparse -pkgver=4.1.0 -pkgrel=2 +pkgver=4.2.0 +pkgrel=1 pkgdesc='rocSPARSE marshalling library.' arch=('x86_64') url='https://rocmdocs.amd.com/en/latest/ROCm_Libraries/ROCm_Libraries.html#hipsparse' @@ -13,11 +13,14 @@ depends=('hip-rocclr' 'rocsparse') makedepends=('cmake' 'git' 'gcc-fortran') _git='https://github.com/ROCmSoftwarePlatform/hipSPARSE' source=("$pkgname-$pkgver.tar.gz::$_git/archive/rocm-$pkgver.tar.gz") -sha256sums=('66710c390489922f0bd1ac38fd8c32fcfb5b7760b92c2d282f7d1abf214742ee') +sha256sums=('cdedf3766c10200d3ebabe86cbb9c0fe6504e4b3317dccca289327d7c189bb3f') _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 -Wno-dev -S "$_dirname" \ -DCMAKE_CXX_STANDARD=20 \ -DCMAKE_INSTALL_PREFIX=/opt/rocm \ |