diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -2,28 +2,29 @@ # Contributor: Jakub Okoński <jakub@okonski.org> # Contributor: Markus Näther <naetherm@cs.uni-freiburg.de> pkgname=rocfft -pkgver=5.3.0 +pkgver=5.4.0 pkgrel=1 pkgdesc='Next generation FFT implementation for ROCm' arch=('x86_64') url='https://rocfft.readthedocs.io/en/latest/library.html' license=('MIT') depends=('hip') -makedepends=('cmake') +makedepends=('rocm-cmake') _git='https://github.com/ROCmSoftwarePlatform/rocFFT' source=("$pkgname-$pkgver.tar.gz::$_git/archive/rocm-$pkgver.tar.gz") -sha256sums=('d655c5541c4aff4267e80e36d002fc3a55c2f84a0ae8631197c12af3bf03fa7d') +sha256sums=('d35a67332f4425fba1824eed78cf98d5c9a17a422614ff3f4cba2461df952336') options=(!lto) _dirname="$(basename "$_git")-$(basename "${source[0]}" ".tar.gz")" build() { # -fcf-protection is not supported by HIP, see - # https://docs.amd.com/bundle/ROCm-Compiler-Reference-Guide-v5.3/page/Appendix_A.html + # https://docs.amd.com/bundle/ROCm-Compiler-Reference-Guide-v5.4/page/Appendix_A.html CXXFLAGS="${CXXFLAGS} -fcf-protection=none" \ cmake \ -Wno-dev \ -B build \ -S "$_dirname" \ + -DCMAKE_BUILD_TYPE=None \ -DCMAKE_CXX_COMPILER=/opt/rocm/bin/hipcc \ -DCMAKE_INSTALL_PREFIX=/opt/rocm cmake --build build |