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

Sven-Hendrik Haase svenstaro at archlinux.org
Tue Oct 2 20:56:28 UTC 2018


    Date: Tuesday, October 2, 2018 @ 20:56:28
  Author: svenstaro
Revision: 389090

upgpkg: nccl 2.3.5.5-2

Modified:
  nccl/trunk/PKGBUILD

----------+
 PKGBUILD |   17 ++++++-----------
 1 file changed, 6 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-10-02 20:53:43 UTC (rev 389089)
+++ PKGBUILD	2018-10-02 20:56:28 UTC (rev 389090)
@@ -1,11 +1,11 @@
 # Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
-# Contributor : Daniel Bermond < yahoo-com: danielbermond >
+# Contributor: Daniel Bermond < yahoo-com: danielbermond >
 
 _commit='f93fe9bfd94884cec2ba711897222e0df5569a53'
 
 pkgname=nccl
 pkgver=2.3.5.5
-pkgrel=1
+pkgrel=2
 pkgdesc='Library for NVIDIA multi-GPU and multi-node collective communication primitives'
 arch=('x86_64')
 url='https://developer.nvidia.com/nccl/'
@@ -37,14 +37,9 @@
 package() {
   cd "${pkgname}/build"
 
-  # header
-  install -D -m644 include/nccl.h "${pkgdir}/opt/cuda/include/nccl.h"
+  install -Dm644 include/nccl.h "${pkgdir}/usr/include/nccl.h"
+  mkdir -p "${pkgdir}/usr/lib"
+  cp -a lib/* "${pkgdir}/usr/lib"
 
-  # libraries
-  mkdir -p "${pkgdir}/opt/cuda/lib64"
-  cp -a lib/* "${pkgdir}/opt/cuda/lib64"
-
-  # license
-  cd "${srcdir}/${pkgname}"
-  install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -Dm644  "${srcdir}/${pkgname}"/LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 }



More information about the arch-commits mailing list