[arch-commits] Commit in nccl/repos (2 files)
Date: Saturday, August 6, 2022 @ 15:22:29 Author: kgizdov Revision: 1260429 archrelease: copy trunk to community-testing-x86_64 Added: nccl/repos/community-testing-x86_64/ nccl/repos/community-testing-x86_64/PKGBUILD (from rev 1260428, nccl/trunk/PKGBUILD) --+ PKGBUILD | 64 + 1 file changed, 64 insertions(+) Copied: nccl/repos/community-testing-x86_64/PKGBUILD (from rev 1260428, nccl/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2022-08-06 15:22:29 UTC (rev 1260429) @@ -0,0 +1,64 @@ +# Maintainer: Sven-Hendrik Haase +# Maintainer: Konstantin Gizdov +# Contributor: Daniel Bermond < yahoo-com: danielbermond > + +pkgname=nccl +pkgver=2.13.4 +_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' 'gcc-libs') +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" + + # https://docs.nvidia.com/cuda/turing-compatibility-guide/index.html + # specify as follows: + ## PTX virtual arch: -gencode=arch=compute_XX,code=compute_XX + ## binary cubin arch: -gencode=arch=compute_XX,code=sm_XX + # we provide binary support on all arches, no PTX is needed + # drop PTX to improve performance and reduce linking issues + # keep only latest version PTX for future compatibility + export NVCC_GENCODE="-gencode=arch=compute_52,code=sm_52 \ + -gencode=arch=compute_53,code=sm_53 \ + -gencode=arch=compute_60,code=sm_60 \ + -gencode=arch=compute_61,code=sm_61 \ + -gencode=arch=compute_62,code=sm_62 \ + -gencode=arch=compute_70,code=sm_70 \ + -gencode=arch=compute_72,code=sm_72 \ + -gencode=arch=compute_75,code=sm_75 \ + -gencode=arch=compute_80,code=sm_80 \ + -gencode=arch=compute_86,code=sm_86 \ + -gencode=arch=compute_86,code=compute_86" + + export CXXFLAGS+=" -ffat-lto-objects" + make CUDA_HOME=/opt/cuda PREFIX=/usr src.build +} + +package() { + cd "${pkgname}" + + make PREFIX="${pkgdir}"/usr install + # fix permission on static lib + chmod 644 "${pkgdir}"/usr/lib/libnccl_static.a + install -Dm644 "${srcdir}/${pkgname}"/LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +}
[arch-commits] Commit in nccl/repos (2 files)
Date: Tuesday, May 17, 2022 @ 21:04:13 Author: kgizdov Revision: 1207733 archrelease: copy trunk to community-staging-x86_64 Added: nccl/repos/community-staging-x86_64/ nccl/repos/community-staging-x86_64/PKGBUILD (from rev 1207732, nccl/trunk/PKGBUILD) --+ PKGBUILD | 64 + 1 file changed, 64 insertions(+) Copied: nccl/repos/community-staging-x86_64/PKGBUILD (from rev 1207732, nccl/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-05-17 21:04:13 UTC (rev 1207733) @@ -0,0 +1,64 @@ +# Maintainer: Sven-Hendrik Haase +# Maintainer: Konstantin Gizdov +# Contributor: Daniel Bermond < yahoo-com: danielbermond > + +pkgname=nccl +pkgver=2.12.12 +_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' 'gcc-libs') +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" + + # https://docs.nvidia.com/cuda/turing-compatibility-guide/index.html + # specify as follows: + ## PTX virtual arch: -gencode=arch=compute_XX,code=compute_XX + ## binary cubin arch: -gencode=arch=compute_XX,code=sm_XX + # we provide binary support on all arches, no PTX is needed + # drop PTX to improve performance and reduce linking issues + # keep only latest version PTX for future compatibility + export NVCC_GENCODE="-gencode=arch=compute_52,code=sm_52 \ + -gencode=arch=compute_53,code=sm_53 \ + -gencode=arch=compute_60,code=sm_60 \ + -gencode=arch=compute_61,code=sm_61 \ + -gencode=arch=compute_62,code=sm_62 \ + -gencode=arch=compute_70,code=sm_70 \ + -gencode=arch=compute_72,code=sm_72 \ + -gencode=arch=compute_75,code=sm_75 \ + -gencode=arch=compute_80,code=sm_80 \ + -gencode=arch=compute_86,code=sm_86 \ + -gencode=arch=compute_86,code=compute_86" + + export CXXFLAGS+=" -ffat-lto-objects" + make CUDA_HOME=/opt/cuda PREFIX=/usr src.build +} + +package() { + cd "${pkgname}" + + make PREFIX="${pkgdir}"/usr install + # fix permission on static lib + chmod 644 "${pkgdir}"/usr/lib/libnccl_static.a + install -Dm644 "${srcdir}/${pkgname}"/LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +}
[arch-commits] Commit in nccl/repos (2 files)
Date: Monday, April 18, 2022 @ 13:33:15 Author: kgizdov Revision: 1186985 archrelease: copy trunk to community-testing-x86_64 Added: nccl/repos/community-testing-x86_64/ nccl/repos/community-testing-x86_64/PKGBUILD (from rev 1186984, nccl/trunk/PKGBUILD) --+ PKGBUILD | 64 + 1 file changed, 64 insertions(+) Copied: nccl/repos/community-testing-x86_64/PKGBUILD (from rev 1186984, nccl/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2022-04-18 13:33:15 UTC (rev 1186985) @@ -0,0 +1,64 @@ +# Maintainer: Sven-Hendrik Haase +# Maintainer: Konstantin Gizdov +# Contributor: Daniel Bermond < yahoo-com: danielbermond > + +pkgname=nccl +pkgver=2.12.10 +_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' 'gcc-libs') +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" + + # https://docs.nvidia.com/cuda/turing-compatibility-guide/index.html + # specify as follows: + ## PTX virtual arch: -gencode=arch=compute_XX,code=compute_XX + ## binary cubin arch: -gencode=arch=compute_XX,code=sm_XX + # we provide binary support on all arches, no PTX is needed + # drop PTX to improve performance and reduce linking issues + # keep only latest version PTX for future compatibility + export NVCC_GENCODE="-gencode=arch=compute_52,code=sm_52 \ + -gencode=arch=compute_53,code=sm_53 \ + -gencode=arch=compute_60,code=sm_60 \ + -gencode=arch=compute_61,code=sm_61 \ + -gencode=arch=compute_62,code=sm_62 \ + -gencode=arch=compute_70,code=sm_70 \ + -gencode=arch=compute_72,code=sm_72 \ + -gencode=arch=compute_75,code=sm_75 \ + -gencode=arch=compute_80,code=sm_80 \ + -gencode=arch=compute_86,code=sm_86 \ + -gencode=arch=compute_86,code=compute_86" + + export CXXFLAGS+=" -ffat-lto-objects" + make CUDA_HOME=/opt/cuda PREFIX=/usr src.build +} + +package() { + cd "${pkgname}" + + make PREFIX="${pkgdir}"/usr install + # fix permission on static lib + chmod 644 "${pkgdir}"/usr/lib/libnccl_static.a + install -Dm644 "${srcdir}/${pkgname}"/LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +}
[arch-commits] Commit in nccl/repos (2 files)
Date: Tuesday, March 8, 2022 @ 12:03:14 Author: kgizdov Revision: 1145466 archrelease: copy trunk to community-testing-x86_64 Added: nccl/repos/community-testing-x86_64/ nccl/repos/community-testing-x86_64/PKGBUILD (from rev 1145465, nccl/trunk/PKGBUILD) --+ PKGBUILD | 64 + 1 file changed, 64 insertions(+) Copied: nccl/repos/community-testing-x86_64/PKGBUILD (from rev 1145465, nccl/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2022-03-08 12:03:14 UTC (rev 1145466) @@ -0,0 +1,64 @@ +# Maintainer: Sven-Hendrik Haase +# Maintainer: Konstantin Gizdov +# Contributor: Daniel Bermond < yahoo-com: danielbermond > + +pkgname=nccl +pkgver=2.12.7 +_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' 'gcc-libs') +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" + + # https://docs.nvidia.com/cuda/turing-compatibility-guide/index.html + # specify as follows: + ## PTX virtual arch: -gencode=arch=compute_XX,code=compute_XX + ## binary cubin arch: -gencode=arch=compute_XX,code=sm_XX + # we provide binary support on all arches, no PTX is needed + # drop PTX to improve performance and reduce linking issues + # keep only latest version PTX for future compatibility + export NVCC_GENCODE="-gencode=arch=compute_52,code=sm_52 \ + -gencode=arch=compute_53,code=sm_53 \ + -gencode=arch=compute_60,code=sm_60 \ + -gencode=arch=compute_61,code=sm_61 \ + -gencode=arch=compute_62,code=sm_62 \ + -gencode=arch=compute_70,code=sm_70 \ + -gencode=arch=compute_72,code=sm_72 \ + -gencode=arch=compute_75,code=sm_75 \ + -gencode=arch=compute_80,code=sm_80 \ + -gencode=arch=compute_86,code=sm_86 \ + -gencode=arch=compute_86,code=compute_86" + + export CXXFLAGS+=" -ffat-lto-objects" + make CUDA_HOME=/opt/cuda PREFIX=/usr src.build +} + +package() { + cd "${pkgname}" + + make PREFIX="${pkgdir}"/usr install + # fix permission on static lib + chmod 644 "${pkgdir}"/usr/lib/libnccl_static.a + install -Dm644 "${srcdir}/${pkgname}"/LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +}
[arch-commits] Commit in nccl/repos (2 files)
Date: Saturday, January 29, 2022 @ 22:52:34 Author: kgizdov Revision: 1120001 archrelease: copy trunk to community-testing-x86_64 Added: nccl/repos/community-testing-x86_64/ nccl/repos/community-testing-x86_64/PKGBUILD (from rev 112, nccl/trunk/PKGBUILD) --+ PKGBUILD | 64 + 1 file changed, 64 insertions(+) Copied: nccl/repos/community-testing-x86_64/PKGBUILD (from rev 112, nccl/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2022-01-29 22:52:34 UTC (rev 1120001) @@ -0,0 +1,64 @@ +# Maintainer: Sven-Hendrik Haase +# Maintainer: Konstantin Gizdov +# Contributor: Daniel Bermond < yahoo-com: danielbermond > + +pkgname=nccl +pkgver=2.11.4 +_upstr_pkgrel=1 +pkgrel=4 +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' 'gcc-libs') +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" + + # https://docs.nvidia.com/cuda/turing-compatibility-guide/index.html + # specify as follows: + ## PTX virtual arch: -gencode=arch=compute_XX,code=compute_XX + ## binary cubin arch: -gencode=arch=compute_XX,code=sm_XX + # we provide binary support on all arches, no PTX is needed + # drop PTX to improve performance and reduce linking issues + # keep only latest version PTX for future compatibility + export NVCC_GENCODE="-gencode=arch=compute_52,code=sm_52 \ + -gencode=arch=compute_53,code=sm_53 \ + -gencode=arch=compute_60,code=sm_60 \ + -gencode=arch=compute_61,code=sm_61 \ + -gencode=arch=compute_62,code=sm_62 \ + -gencode=arch=compute_70,code=sm_70 \ + -gencode=arch=compute_72,code=sm_72 \ + -gencode=arch=compute_75,code=sm_75 \ + -gencode=arch=compute_80,code=sm_80 \ + -gencode=arch=compute_86,code=sm_86 \ + -gencode=arch=compute_86,code=compute_86" + + export CXXFLAGS+=" -ffat-lto-objects" + make CUDA_HOME=/opt/cuda PREFIX=/usr src.build +} + +package() { + cd "${pkgname}" + + make PREFIX="${pkgdir}"/usr install + # fix permission on static lib + chmod 644 "${pkgdir}"/usr/lib/libnccl_static.a + install -Dm644 "${srcdir}/${pkgname}"/LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +}
[arch-commits] Commit in nccl/repos (2 files)
Date: Sunday, October 31, 2021 @ 02:39:46 Author: svenstaro Revision: 1035035 archrelease: copy trunk to community-testing-x86_64 Added: nccl/repos/community-testing-x86_64/ nccl/repos/community-testing-x86_64/PKGBUILD (from rev 1035034, nccl/trunk/PKGBUILD) --+ PKGBUILD | 63 + 1 file changed, 63 insertions(+) Copied: nccl/repos/community-testing-x86_64/PKGBUILD (from rev 1035034, nccl/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2021-10-31 02:39:46 UTC (rev 1035035) @@ -0,0 +1,63 @@ +# Maintainer: Sven-Hendrik Haase +# Maintainer: Konstantin Gizdov +# Contributor: Daniel Bermond < yahoo-com: danielbermond > + +pkgname=nccl +pkgver=2.11.4 +_upstr_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/' +license=('BSD') +depends=('glibc' 'gcc-libs') +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" + + # https://docs.nvidia.com/cuda/turing-compatibility-guide/index.html + # specify as follows: + ## PTX virtual arch: -gencode=arch=compute_XX,code=compute_XX + ## binary cubin arch: -gencode=arch=compute_XX,code=sm_XX + # we provide binary support on all arches, no PTX is needed + # drop PTX to improve performance and reduce linking issues + # keep only latest version PTX for future compatibility + export NVCC_GENCODE="-gencode=arch=compute_52,code=sm_52 \ + -gencode=arch=compute_53,code=sm_53 \ + -gencode=arch=compute_60,code=sm_60 \ + -gencode=arch=compute_61,code=sm_61 \ + -gencode=arch=compute_62,code=sm_62 \ + -gencode=arch=compute_70,code=sm_70 \ + -gencode=arch=compute_72,code=sm_72 \ + -gencode=arch=compute_75,code=sm_75 \ + -gencode=arch=compute_80,code=sm_80 \ + -gencode=arch=compute_86,code=sm_86 \ + -gencode=arch=compute_86,code=compute_86" + + make CUDA_HOME=/opt/cuda PREFIX=/usr src.build +} + +package() { + cd "${pkgname}" + + make PREFIX="${pkgdir}"/usr install + # fix permission on static lib + chmod 644 "${pkgdir}"/usr/lib/libnccl_static.a + install -Dm644 "${srcdir}/${pkgname}"/LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +}
[arch-commits] Commit in nccl/repos (2 files)
Date: Thursday, September 9, 2021 @ 16:32:57 Author: kgizdov Revision: 1013095 archrelease: copy trunk to community-testing-x86_64 Added: nccl/repos/community-testing-x86_64/ nccl/repos/community-testing-x86_64/PKGBUILD (from rev 1013094, nccl/trunk/PKGBUILD) --+ PKGBUILD | 63 + 1 file changed, 63 insertions(+) Copied: nccl/repos/community-testing-x86_64/PKGBUILD (from rev 1013094, nccl/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2021-09-09 16:32:57 UTC (rev 1013095) @@ -0,0 +1,63 @@ +# Maintainer: Sven-Hendrik Haase +# Maintainer: Konstantin Gizdov +# Contributor: Daniel Bermond < yahoo-com: danielbermond > + +pkgname=nccl +pkgver=2.11.4 +_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' 'gcc-libs') +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" + + # https://docs.nvidia.com/cuda/turing-compatibility-guide/index.html + # specify as follows: + ## PTX virtual arch: -gencode=arch=compute_XX,code=compute_XX + ## binary cubin arch: -gencode=arch=compute_XX,code=sm_XX + # we provide binary support on all arches, no PTX is needed + # drop PTX to improve performance and reduce linking issues + # keep only latest version PTX for future compatibility + export NVCC_GENCODE="-gencode=arch=compute_52,code=sm_52 \ + -gencode=arch=compute_53,code=sm_53 \ + -gencode=arch=compute_60,code=sm_60 \ + -gencode=arch=compute_61,code=sm_61 \ + -gencode=arch=compute_62,code=sm_62 \ + -gencode=arch=compute_70,code=sm_70 \ + -gencode=arch=compute_72,code=sm_72 \ + -gencode=arch=compute_75,code=sm_75 \ + -gencode=arch=compute_80,code=sm_80 \ + -gencode=arch=compute_86,code=sm_86 \ + -gencode=arch=compute_86,code=compute_86" + + make CUDA_HOME=/opt/cuda PREFIX=/usr src.build +} + +package() { + cd "${pkgname}" + + make PREFIX="${pkgdir}"/usr install + # fix permission on static lib + chmod 644 "${pkgdir}"/usr/lib/libnccl_static.a + install -Dm644 "${srcdir}/${pkgname}"/LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +}
[arch-commits] Commit in nccl/repos (2 files)
Date: Monday, August 16, 2021 @ 13:57:02 Author: kgizdov Revision: 1001010 archrelease: copy trunk to community-testing-x86_64 Added: nccl/repos/community-testing-x86_64/ nccl/repos/community-testing-x86_64/PKGBUILD (from rev 1001009, nccl/trunk/PKGBUILD) --+ PKGBUILD | 62 + 1 file changed, 62 insertions(+) Copied: nccl/repos/community-testing-x86_64/PKGBUILD (from rev 1001009, nccl/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2021-08-16 13:57:02 UTC (rev 1001010) @@ -0,0 +1,62 @@ +# Maintainer: Sven-Hendrik Haase +# Contributor: Daniel Bermond < yahoo-com: danielbermond > + +pkgname=nccl +pkgver=2.10.3 +_upstr_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/' +license=('BSD') +depends=('glibc' 'gcc-libs') +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" + + # https://docs.nvidia.com/cuda/turing-compatibility-guide/index.html + # specify as follows: + ## PTX virtual arch: -gencode=arch=compute_XX,code=compute_XX + ## binary cubin arch: -gencode=arch=compute_XX,code=sm_XX + # we provide binary support on all arches, no PTX is needed + # drop PTX to improve performance and reduce linking issues + # keep only latest version PTX for future compatibility + export NVCC_GENCODE="-gencode=arch=compute_52,code=sm_52 \ + -gencode=arch=compute_53,code=sm_53 \ + -gencode=arch=compute_60,code=sm_60 \ + -gencode=arch=compute_61,code=sm_61 \ + -gencode=arch=compute_62,code=sm_62 \ + -gencode=arch=compute_70,code=sm_70 \ + -gencode=arch=compute_72,code=sm_72 \ + -gencode=arch=compute_75,code=sm_75 \ + -gencode=arch=compute_80,code=sm_80 \ + -gencode=arch=compute_86,code=sm_86 \ + -gencode=arch=compute_86,code=compute_86" + + make CUDA_HOME=/opt/cuda PREFIX=/usr src.build +} + +package() { + cd "${pkgname}" + + make PREFIX="${pkgdir}"/usr install + # fix permission on static lib + chmod 644 "${pkgdir}"/usr/lib/libnccl_static.a + install -Dm644 "${srcdir}/${pkgname}"/LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +}
[arch-commits] Commit in nccl/repos (2 files)
Date: Wednesday, July 21, 2021 @ 07:46:17 Author: kgizdov Revision: 981553 archrelease: copy trunk to community-testing-x86_64 Added: nccl/repos/community-testing-x86_64/ nccl/repos/community-testing-x86_64/PKGBUILD (from rev 981552, nccl/trunk/PKGBUILD) --+ PKGBUILD | 62 + 1 file changed, 62 insertions(+) Copied: nccl/repos/community-testing-x86_64/PKGBUILD (from rev 981552, nccl/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2021-07-21 07:46:17 UTC (rev 981553) @@ -0,0 +1,62 @@ +# Maintainer: Sven-Hendrik Haase +# Contributor: Daniel Bermond < yahoo-com: danielbermond > + +pkgname=nccl +pkgver=2.10.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' 'gcc-libs') +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" + + # https://docs.nvidia.com/cuda/turing-compatibility-guide/index.html + # specify as follows: + ## PTX virtual arch: -gencode=arch=compute_XX,code=compute_XX + ## binary cubin arch: -gencode=arch=compute_XX,code=sm_XX + # we provide binary support on all arches, no PTX is needed + # drop PTX to improve performance and reduce linking issues + # keep only latest version PTX for future compatibility + export NVCC_GENCODE="-gencode=arch=compute_52,code=sm_52 \ + -gencode=arch=compute_53,code=sm_53 \ + -gencode=arch=compute_60,code=sm_60 \ + -gencode=arch=compute_61,code=sm_61 \ + -gencode=arch=compute_62,code=sm_62 \ + -gencode=arch=compute_70,code=sm_70 \ + -gencode=arch=compute_72,code=sm_72 \ + -gencode=arch=compute_75,code=sm_75 \ + -gencode=arch=compute_80,code=sm_80 \ + -gencode=arch=compute_86,code=sm_86 \ + -gencode=arch=compute_86,code=compute_86" + + make CUDA_HOME=/opt/cuda PREFIX=/usr src.build +} + +package() { + cd "${pkgname}" + + make PREFIX="${pkgdir}"/usr install + # fix permission on static lib + chmod 644 "${pkgdir}"/usr/lib/libnccl_static.a + install -Dm644 "${srcdir}/${pkgname}"/LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +}
[arch-commits] Commit in nccl/repos (2 files)
Date: Wednesday, June 9, 2021 @ 13:18:36 Author: kgizdov Revision: 960095 archrelease: copy trunk to community-testing-x86_64 Added: nccl/repos/community-testing-x86_64/ nccl/repos/community-testing-x86_64/PKGBUILD (from rev 960094, nccl/trunk/PKGBUILD) --+ PKGBUILD | 64 + 1 file changed, 64 insertions(+) Copied: nccl/repos/community-testing-x86_64/PKGBUILD (from rev 960094, nccl/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2021-06-09 13:18:36 UTC (rev 960095) @@ -0,0 +1,64 @@ +# Maintainer: Sven-Hendrik Haase +# Contributor: Daniel Bermond < yahoo-com: danielbermond > + +pkgname=nccl +pkgver=2.9.9 +_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' 'gcc-libs') +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_52,code=sm_52 \ + -gencode=arch=compute_52,code=compute_52 \ + -gencode=arch=compute_53,code=sm_53 \ + -gencode=arch=compute_53,code=compute_53 \ + -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_62,code=sm_62 \ + -gencode=arch=compute_62,code=compute_62 \ + -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 \ + -gencode=arch=compute_86,code=sm_86 \ + -gencode=arch=compute_86,code=compute_86" + + make CUDA_HOME=/opt/cuda PREFIX=/usr src.build +} + +package() { + cd "${pkgname}" + + make PREFIX="${pkgdir}"/usr install + # fix permission on static lib + chmod 644 "${pkgdir}"/usr/lib/libnccl_static.a + install -Dm644 "${srcdir}/${pkgname}"/LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +}
[arch-commits] Commit in nccl/repos (2 files)
Date: Friday, April 16, 2021 @ 15:48:47 Author: kgizdov Revision: 919502 archrelease: copy trunk to community-testing-x86_64 Added: nccl/repos/community-testing-x86_64/ nccl/repos/community-testing-x86_64/PKGBUILD (from rev 919501, nccl/trunk/PKGBUILD) --+ PKGBUILD | 64 + 1 file changed, 64 insertions(+) Copied: nccl/repos/community-testing-x86_64/PKGBUILD (from rev 919501, nccl/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2021-04-16 15:48:47 UTC (rev 919502) @@ -0,0 +1,64 @@ +# Maintainer: Sven-Hendrik Haase +# Contributor: Daniel Bermond < yahoo-com: danielbermond > + +pkgname=nccl +pkgver=2.8.4 +_upstr_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/' +license=('BSD') +depends=('glibc' 'gcc-libs') +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_52,code=sm_52 \ + -gencode=arch=compute_52,code=compute_52 \ + -gencode=arch=compute_53,code=sm_53 \ + -gencode=arch=compute_53,code=compute_53 \ + -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_62,code=sm_62 \ + -gencode=arch=compute_62,code=compute_62 \ + -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 \ + -gencode=arch=compute_86,code=sm_86 \ + -gencode=arch=compute_86,code=compute_86" + + make CUDA_HOME=/opt/cuda PREFIX=/usr src.build +} + +package() { + cd "${pkgname}" + + make PREFIX="${pkgdir}"/usr install + # fix permission on static lib + chmod 644 "${pkgdir}"/usr/lib/libnccl_static.a + install -Dm644 "${srcdir}/${pkgname}"/LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +}
[arch-commits] Commit in nccl/repos (2 files)
Date: Monday, February 15, 2021 @ 21:47:23 Author: kgizdov Revision: 862155 archrelease: copy trunk to community-testing-x86_64 Added: nccl/repos/community-testing-x86_64/ nccl/repos/community-testing-x86_64/PKGBUILD (from rev 862154, nccl/trunk/PKGBUILD) --+ PKGBUILD | 64 + 1 file changed, 64 insertions(+) Copied: nccl/repos/community-testing-x86_64/PKGBUILD (from rev 862154, nccl/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2021-02-15 21:47:23 UTC (rev 862155) @@ -0,0 +1,64 @@ +# Maintainer: Sven-Hendrik Haase +# Contributor: Daniel Bermond < yahoo-com: danielbermond > + +pkgname=nccl +pkgver=2.8.4 +_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' 'gcc-libs') +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_52,code=sm_52 \ + -gencode=arch=compute_52,code=compute_52 \ + -gencode=arch=compute_53,code=sm_53 \ + -gencode=arch=compute_53,code=compute_53 \ + -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_62,code=sm_62 \ + -gencode=arch=compute_62,code=compute_62 \ + -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 \ + -gencode=arch=compute_86,code=sm_86 \ + -gencode=arch=compute_86,code=compute_86" + + make CUDA_HOME=/opt/cuda PREFIX=/usr src.build +} + +package() { + cd "${pkgname}" + + make PREFIX="${pkgdir}"/usr install + # fix permission on static lib + chmod 644 "${pkgdir}"/usr/lib/libnccl_static.a + install -Dm644 "${srcdir}/${pkgname}"/LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +}
[arch-commits] Commit in nccl/repos (2 files)
Date: Tuesday, January 5, 2021 @ 06:02:46 Author: svenstaro Revision: 808353 archrelease: copy trunk to community-staging-x86_64 Added: nccl/repos/community-staging-x86_64/ nccl/repos/community-staging-x86_64/PKGBUILD (from rev 808352, nccl/trunk/PKGBUILD) --+ PKGBUILD | 63 + 1 file changed, 63 insertions(+) Copied: nccl/repos/community-staging-x86_64/PKGBUILD (from rev 808352, nccl/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-01-05 06:02:46 UTC (rev 808353) @@ -0,0 +1,63 @@ +# Maintainer: Sven-Hendrik Haase +# Contributor: Daniel Bermond < yahoo-com: danielbermond > + +pkgname=nccl +pkgver=2.8.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' 'gcc-libs') +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_52,code=sm_52 \ + -gencode=arch=compute_52,code=compute_52 \ + -gencode=arch=compute_53,code=sm_53 \ + -gencode=arch=compute_53,code=compute_53 \ + -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_62,code=sm_62 \ + -gencode=arch=compute_62,code=compute_62 \ + -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 \ + -gencode=arch=compute_86,code=sm_86 \ + -gencode=arch=compute_86,code=compute_86" + + 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" +}