[arch-commits] Commit in nccl/repos/community-x86_64 (PKGBUILD PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Tue Sep 8 23:15:10 UTC 2020
Date: Tuesday, September 8, 2020 @ 23:15:09
Author: svenstaro
Revision: 701425
archrelease: copy trunk to community-x86_64
Added:
nccl/repos/community-x86_64/PKGBUILD
(from rev 701424, nccl/trunk/PKGBUILD)
Deleted:
nccl/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 142 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 71 insertions(+), 71 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-09-08 23:15:02 UTC (rev 701424)
+++ PKGBUILD 2020-09-08 23:15:09 UTC (rev 701425)
@@ -1,71 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
-# Contributor: Daniel Bermond < yahoo-com: danielbermond >
-
-pkgname=nccl
-pkgver=2.7.3
-_upstr_pkgrel=1
-pkgrel=1
-pkgdesc='Library for NVIDIA multi-GPU and multi-node collective communication primitives'
-arch=('x86_64')
-url='https://developer.nvidia.com/nccl/'
-license=('BSD')
-depends=('glibc')
-makedepends=('git' 'cuda')
-source=("$pkgname"::"git+https://github.com/NVIDIA/nccl.git#tag=v${pkgver}-${_upstr_pkgrel}")
-sha256sums=('SKIP')
-
-prepare() {
- cd "$pkgname"
-
- # rename BUILDDIR Makefile variable to avoid conflict with makepkg's one
- local _file
- local _filelist
- _filelist="$(find . -type f -exec grep 'BUILDDIR' {} + | awk -F':' '{ print $1 }' | uniq)"
- for _file in $_filelist
- do
- sed -i 's/BUILDDIR/_BUILDPATH/g' "$_file"
- done
-}
-
-build() {
- cd "$pkgname"
-
- export NVCC_GENCODE="-gencode=arch=compute_35,code=sm_35 \
- -gencode=arch=compute_35,code=compute_35 \
- -gencode=arch=compute_50,code=sm_50 \
- -gencode=arch=compute_50,code=compute_50 \
- -gencode=arch=compute_52,code=sm_52 \
- -gencode=arch=compute_52,code=compute_52 \
- -gencode=arch=compute_60,code=sm_60 \
- -gencode=arch=compute_60,code=compute_60 \
- -gencode=arch=compute_61,code=sm_61 \
- -gencode=arch=compute_61,code=compute_61 \
- -gencode=arch=compute_70,code=sm_70 \
- -gencode=arch=compute_70,code=compute_70 \
- -gencode=arch=compute_72,code=sm_72 \
- -gencode=arch=compute_72,code=compute_72 \
- -gencode=arch=compute_75,code=sm_75 \
- -gencode=arch=compute_75,code=compute_75 \
- -gencode=arch=compute_60,code=sm_60 \
- -gencode=arch=compute_60,code=compute_60 \
- -gencode=arch=compute_61,code=sm_61 \
- -gencode=arch=compute_61,code=compute_61 \
- -gencode=arch=compute_70,code=sm_70 \
- -gencode=arch=compute_70,code=compute_70 \
- -gencode=arch=compute_72,code=sm_72 \
- -gencode=arch=compute_72,code=compute_72 \
- -gencode=arch=compute_75,code=sm_75 \
- -gencode=arch=compute_75,code=compute_75 \
- -gencode=arch=compute_80,code=sm_80 \
- -gencode=arch=compute_80,code=compute_80"
-
- make CUDA_HOME=/opt/cuda PREFIX=/usr src.build
-}
-
-package() {
- cd "${pkgname}"
-
- make PREFIX="${pkgdir}"/usr install
-
- install -Dm644 "${srcdir}/${pkgname}"/LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
Copied: nccl/repos/community-x86_64/PKGBUILD (from rev 701424, nccl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-09-08 23:15:09 UTC (rev 701425)
@@ -0,0 +1,71 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Contributor: Daniel Bermond < yahoo-com: danielbermond >
+
+pkgname=nccl
+pkgver=2.7.8
+_upstr_pkgrel=1
+pkgrel=1
+pkgdesc='Library for NVIDIA multi-GPU and multi-node collective communication primitives'
+arch=('x86_64')
+url='https://developer.nvidia.com/nccl/'
+license=('BSD')
+depends=('glibc')
+makedepends=('git' 'cuda')
+source=("$pkgname"::"git+https://github.com/NVIDIA/nccl.git#tag=v${pkgver}-${_upstr_pkgrel}")
+sha256sums=('SKIP')
+
+prepare() {
+ cd "$pkgname"
+
+ # rename BUILDDIR Makefile variable to avoid conflict with makepkg's one
+ local _file
+ local _filelist
+ _filelist="$(find . -type f -exec grep 'BUILDDIR' {} + | awk -F':' '{ print $1 }' | uniq)"
+ for _file in $_filelist
+ do
+ sed -i 's/BUILDDIR/_BUILDPATH/g' "$_file"
+ done
+}
+
+build() {
+ cd "$pkgname"
+
+ export NVCC_GENCODE="-gencode=arch=compute_35,code=sm_35 \
+ -gencode=arch=compute_35,code=compute_35 \
+ -gencode=arch=compute_50,code=sm_50 \
+ -gencode=arch=compute_50,code=compute_50 \
+ -gencode=arch=compute_52,code=sm_52 \
+ -gencode=arch=compute_52,code=compute_52 \
+ -gencode=arch=compute_60,code=sm_60 \
+ -gencode=arch=compute_60,code=compute_60 \
+ -gencode=arch=compute_61,code=sm_61 \
+ -gencode=arch=compute_61,code=compute_61 \
+ -gencode=arch=compute_70,code=sm_70 \
+ -gencode=arch=compute_70,code=compute_70 \
+ -gencode=arch=compute_72,code=sm_72 \
+ -gencode=arch=compute_72,code=compute_72 \
+ -gencode=arch=compute_75,code=sm_75 \
+ -gencode=arch=compute_75,code=compute_75 \
+ -gencode=arch=compute_60,code=sm_60 \
+ -gencode=arch=compute_60,code=compute_60 \
+ -gencode=arch=compute_61,code=sm_61 \
+ -gencode=arch=compute_61,code=compute_61 \
+ -gencode=arch=compute_70,code=sm_70 \
+ -gencode=arch=compute_70,code=compute_70 \
+ -gencode=arch=compute_72,code=sm_72 \
+ -gencode=arch=compute_72,code=compute_72 \
+ -gencode=arch=compute_75,code=sm_75 \
+ -gencode=arch=compute_75,code=compute_75 \
+ -gencode=arch=compute_80,code=sm_80 \
+ -gencode=arch=compute_80,code=compute_80"
+
+ make CUDA_HOME=/opt/cuda PREFIX=/usr src.build
+}
+
+package() {
+ cd "${pkgname}"
+
+ 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