Changes
2 changed files (+13/-13)
-
-
@@ -1,13 +1,14 @@pkgbase = rocfft pkgdesc = Next generation FFT implementation for ROCm pkgver = 5.0.0 pkgver = 5.0.1 pkgrel = 1 url = https://rocmdocs.amd.com/en/latest/ROCm_Libraries/ROCm_Libraries.html#rocfft arch = x86_64 license = MIT makedepends = cmake depends = hip source = rocfft-5.0.0.tar.gz::https://github.com/ROCmSoftwarePlatform/rocFFT/archive/rocm-5.0.0.tar.gz sha256sums = c16374dac2f85fbaf145511653e93f6db3151425ce39b282187745c716b67405 options = !lto source = rocfft-5.0.1.tar.gz::https://github.com/ROCmSoftwarePlatform/rocFFT/archive/rocm-5.0.1.tar.gz sha256sums = c0d69d95750d5d042294f3370d307f69b6553cf84745340933e26d57f512f84f pkgname = rocfft
-
-
-
@@ -2,7 +2,7 @@# Contributor: Jakub Okoński <jakub@okonski.org> # Contributor: Markus Näther <naetherm@cs.uni-freiburg.de> pkgname=rocfft pkgver=5.0.0 pkgver=5.0.1 pkgrel=1 pkgdesc='Next generation FFT implementation for ROCm' arch=('x86_64')
-
@@ -12,24 +12,23 @@ depends=('hip')makedepends=('cmake') _git='https://github.com/ROCmSoftwarePlatform/rocFFT' source=("$pkgname-$pkgver.tar.gz::$_git/archive/rocm-$pkgver.tar.gz") sha256sums=('c16374dac2f85fbaf145511653e93f6db3151425ce39b282187745c716b67405') sha256sums=('c0d69d95750d5d042294f3370d307f69b6553cf84745340933e26d57f512f84f') options=(!lto) _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.5.x/docs/markdown/clang_options.md CXX=/opt/rocm/bin/hipcc \ # https://github.com/ROCm-Developer-Tools/HIP/blob/develop/docs/markdown/clang_options.md CXXFLAGS="${CXXFLAGS} -fcf-protection=none" \ cmake -Wno-dev -S "$_dirname" \ cmake -B build \ -S "$_dirname" \ -DCMAKE_INSTALL_PREFIX=/opt/rocm \ -Damd_comgr_DIR=/opt/rocm/lib/cmake/amd_comgr \ -DBUILD_CLIENTS_RIDER=OFF \ -DBUILD_CLIENTS_TESTS=OFF make -DCMAKE_CXX_COMPILER=hipcc make -C build } package() { DESTDIR="$pkgdir" make install DESTDIR="$pkgdir" make -C build install install -Dm644 /dev/stdin "$pkgdir/etc/ld.so.conf.d/rocfft.conf" << EOF /opt/rocm/rocfft/lib
-