Date: Tuesday, February 7, 2023 @ 21:39:33
  Author: tpkessler
Revision: 1396037

upgpkg: rccl 5.4.2-2: glibc 2.37 rebuild

Modified:
  rccl/trunk/PKGBUILD

----------+
 PKGBUILD |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-02-07 21:35:57 UTC (rev 1396036)
+++ PKGBUILD    2023-02-07 21:39:33 UTC (rev 1396037)
@@ -4,7 +4,7 @@
 
 pkgname=rccl
 pkgver=5.4.2
-pkgrel=1
+pkgrel=2
 pkgdesc="ROCm Communication Collectives Library"
 arch=('x86_64')
 url='https://rccl.readthedocs.io/en/rocm-5.4.2/'
@@ -18,6 +18,9 @@
 _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