Date: Friday, January 27, 2023 @ 16:30:41
  Author: tpkessler
Revision: 1388800

upgpkg: rocsolver 5.4.2-1: ROCm patch release

Modified:
  rocsolver/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-01-27 16:26:24 UTC (rev 1388799)
+++ PKGBUILD    2023-01-27 16:30:41 UTC (rev 1388800)
@@ -1,8 +1,8 @@
 # Maintainer: Torsten Keßler <tpkessler at archlinux dot org>
 
 pkgname=rocsolver
-pkgver=5.4.1
-pkgrel=2
+pkgver=5.4.2
+pkgrel=1
 pkgdesc='Subset of LAPACK functionality on the ROCm platform'
 arch=('x86_64')
 url='https://rocsolver.readthedocs.io/en/latest/'
@@ -11,11 +11,14 @@
 makedepends=('rocm-cmake' 'python-pyaml' 'fmt')
 _git='https://github.com/ROCmSoftwarePlatform/rocSOLVER'
 source=("$pkgname-$pkgver.tar.gz::$_git/archive/rocm-$pkgver.tar.gz")
-sha256sums=('b1059c476fdef5fff4eab8152385d2dfb6ce914bfac298e612c560defe67aeec')
+sha256sums=('5ada07d3f46bbe9fa8ebcb2ca39f5f89ab72e1c0cc8fedfe1ab3feffc34c9829')
 options=(!lto)
 _dirname="$(basename "$_git")-$(basename "${source[0]}" .tar.gz)"
 
 build() {
+    # Compile source code for supported GPU archs in parallel
+    export HIPCC_COMPILE_FLAGS_APPEND="-parallel-jobs=$(nproc)"
+    export HIPCC_LINK_FLAGS_APPEND="-parallel-jobs=$(nproc)"
     # -fcf-protection is not supported by HIP, see
     # 
https://docs.amd.com/bundle/ROCm-Compiler-Reference-Guide-v5.4/page/Appendix_A.html
     CXXFLAGS="${CXXFLAGS} -fcf-protection=none" \

Reply via email to