[arch-commits] Commit in nccl/trunk (PKGBUILD)

Sven-Hendrik Haase svenstaro at archlinux.org
Sun Feb 23 15:01:57 UTC 2020


    Date: Sunday, February 23, 2020 @ 15:01:57
  Author: svenstaro
Revision: 579782

upgpkg: nccl 2.5.7-4: Fix pkgconfig prefix (fixes FS#65479)

Modified:
  nccl/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-23 14:44:09 UTC (rev 579781)
+++ PKGBUILD	2020-02-23 15:01:57 UTC (rev 579782)
@@ -4,7 +4,7 @@
 pkgname=nccl
 pkgver=2.5.7
 _upstr_pkgrel=1
-pkgrel=3
+pkgrel=4
 pkgdesc='Library for NVIDIA multi-GPU and multi-node collective communication primitives'
 arch=('x86_64')
 url='https://developer.nvidia.com/nccl/'
@@ -43,17 +43,14 @@
                        -gencode=arch=compute_70,code=compute_70 \
                        -gencode=arch=compute_72,code=compute_72 \
                        -gencode=arch=compute_75,code=compute_75"
-  export VERBOSE=1
 
-  make CUDA_HOME='/opt/cuda' src.build
+  make CUDA_HOME=/opt/cuda PREFIX=/usr src.build
 }
 
 package() {
-  cd "${pkgname}/build"
+  cd "${pkgname}"
 
-  install -Dm644 include/nccl.h "${pkgdir}/usr/include/nccl.h"
-  mkdir -p "${pkgdir}/usr/lib"
-  cp -a lib/* "${pkgdir}/usr/lib"
+  make PREFIX="${pkgdir}"/usr install
 
   install -Dm644  "${srcdir}/${pkgname}"/LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 }



More information about the arch-commits mailing list