[arch-commits] Commit in cuda/repos/community-testing-x86_64 (10 files)

2019-04-11 Thread Konstantin Gizdov via arch-commits
Date: Thursday, April 11, 2019 @ 16:38:23
  Author: kgizdov
Revision: 451143

archrelease: copy trunk to community-testing-x86_64

Added:
  cuda/repos/community-testing-x86_64/PKGBUILD
(from rev 451142, cuda/trunk/PKGBUILD)
  cuda/repos/community-testing-x86_64/cuda-findgllib_mk.diff
(from rev 451142, cuda/trunk/cuda-findgllib_mk.diff)
  cuda/repos/community-testing-x86_64/cuda.conf
(from rev 451142, cuda/trunk/cuda.conf)
  cuda/repos/community-testing-x86_64/cuda.install
(from rev 451142, cuda/trunk/cuda.install)
  cuda/repos/community-testing-x86_64/cuda.sh
(from rev 451142, cuda/trunk/cuda.sh)
Deleted:
  cuda/repos/community-testing-x86_64/PKGBUILD
  cuda/repos/community-testing-x86_64/cuda-findgllib_mk.diff
  cuda/repos/community-testing-x86_64/cuda.conf
  cuda/repos/community-testing-x86_64/cuda.install
  cuda/repos/community-testing-x86_64/cuda.sh

+
 PKGBUILD   |  166 +++
 cuda-findgllib_mk.diff |   44 ++--
 cuda.conf  |6 -
 cuda.install   |   22 +++---
 cuda.sh|2 
 5 files changed, 120 insertions(+), 120 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2019-04-11 16:37:54 UTC (rev 451142)
+++ PKGBUILD2019-04-11 16:38:23 UTC (rev 451143)
@@ -1,83 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Co-Maintainer: Konstantin Gizdov 
-pkgname=cuda
-pkgver=10.1.105
-_basever=10.1.105
-_driverver=418.39
-pkgrel=10
-pkgdesc="NVIDIA's GPU programming toolkit"
-arch=('x86_64')
-url="http://www.nvidia.com/object/cuda_home.html;
-license=('custom:NVIDIA')
-makedepends=('patchelf')
-depends=('gcc-libs' 'opencl-nvidia' 'nvidia-utils' 'gcc')
-replaces=('cuda-toolkit' 'cuda-sdk')
-provides=('cuda-toolkit' 'cuda-sdk')
-optdepends=('gdb: for cuda-gdb'
-'java-runtime=8: for nsight and nvvp')
-options=(!strip staticlibs)
-install=cuda.install
-source=(https://developer.nvidia.com/compute/cuda/10.1/Prod/local_installers/cuda_${_basever}_${_driverver}_linux.run
-cuda.sh
-cuda.conf
-cuda-findgllib_mk.diff)
-sha512sums=('07cdc053989758e4cdccaad566cae7127fa79780ad85033ea52d33cc4c43c9de08e88dd087390c58b542e51703f256859cdf51a018ee57e6a412f45fb9561622'
-
'ce0b8df5d918ec8429da4ab8f9dee463ac04055ee5b0beeb0386b67d765a4c892d314995776a0d695cd06bcfbaf996e4904935ddc898a9d774f6bf965d989dea'
-
'714d973bc79446f73bebe85306b3566fe25b554bcbcba2fcbe76709a3eca71fb5d183ab4da2d3b5e9326cb9cd8d13a93f6d4a005ea5a41f7ef8e6c6e81e06b5e'
-
'41d6b6cad934f135eafde610d1cbd862033977fd4416a4b6abaa47709a70bab7fcf6f8377c21329084fb9db13f2a8c8c20e93c15292d7d4a6448d70a33b23f1b')
-
-prepare() {
-  sh cuda_${_basever}_${_driverver}_linux.run --target ${srcdir} --noexec
-
-  # Fix up samples tht use findgllib_mk
-  for f in builds/cuda-samples/*/*/findgllib.mk; do
-patch $f cuda-findgllib_mk.diff
-  done
-}
-
-package() {
-  mkdir -p "${pkgdir}/opt/"
-
-  cd "${srcdir}/builds"
-  cp -r cuda-toolkit "${pkgdir}/opt/cuda"
-  cp -r cublas/include/* "${pkgdir}/opt/cuda/include/"
-  cp -r cublas/lib64/* "${pkgdir}/opt/cuda/lib64/"
-  cp -r cuda-samples "${pkgdir}/opt/cuda/samples"
-  ln -s /opt/cuda/targets/x86_64-linux/lib "${pkgdir}/opt/cuda/lib"
-  ln -s /opt/cuda/nvvm/lib64 "${pkgdir}/opt/cuda/nvvm/lib"
-
-  # Use GCC 8
-  ln -s /usr/bin/gcc "${pkgdir}/opt/cuda/bin/gcc"
-  ln -s /usr/bin/g++ "${pkgdir}/opt/cuda/bin/g++"
-
-  # Create soname variants with patchelf.
-  # We have to be weird about this since for some reason the ELF SONAME is 
incorrect or at least partially incorrect for some libs.
-  # Best we can do is copy those libs to *.so.10.1 variants, patchelf the 
SONAME and hope for the best.
-  # Their installer used to perform this for us but now it's all manual and I 
think this is what we'll be stuck with for now.
-  cd "${pkgdir}/opt/cuda/targets/x86_64-linux/lib"
-  find "${pkgdir}"/opt/cuda/targets/x86_64-linux/lib -type l -name "*.so.10" ! 
-path "*stubs/*" -print0 | while read -rd '' _lib; do
-_current_soname=$(basename ${_lib})
-if [ ! -f "${_current_soname}.1" ]; then
-  echo "copying ${_current_soname} to ${_current_soname}.1 version"
-  cp ${_current_soname} "${_current_soname}.1"
-  echo "patching ${_current_soname}.1 SONAME to match ${_current_soname}.1"
-  patchelf --set-soname "${_current_soname}.1" "${_current_soname}.1"
-fi
-  done
-
-  # Install profile and ld.so.config files
-  install -Dm755 "${srcdir}/cuda.sh" "${pkgdir}/etc/profile.d/cuda.sh"
-  install -Dm644 "${srcdir}/cuda.conf" "${pkgdir}/etc/ld.so.conf.d/cuda.conf"
-
-  mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}"
-  ln -s /opt/cuda/doc/pdf/EULA.pdf 
"${pkgdir}/usr/share/licenses/${pkgname}/EULA.pdf"
-
-  # Remove included copy of java and link to system java
-  rm -fr  "${pkgdir}/opt/cuda/jre"
-  sed 's|../jre/bin/java|/usr/bin/java|g' \
--i 

[arch-commits] Commit in cuda/repos/community-testing-x86_64 (10 files)

2019-04-11 Thread Konstantin Gizdov via arch-commits
Date: Thursday, April 11, 2019 @ 15:39:00
  Author: kgizdov
Revision: 451127

archrelease: copy trunk to community-testing-x86_64

Added:
  cuda/repos/community-testing-x86_64/PKGBUILD
(from rev 451126, cuda/trunk/PKGBUILD)
  cuda/repos/community-testing-x86_64/cuda-findgllib_mk.diff
(from rev 451126, cuda/trunk/cuda-findgllib_mk.diff)
  cuda/repos/community-testing-x86_64/cuda.conf
(from rev 451126, cuda/trunk/cuda.conf)
  cuda/repos/community-testing-x86_64/cuda.install
(from rev 451126, cuda/trunk/cuda.install)
  cuda/repos/community-testing-x86_64/cuda.sh
(from rev 451126, cuda/trunk/cuda.sh)
Deleted:
  cuda/repos/community-testing-x86_64/PKGBUILD
  cuda/repos/community-testing-x86_64/cuda-findgllib_mk.diff
  cuda/repos/community-testing-x86_64/cuda.conf
  cuda/repos/community-testing-x86_64/cuda.install
  cuda/repos/community-testing-x86_64/cuda.sh

+
 PKGBUILD   |  179 +--
 cuda-findgllib_mk.diff |   44 +--
 cuda.conf  |6 -
 cuda.install   |   22 ++---
 cuda.sh|2 
 5 files changed, 120 insertions(+), 133 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2019-04-11 15:38:25 UTC (rev 451126)
+++ PKGBUILD2019-04-11 15:39:00 UTC (rev 451127)
@@ -1,96 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Co-Maintainer: Konstantin Gizdov 
-pkgname=cuda
-pkgver=10.1.105
-_basever=10.1.105
-_driverver=418.39
-pkgrel=8
-pkgdesc="NVIDIA's GPU programming toolkit"
-arch=('x86_64')
-url="http://www.nvidia.com/object/cuda_home.html;
-license=('custom:NVIDIA')
-makedepends=('patchelf')
-depends=('gcc-libs' 'opencl-nvidia' 'nvidia-utils' 'gcc')
-replaces=('cuda-toolkit' 'cuda-sdk')
-provides=('cuda-toolkit' 'cuda-sdk')
-optdepends=('gdb: for cuda-gdb'
-'java-runtime: for nsight and nvvp')
-options=(!strip staticlibs)
-install=cuda.install
-source=(https://developer.nvidia.com/compute/cuda/10.1/Prod/local_installers/cuda_${_basever}_${_driverver}_linux.run
-cuda.sh
-cuda.conf
-cuda-findgllib_mk.diff)
-sha512sums=('07cdc053989758e4cdccaad566cae7127fa79780ad85033ea52d33cc4c43c9de08e88dd087390c58b542e51703f256859cdf51a018ee57e6a412f45fb9561622'
-
'ce0b8df5d918ec8429da4ab8f9dee463ac04055ee5b0beeb0386b67d765a4c892d314995776a0d695cd06bcfbaf996e4904935ddc898a9d774f6bf965d989dea'
-
'714d973bc79446f73bebe85306b3566fe25b554bcbcba2fcbe76709a3eca71fb5d183ab4da2d3b5e9326cb9cd8d13a93f6d4a005ea5a41f7ef8e6c6e81e06b5e'
-
'41d6b6cad934f135eafde610d1cbd862033977fd4416a4b6abaa47709a70bab7fcf6f8377c21329084fb9db13f2a8c8c20e93c15292d7d4a6448d70a33b23f1b')
-
-prepare() {
-  sh cuda_${_basever}_${_driverver}_linux.run --target ${srcdir} --noexec
-
-  # Fix up samples tht use findgllib_mk
-  for f in builds/cuda-samples/*/*/findgllib.mk; do
-patch $f cuda-findgllib_mk.diff
-  done
-}
-
-package() {
-  mkdir -p "${pkgdir}/opt/"
-
-  cd "${srcdir}/builds"
-  cp -r cuda-toolkit "${pkgdir}/opt/cuda"
-  cp -r cublas/include/* "${pkgdir}/opt/cuda/include/"
-  cp -r cublas/lib64/* "${pkgdir}/opt/cuda/lib64/"
-  cp -r cuda-samples "${pkgdir}/opt/cuda/samples"
-  ln -s /opt/cuda/targets/x86_64-linux/lib "${pkgdir}/opt/cuda/lib"
-  ln -s /opt/cuda/nvvm/lib64 "${pkgdir}/opt/cuda/nvvm/lib"
-
-  # Use GCC 8
-  ln -s /usr/bin/gcc "${pkgdir}/opt/cuda/bin/gcc"
-  ln -s /usr/bin/g++ "${pkgdir}/opt/cuda/bin/g++"
-
-  # Create soname links.
-  # We have to be weird about this since for some reason the ELF SONAME is 
incorrect or at least partially incorrect for some libs.
-  # Best we can do is create all symlinks and hope for the best.
-  # Their installer used to perform this for us but now it's all manual and I 
think this is what we'll be stuck with for now.
-  # find cuda-toolkit/targets -type f -name '*.so*' ! -path '*stubs/*' -print0 
| while read -rd '' _lib; do
-  #   _base=${_lib%.so.*}
-  #   _current_soname=$(basename ${_lib%.*})
-  #   while [[ $_current_soname != $(basename $_base) ]]; do
-  # ln -sf ${_lib##*/} ${pkgdir}/opt/cuda/lib64/$_current_soname
-  # _current_soname=${_current_soname%.*}
-  #   done
-  # done
-
-  # Try to patch unmatching SONAMEs
-  patchlibs=(libcublasLt.so.10 libcublas.so.10 libcufft.so.10 libcufftw.so.10
- libcurand.so.10 libcusolver.so.10 libcusparse.so.10 libnppc.so.10
- libnppial.so.10 libnppicc.so.10 libnppicom.so.10 libnppidei.so.10
- libnppif.so.10 libnppig.so.10 libnppim.so.10 libnppist.so.10
- libnppisu.so.10 libnppitc.so.10 libnpps.so.10 libnvblas.so.10
- libnvgraph.so.10 libnvjpeg.so.10)
-  cd "${pkgdir}/opt/cuda/targets/x86_64-linux/lib"
-  for plib in "${patchlibs[@]}"; do
-echo "copying ${plib} to ${plib}.1 version"
-cp ${plib} "${plib}.1"
-echo "patching ${plib}.1 SONAME to match ${plib}.1"
-patchelf --set-soname "${plib}.1" 

[arch-commits] Commit in cuda/repos/community-testing-x86_64 (10 files)

2019-04-11 Thread Konstantin Gizdov via arch-commits
Date: Thursday, April 11, 2019 @ 11:30:54
  Author: kgizdov
Revision: 451085

archrelease: copy trunk to community-testing-x86_64

Added:
  cuda/repos/community-testing-x86_64/PKGBUILD
(from rev 451084, cuda/trunk/PKGBUILD)
  cuda/repos/community-testing-x86_64/cuda-findgllib_mk.diff
(from rev 451084, cuda/trunk/cuda-findgllib_mk.diff)
  cuda/repos/community-testing-x86_64/cuda.conf
(from rev 451084, cuda/trunk/cuda.conf)
  cuda/repos/community-testing-x86_64/cuda.install
(from rev 451084, cuda/trunk/cuda.install)
  cuda/repos/community-testing-x86_64/cuda.sh
(from rev 451084, cuda/trunk/cuda.sh)
Deleted:
  cuda/repos/community-testing-x86_64/PKGBUILD
  cuda/repos/community-testing-x86_64/cuda-findgllib_mk.diff
  cuda/repos/community-testing-x86_64/cuda.conf
  cuda/repos/community-testing-x86_64/cuda.install
  cuda/repos/community-testing-x86_64/cuda.sh

+
 PKGBUILD   |  194 +++
 cuda-findgllib_mk.diff |   44 +-
 cuda.conf  |6 -
 cuda.install   |   22 ++---
 cuda.sh|2 
 5 files changed, 133 insertions(+), 135 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2019-04-11 11:30:01 UTC (rev 451084)
+++ PKGBUILD2019-04-11 11:30:54 UTC (rev 451085)
@@ -1,98 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Co-Maintainer: Konstantin Gizdov 
-pkgname=cuda
-pkgver=10.1.105
-_basever=10.1.105
-_driverver=418.39
-pkgrel=7
-pkgdesc="NVIDIA's GPU programming toolkit"
-arch=('x86_64')
-url="http://www.nvidia.com/object/cuda_home.html;
-license=('custom:NVIDIA')
-makedepends=('patchelf')
-depends=('gcc-libs' 'opencl-nvidia' 'nvidia-utils' 'gcc')
-replaces=('cuda-toolkit' 'cuda-sdk')
-provides=('cuda-toolkit' 'cuda-sdk')
-optdepends=('gdb: for cuda-gdb'
-'java-runtime: for nsight and nvvp')
-options=(!strip staticlibs)
-install=cuda.install
-source=(https://developer.nvidia.com/compute/cuda/10.1/Prod/local_installers/cuda_${_basever}_${_driverver}_linux.run
-cuda.sh
-cuda.conf
-cuda-findgllib_mk.diff)
-sha512sums=('07cdc053989758e4cdccaad566cae7127fa79780ad85033ea52d33cc4c43c9de08e88dd087390c58b542e51703f256859cdf51a018ee57e6a412f45fb9561622'
-
'ce0b8df5d918ec8429da4ab8f9dee463ac04055ee5b0beeb0386b67d765a4c892d314995776a0d695cd06bcfbaf996e4904935ddc898a9d774f6bf965d989dea'
-
'714d973bc79446f73bebe85306b3566fe25b554bcbcba2fcbe76709a3eca71fb5d183ab4da2d3b5e9326cb9cd8d13a93f6d4a005ea5a41f7ef8e6c6e81e06b5e'
-
'41d6b6cad934f135eafde610d1cbd862033977fd4416a4b6abaa47709a70bab7fcf6f8377c21329084fb9db13f2a8c8c20e93c15292d7d4a6448d70a33b23f1b')
-
-prepare() {
-  sh cuda_${_basever}_${_driverver}_linux.run --target ${srcdir} --noexec
-
-  # Fix up samples tht use findgllib_mk
-  for f in builds/cuda-samples/*/*/findgllib.mk; do
-patch $f cuda-findgllib_mk.diff
-  done
-}
-
-package() {
-  mkdir -p "${pkgdir}/opt/"
-
-  cd "${srcdir}/builds"
-  cp -r cuda-toolkit "${pkgdir}/opt/cuda"
-  cp -r cublas/include/* "${pkgdir}/opt/cuda/include/"
-  cp -r cublas/lib64/* "${pkgdir}/opt/cuda/lib64/"
-  cp -r cuda-samples "${pkgdir}/opt/cuda/samples"
-  cd "${pkgdir}/opt/cuda"
-  ln -s "${pkgdir}/opt/cuda/lib64" lib
-  cd "${pkgdir}/opt/cuda/nvvm"
-  ln -s "${pkgdir}/opt/cuda/nvvm/lib64" lib
-
-  # Use GCC 8
-  ln -s /usr/bin/gcc "${pkgdir}/opt/cuda/bin/gcc"
-  ln -s /usr/bin/g++ "${pkgdir}/opt/cuda/bin/g++"
-
-  # Create soname links.
-  # We have to be weird about this since for some reason the ELF SONAME is 
incorrect or at least partially incorrect for some libs.
-  # Best we can do is create all symlinks and hope for the best.
-  # Their installer used to perform this for us but now it's all manual and I 
think this is what we'll be stuck with for now.
-  # find cuda-toolkit/targets -type f -name '*.so*' ! -path '*stubs/*' -print0 
| while read -rd '' _lib; do
-  #   _base=${_lib%.so.*}
-  #   _current_soname=$(basename ${_lib%.*})
-  #   while [[ $_current_soname != $(basename $_base) ]]; do
-  # ln -sf ${_lib##*/} ${pkgdir}/opt/cuda/lib64/$_current_soname
-  # _current_soname=${_current_soname%.*}
-  #   done
-  # done
-
-  # Try to patch unmatching SONAMEs
-  patchlibs=(libcublasLt.so.10 libcublas.so.10 libcufft.so.10 libcufftw.so.10
- libcurand.so.10 libcusolver.so.10 libcusparse.so.10 libnppc.so.10
- libnppial.so.10 libnppicc.so.10 libnppicom.so.10 libnppidei.so.10
- libnppif.so.10 libnppig.so.10 libnppim.so.10 libnppist.so.10
- libnppisu.so.10 libnppitc.so.10 libnpps.so.10 libnvblas.so.10
- libnvgraph.so.10 libnvjpeg.so.10)
-  cd "${pkgdir}/opt/cuda/targets/x86_64-linux/lib"
-  for plib in "${patchlibs[@]}"; do
-echo "copying ${plib} to ${plib}.1 version"
-cp ${plib} "${plib}.1"
-echo "patching ${plib}.1 SONAME to match ${plib}.1"
-patchelf --set-soname 

[arch-commits] Commit in cuda/repos/community-testing-x86_64 (10 files)

2019-03-01 Thread Sven-Hendrik Haase via arch-commits
Date: Friday, March 1, 2019 @ 23:31:55
  Author: svenstaro
Revision: 437334

archrelease: copy trunk to community-testing-x86_64

Added:
  cuda/repos/community-testing-x86_64/PKGBUILD
(from rev 437333, cuda/trunk/PKGBUILD)
  cuda/repos/community-testing-x86_64/cuda-findgllib_mk.diff
(from rev 437333, cuda/trunk/cuda-findgllib_mk.diff)
  cuda/repos/community-testing-x86_64/cuda.conf
(from rev 437333, cuda/trunk/cuda.conf)
  cuda/repos/community-testing-x86_64/cuda.install
(from rev 437333, cuda/trunk/cuda.install)
  cuda/repos/community-testing-x86_64/cuda.sh
(from rev 437333, cuda/trunk/cuda.sh)
Deleted:
  cuda/repos/community-testing-x86_64/PKGBUILD
  cuda/repos/community-testing-x86_64/cuda-findgllib_mk.diff
  cuda/repos/community-testing-x86_64/cuda.conf
  cuda/repos/community-testing-x86_64/cuda.install
  cuda/repos/community-testing-x86_64/cuda.sh

+
 PKGBUILD   |  154 ---
 cuda-findgllib_mk.diff |   44 ++---
 cuda.conf  |6 -
 cuda.install   |   22 +++---
 cuda.sh|2 
 5 files changed, 116 insertions(+), 112 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2019-03-01 23:31:18 UTC (rev 437333)
+++ PKGBUILD2019-03-01 23:31:55 UTC (rev 437334)
@@ -1,75 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-pkgname=cuda
-pkgver=10.1.105
-_basever=10.1.105
-_driverver=418.39
-pkgrel=4
-pkgdesc="NVIDIA's GPU programming toolkit"
-arch=('x86_64')
-url="http://www.nvidia.com/object/cuda_home.html;
-license=('custom:NVIDIA')
-depends=('gcc-libs' 'opencl-nvidia' 'nvidia-utils')
-replaces=('cuda-toolkit' 'cuda-sdk')
-provides=('cuda-toolkit' 'cuda-sdk')
-optdepends=('gdb: for cuda-gdb'
-'java-runtime: for nsight and nvvp')
-options=(!strip staticlibs)
-install=cuda.install
-source=(https://developer.nvidia.com/compute/cuda/10.1/Prod/local_installers/cuda_${_basever}_${_driverver}_linux.run
-cuda.sh
-cuda.conf
-cuda-findgllib_mk.diff)
-sha512sums=('07cdc053989758e4cdccaad566cae7127fa79780ad85033ea52d33cc4c43c9de08e88dd087390c58b542e51703f256859cdf51a018ee57e6a412f45fb9561622'
-
'ce0b8df5d918ec8429da4ab8f9dee463ac04055ee5b0beeb0386b67d765a4c892d314995776a0d695cd06bcfbaf996e4904935ddc898a9d774f6bf965d989dea'
-
'714d973bc79446f73bebe85306b3566fe25b554bcbcba2fcbe76709a3eca71fb5d183ab4da2d3b5e9326cb9cd8d13a93f6d4a005ea5a41f7ef8e6c6e81e06b5e'
-
'41d6b6cad934f135eafde610d1cbd862033977fd4416a4b6abaa47709a70bab7fcf6f8377c21329084fb9db13f2a8c8c20e93c15292d7d4a6448d70a33b23f1b')
-
-prepare() {
-  sh cuda_${_basever}_${_driverver}_linux.run --target ${srcdir} --noexec
-
-  # Fix up samples tht use findgllib_mk
-  for f in builds/cuda-samples/*/*/findgllib.mk; do
-patch $f cuda-findgllib_mk.diff
-  done
-}
-
-package() {
-  mkdir -p "${pkgdir}/opt/"
-
-  cd builds
-  cp -r cuda-toolkit "${pkgdir}/opt/cuda"
-  cp -r cublas/include/* "${pkgdir}/opt/cuda/include/"
-  cp -r cublas/lib64/* "${pkgdir}/opt/cuda/lib64/"
-  cp -r cuda-samples "${pkgdir}/opt/cuda/samples"
-  ln -s lib "${pkgdir}/opt/cuda/lib64"
-  ln -s lib "${pkgdir}/opt/cuda/nvvm/lib64"
-
-  # Create soname links.
-  # We have to be weird about this since for some reason the ELF SONAME is 
incorrect or at least partially incorrect for some libs.
-  # Best we can do is create all symlinks and hope for the best.
-  # Their installer used to perform this for us but now it's all manual and I 
think this is what we'll be stuck with for now.
-  find cuda-toolkit/targets -type f -name '*.so*' ! -path '*stubs/*' -print0 | 
while read -rd '' _lib; do
-_base=${_lib%.so.*}
-_current_soname=$(basename ${_lib%.*})
-while [[ $_current_soname != $(basename $_base) ]]; do
-  ln -sf ${_lib##*/} ${pkgdir}/opt/cuda/lib64/$_current_soname
-  _current_soname=${_current_soname%.*}
-done
-  done
-
-  # Install profile and ld.so.config files
-  install -Dm755 "${srcdir}/cuda.sh" "${pkgdir}/etc/profile.d/cuda.sh"
-  install -Dm644 "${srcdir}/cuda.conf" "${pkgdir}/etc/ld.so.conf.d/cuda.conf"
-
-  mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}"
-  ln -s /opt/cuda/doc/pdf/EULA.pdf 
"${pkgdir}/usr/share/licenses/${pkgname}/EULA.pdf"
-
-  # Remove included copy of java and link to system java
-  rm -fr  "${pkgdir}/opt/cuda/jre"
-  sed 's|../jre/bin/java|/usr/bin/java|g' \
--i "${pkgdir}/opt/cuda/libnsight/nsight.ini" \
--i "${pkgdir}/opt/cuda/libnvvp/nvvp.ini"
-}
-
-# vim:set ts=2 sw=2 et:
-

Copied: cuda/repos/community-testing-x86_64/PKGBUILD (from rev 437333, 
cuda/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2019-03-01 23:31:55 UTC (rev 437334)
@@ -0,0 +1,79 @@
+# Maintainer: Sven-Hendrik Haase 
+pkgname=cuda
+pkgver=10.1.105
+_basever=10.1.105
+_driverver=418.39

[arch-commits] Commit in cuda/repos/community-testing-x86_64 (10 files)

2019-03-01 Thread Sven-Hendrik Haase via arch-commits
Date: Friday, March 1, 2019 @ 19:16:57
  Author: svenstaro
Revision: 437313

archrelease: copy trunk to community-testing-x86_64

Added:
  cuda/repos/community-testing-x86_64/PKGBUILD
(from rev 437312, cuda/trunk/PKGBUILD)
  cuda/repos/community-testing-x86_64/cuda-findgllib_mk.diff
(from rev 437312, cuda/trunk/cuda-findgllib_mk.diff)
  cuda/repos/community-testing-x86_64/cuda.conf
(from rev 437312, cuda/trunk/cuda.conf)
  cuda/repos/community-testing-x86_64/cuda.install
(from rev 437312, cuda/trunk/cuda.install)
  cuda/repos/community-testing-x86_64/cuda.sh
(from rev 437312, cuda/trunk/cuda.sh)
Deleted:
  cuda/repos/community-testing-x86_64/PKGBUILD
  cuda/repos/community-testing-x86_64/cuda-findgllib_mk.diff
  cuda/repos/community-testing-x86_64/cuda.conf
  cuda/repos/community-testing-x86_64/cuda.install
  cuda/repos/community-testing-x86_64/cuda.sh

+
 PKGBUILD   |  139 +--
 cuda-findgllib_mk.diff |   44 +++---
 cuda.conf  |6 +-
 cuda.install   |   22 +++
 cuda.sh|2 
 5 files changed, 112 insertions(+), 101 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2019-03-01 19:16:30 UTC (rev 437312)
+++ PKGBUILD2019-03-01 19:16:57 UTC (rev 437313)
@@ -1,64 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-pkgname=cuda
-pkgver=10.1.105
-_basever=10.1.105
-_driverver=418.39
-pkgrel=3
-pkgdesc="NVIDIA's GPU programming toolkit"
-arch=('x86_64')
-url="http://www.nvidia.com/object/cuda_home.html;
-license=('custom:NVIDIA')
-depends=('gcc-libs' 'opencl-nvidia' 'nvidia-utils')
-replaces=('cuda-toolkit' 'cuda-sdk')
-provides=('cuda-toolkit' 'cuda-sdk')
-optdepends=('gdb: for cuda-gdb'
-'java-runtime: for nsight and nvvp')
-options=(!strip staticlibs)
-install=cuda.install
-source=(https://developer.nvidia.com/compute/cuda/10.1/Prod/local_installers/cuda_${_basever}_${_driverver}_linux.run
-cuda.sh
-cuda.conf
-cuda-findgllib_mk.diff)
-sha512sums=('07cdc053989758e4cdccaad566cae7127fa79780ad85033ea52d33cc4c43c9de08e88dd087390c58b542e51703f256859cdf51a018ee57e6a412f45fb9561622'
-
'ce0b8df5d918ec8429da4ab8f9dee463ac04055ee5b0beeb0386b67d765a4c892d314995776a0d695cd06bcfbaf996e4904935ddc898a9d774f6bf965d989dea'
-
'714d973bc79446f73bebe85306b3566fe25b554bcbcba2fcbe76709a3eca71fb5d183ab4da2d3b5e9326cb9cd8d13a93f6d4a005ea5a41f7ef8e6c6e81e06b5e'
-
'41d6b6cad934f135eafde610d1cbd862033977fd4416a4b6abaa47709a70bab7fcf6f8377c21329084fb9db13f2a8c8c20e93c15292d7d4a6448d70a33b23f1b')
-
-prepare() {
-  sh cuda_${_basever}_${_driverver}_linux.run --target ${srcdir} --noexec
-
-  # Fix up samples tht use findgllib_mk
-  for f in builds/cuda-samples/*/*/findgllib.mk; do
-patch $f cuda-findgllib_mk.diff
-  done
-}
-
-package() {
-  mkdir -p "${pkgdir}/opt/"
-
-  cd builds
-  cp -r cuda-toolkit "${pkgdir}/opt/cuda"
-  cp -r cublas/include/* "${pkgdir}/opt/cuda/include/"
-  cp -r cublas/lib64/* "${pkgdir}/opt/cuda/lib64/"
-  cp -r cuda-samples "${pkgdir}/opt/cuda/samples"
-  ln -s lib "${pkgdir}/opt/cuda/lib64"
-  ln -s lib "${pkgdir}/opt/cuda/nvvm/lib64"
-
-  # How did they forget these symlinks?
-  ln -s libcublasLt.so.10 "${pkgdir}"/opt/cuda/lib64/libcublasLt.so.10.1
-  ln -s libcublas.so.10 "${pkgdir}"/opt/cuda/lib64/libcublas.so.10.1
-  ln -s libnvblas.so.10 "${pkgdir}"/opt/cuda/lib64/libnvblas.so.10.1
-
-  # Install profile and ld.so.config files
-  install -Dm755 "${srcdir}/cuda.sh" "${pkgdir}/etc/profile.d/cuda.sh"
-  install -Dm644 "${srcdir}/cuda.conf" "${pkgdir}/etc/ld.so.conf.d/cuda.conf"
-
-  mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}"
-  ln -s /opt/cuda/doc/pdf/EULA.pdf 
"${pkgdir}/usr/share/licenses/${pkgname}/EULA.pdf"
-
-  # Remove included copy of java and link to system java
-  rm -fr  "${pkgdir}/opt/cuda/jre"
-  sed 's|../jre/bin/java|/usr/bin/java|g' \
--i "${pkgdir}/opt/cuda/libnsight/nsight.ini" \
--i "${pkgdir}/opt/cuda/libnvvp/nvvp.ini"
-}

Copied: cuda/repos/community-testing-x86_64/PKGBUILD (from rev 437312, 
cuda/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2019-03-01 19:16:57 UTC (rev 437313)
@@ -0,0 +1,75 @@
+# Maintainer: Sven-Hendrik Haase 
+pkgname=cuda
+pkgver=10.1.105
+_basever=10.1.105
+_driverver=418.39
+pkgrel=4
+pkgdesc="NVIDIA's GPU programming toolkit"
+arch=('x86_64')
+url="http://www.nvidia.com/object/cuda_home.html;
+license=('custom:NVIDIA')
+depends=('gcc-libs' 'opencl-nvidia' 'nvidia-utils')
+replaces=('cuda-toolkit' 'cuda-sdk')
+provides=('cuda-toolkit' 'cuda-sdk')
+optdepends=('gdb: for cuda-gdb'
+'java-runtime: for nsight and nvvp')
+options=(!strip staticlibs)
+install=cuda.install

[arch-commits] Commit in cuda/repos/community-testing-x86_64 (10 files)

2019-02-28 Thread Sven-Hendrik Haase via arch-commits
Date: Thursday, February 28, 2019 @ 11:16:33
  Author: svenstaro
Revision: 437023

archrelease: copy trunk to community-testing-x86_64

Added:
  cuda/repos/community-testing-x86_64/PKGBUILD
(from rev 437022, cuda/trunk/PKGBUILD)
  cuda/repos/community-testing-x86_64/cuda-findgllib_mk.diff
(from rev 437022, cuda/trunk/cuda-findgllib_mk.diff)
  cuda/repos/community-testing-x86_64/cuda.conf
(from rev 437022, cuda/trunk/cuda.conf)
  cuda/repos/community-testing-x86_64/cuda.install
(from rev 437022, cuda/trunk/cuda.install)
  cuda/repos/community-testing-x86_64/cuda.sh
(from rev 437022, cuda/trunk/cuda.sh)
Deleted:
  cuda/repos/community-testing-x86_64/PKGBUILD
  cuda/repos/community-testing-x86_64/cuda-findgllib_mk.diff
  cuda/repos/community-testing-x86_64/cuda.conf
  cuda/repos/community-testing-x86_64/cuda.install
  cuda/repos/community-testing-x86_64/cuda.sh

+
 PKGBUILD   |  123 ---
 cuda-findgllib_mk.diff |   44 
 cuda.conf  |6 +-
 cuda.install   |   22 
 cuda.sh|2 
 5 files changed, 101 insertions(+), 96 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2019-02-28 11:16:07 UTC (rev 437022)
+++ PKGBUILD2019-02-28 11:16:33 UTC (rev 437023)
@@ -1,59 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-pkgname=cuda
-pkgver=10.1.105
-_basever=10.1.105
-_driverver=418.39
-pkgrel=2
-pkgdesc="NVIDIA's GPU programming toolkit"
-arch=('x86_64')
-url="http://www.nvidia.com/object/cuda_home.html;
-license=('custom:NVIDIA')
-depends=('gcc-libs' 'opencl-nvidia' 'nvidia-utils')
-replaces=('cuda-toolkit' 'cuda-sdk')
-provides=('cuda-toolkit' 'cuda-sdk')
-optdepends=('gdb: for cuda-gdb'
-'java-runtime: for nsight and nvvp')
-options=(!strip staticlibs)
-install=cuda.install
-source=(https://developer.nvidia.com/compute/cuda/10.1/Prod/local_installers/cuda_${_basever}_${_driverver}_linux.run
-cuda.sh
-cuda.conf
-cuda-findgllib_mk.diff)
-sha512sums=('07cdc053989758e4cdccaad566cae7127fa79780ad85033ea52d33cc4c43c9de08e88dd087390c58b542e51703f256859cdf51a018ee57e6a412f45fb9561622'
-
'ce0b8df5d918ec8429da4ab8f9dee463ac04055ee5b0beeb0386b67d765a4c892d314995776a0d695cd06bcfbaf996e4904935ddc898a9d774f6bf965d989dea'
-
'714d973bc79446f73bebe85306b3566fe25b554bcbcba2fcbe76709a3eca71fb5d183ab4da2d3b5e9326cb9cd8d13a93f6d4a005ea5a41f7ef8e6c6e81e06b5e'
-
'41d6b6cad934f135eafde610d1cbd862033977fd4416a4b6abaa47709a70bab7fcf6f8377c21329084fb9db13f2a8c8c20e93c15292d7d4a6448d70a33b23f1b')
-
-prepare() {
-  sh cuda_${_basever}_${_driverver}_linux.run --target ${srcdir} --noexec
-
-  # Fix up samples tht use findgllib_mk
-  for f in builds/cuda-samples/*/*/findgllib.mk; do
-patch $f cuda-findgllib_mk.diff
-  done
-}
-
-package() {
-  mkdir -p "${pkgdir}/opt/"
-
-  cd builds
-  cp -r cuda-toolkit "${pkgdir}/opt/cuda"
-  cp -r cublas/include/* "${pkgdir}/opt/cuda/include/"
-  cp -r cublas/lib64/* "${pkgdir}/opt/cuda/lib64/"
-  cp -r cuda-samples "${pkgdir}/opt/cuda/samples"
-  ln -s lib "${pkgdir}/opt/cuda/lib64"
-  ln -s lib "${pkgdir}/opt/cuda/nvvm/lib64"
-
-  # Install profile and ld.so.config files
-  install -Dm755 "${srcdir}/cuda.sh" "${pkgdir}/etc/profile.d/cuda.sh"
-  install -Dm644 "${srcdir}/cuda.conf" "${pkgdir}/etc/ld.so.conf.d/cuda.conf"
-
-  mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}"
-  ln -s /opt/cuda/doc/pdf/EULA.pdf 
"${pkgdir}/usr/share/licenses/${pkgname}/EULA.pdf"
-
-  # Remove included copy of java and link to system java
-  rm -fr  "${pkgdir}/opt/cuda/jre"
-  sed 's|../jre/bin/java|/usr/bin/java|g' \
--i "${pkgdir}/opt/cuda/libnsight/nsight.ini" \
--i "${pkgdir}/opt/cuda/libnvvp/nvvp.ini"
-}

Copied: cuda/repos/community-testing-x86_64/PKGBUILD (from rev 437022, 
cuda/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2019-02-28 11:16:33 UTC (rev 437023)
@@ -0,0 +1,64 @@
+# Maintainer: Sven-Hendrik Haase 
+pkgname=cuda
+pkgver=10.1.105
+_basever=10.1.105
+_driverver=418.39
+pkgrel=3
+pkgdesc="NVIDIA's GPU programming toolkit"
+arch=('x86_64')
+url="http://www.nvidia.com/object/cuda_home.html;
+license=('custom:NVIDIA')
+depends=('gcc-libs' 'opencl-nvidia' 'nvidia-utils')
+replaces=('cuda-toolkit' 'cuda-sdk')
+provides=('cuda-toolkit' 'cuda-sdk')
+optdepends=('gdb: for cuda-gdb'
+'java-runtime: for nsight and nvvp')
+options=(!strip staticlibs)
+install=cuda.install
+source=(https://developer.nvidia.com/compute/cuda/10.1/Prod/local_installers/cuda_${_basever}_${_driverver}_linux.run
+cuda.sh
+cuda.conf
+cuda-findgllib_mk.diff)
+sha512sums=('07cdc053989758e4cdccaad566cae7127fa79780ad85033ea52d33cc4c43c9de08e88dd087390c58b542e51703f256859cdf51a018ee57e6a412f45fb9561622'
+ 

[arch-commits] Commit in cuda/repos/community-testing-x86_64 (10 files)

2019-02-27 Thread Sven-Hendrik Haase via arch-commits
Date: Thursday, February 28, 2019 @ 01:44:57
  Author: svenstaro
Revision: 436956

archrelease: copy trunk to community-testing-x86_64

Added:
  cuda/repos/community-testing-x86_64/PKGBUILD
(from rev 436955, cuda/trunk/PKGBUILD)
  cuda/repos/community-testing-x86_64/cuda-findgllib_mk.diff
(from rev 436955, cuda/trunk/cuda-findgllib_mk.diff)
  cuda/repos/community-testing-x86_64/cuda.conf
(from rev 436955, cuda/trunk/cuda.conf)
  cuda/repos/community-testing-x86_64/cuda.install
(from rev 436955, cuda/trunk/cuda.install)
  cuda/repos/community-testing-x86_64/cuda.sh
(from rev 436955, cuda/trunk/cuda.sh)
Deleted:
  cuda/repos/community-testing-x86_64/PKGBUILD
  cuda/repos/community-testing-x86_64/cuda-findgllib_mk.diff
  cuda/repos/community-testing-x86_64/cuda.conf
  cuda/repos/community-testing-x86_64/cuda.install
  cuda/repos/community-testing-x86_64/cuda.sh

+
 PKGBUILD   |  120 +++
 cuda-findgllib_mk.diff |   44 -
 cuda.conf  |7 +-
 cuda.install   |   22 
 cuda.sh|2 
 5 files changed, 96 insertions(+), 99 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2019-02-28 01:44:25 UTC (rev 436955)
+++ PKGBUILD2019-02-28 01:44:57 UTC (rev 436956)
@@ -1,61 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-pkgname=cuda
-pkgver=10.1.105
-_basever=10.1.105
-_driverver=418.39
-pkgrel=1
-pkgdesc="NVIDIA's GPU programming toolkit"
-arch=('x86_64')
-url="http://www.nvidia.com/object/cuda_home.html;
-license=('custom:NVIDIA')
-depends=('gcc-libs' 'opencl-nvidia' 'nvidia-utils')
-replaces=('cuda-toolkit' 'cuda-sdk')
-provides=('cuda-toolkit' 'cuda-sdk')
-optdepends=('gdb: for cuda-gdb'
-'java-runtime: for nsight and nvvp')
-options=(!strip staticlibs)
-install=cuda.install
-source=(https://developer.nvidia.com/compute/cuda/10.1/Prod/local_installers/cuda_${_basever}_${_driverver}_linux.run
-cuda.sh
-cuda.conf
-cuda-findgllib_mk.diff)
-sha512sums=('07cdc053989758e4cdccaad566cae7127fa79780ad85033ea52d33cc4c43c9de08e88dd087390c58b542e51703f256859cdf51a018ee57e6a412f45fb9561622'
-
'ce0b8df5d918ec8429da4ab8f9dee463ac04055ee5b0beeb0386b67d765a4c892d314995776a0d695cd06bcfbaf996e4904935ddc898a9d774f6bf965d989dea'
-
'268effce192d72d51658c1c337517f47e731fc820cdf6918cfc31e787e286a6afe42914650050e7df18a5f14beebaa1b23cc3cb0b459e8c794b74226bd2d5701'
-
'41d6b6cad934f135eafde610d1cbd862033977fd4416a4b6abaa47709a70bab7fcf6f8377c21329084fb9db13f2a8c8c20e93c15292d7d4a6448d70a33b23f1b')
-
-prepare() {
-  sh cuda_${_basever}_${_driverver}_linux.run --target ${srcdir} --noexec
-
-  # Fix up samples tht use findgllib_mk
-  for f in builds/cuda-samples/*/*/findgllib.mk; do
-patch $f cuda-findgllib_mk.diff
-  done
-}
-
-package() {
-  mkdir -p "${pkgdir}/opt/"
-
-  cd builds
-  cp -r cublas "${pkgdir}/opt/cublas"
-  ln -s lib64 "${pkgdir}/opt/cublas/lib"
-
-  cp -r cuda-samples "${pkgdir}/opt/cuda-samples"
-
-  cp -r cuda-toolkit "${pkgdir}/opt/cuda"
-  ln -s lib "${pkgdir}/opt/cuda/lib64"
-  ln -s lib "${pkgdir}/opt/cuda/nvvm/lib64"
-
-  # Install profile and ld.so.config files
-  install -Dm755 "${srcdir}/cuda.sh" "${pkgdir}/etc/profile.d/cuda.sh"
-  install -Dm644 "${srcdir}/cuda.conf" "${pkgdir}/etc/ld.so.conf.d/cuda.conf"
-
-  mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}"
-  ln -s /opt/cuda/doc/pdf/EULA.pdf 
"${pkgdir}/usr/share/licenses/${pkgname}/EULA.pdf"
-
-  # Remove included copy of java and link to system java
-  rm -fr  "${pkgdir}/opt/cuda/jre"
-  sed 's|../jre/bin/java|/usr/bin/java|g' \
--i "${pkgdir}/opt/cuda/libnsight/nsight.ini" \
--i "${pkgdir}/opt/cuda/libnvvp/nvvp.ini"
-}

Copied: cuda/repos/community-testing-x86_64/PKGBUILD (from rev 436955, 
cuda/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2019-02-28 01:44:57 UTC (rev 436956)
@@ -0,0 +1,59 @@
+# Maintainer: Sven-Hendrik Haase 
+pkgname=cuda
+pkgver=10.1.105
+_basever=10.1.105
+_driverver=418.39
+pkgrel=2
+pkgdesc="NVIDIA's GPU programming toolkit"
+arch=('x86_64')
+url="http://www.nvidia.com/object/cuda_home.html;
+license=('custom:NVIDIA')
+depends=('gcc-libs' 'opencl-nvidia' 'nvidia-utils')
+replaces=('cuda-toolkit' 'cuda-sdk')
+provides=('cuda-toolkit' 'cuda-sdk')
+optdepends=('gdb: for cuda-gdb'
+'java-runtime: for nsight and nvvp')
+options=(!strip staticlibs)
+install=cuda.install
+source=(https://developer.nvidia.com/compute/cuda/10.1/Prod/local_installers/cuda_${_basever}_${_driverver}_linux.run
+cuda.sh
+cuda.conf
+cuda-findgllib_mk.diff)
+sha512sums=('07cdc053989758e4cdccaad566cae7127fa79780ad85033ea52d33cc4c43c9de08e88dd087390c58b542e51703f256859cdf51a018ee57e6a412f45fb9561622'
+

[arch-commits] Commit in cuda/repos/community-testing-x86_64 (10 files)

2018-09-24 Thread Sven-Hendrik Haase via arch-commits
Date: Monday, September 24, 2018 @ 06:45:34
  Author: svenstaro
Revision: 384334

archrelease: copy trunk to community-testing-x86_64

Added:
  cuda/repos/community-testing-x86_64/PKGBUILD
(from rev 384333, cuda/trunk/PKGBUILD)
  cuda/repos/community-testing-x86_64/cuda-findgllib_mk.diff
(from rev 384333, cuda/trunk/cuda-findgllib_mk.diff)
  cuda/repos/community-testing-x86_64/cuda.conf
(from rev 384333, cuda/trunk/cuda.conf)
  cuda/repos/community-testing-x86_64/cuda.install
(from rev 384333, cuda/trunk/cuda.install)
  cuda/repos/community-testing-x86_64/cuda.sh
(from rev 384333, cuda/trunk/cuda.sh)
Deleted:
  cuda/repos/community-testing-x86_64/PKGBUILD
  cuda/repos/community-testing-x86_64/cuda-findgllib_mk.diff
  cuda/repos/community-testing-x86_64/cuda.conf
  cuda/repos/community-testing-x86_64/cuda.install
  cuda/repos/community-testing-x86_64/cuda.sh

+
 PKGBUILD   |  179 ++-
 cuda-findgllib_mk.diff |   44 +--
 cuda.conf  |   10 +-
 cuda.install   |   22 ++---
 cuda.sh|2 
 5 files changed, 125 insertions(+), 132 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2018-09-24 06:45:13 UTC (rev 384333)
+++ PKGBUILD2018-09-24 06:45:34 UTC (rev 384334)
@@ -1,93 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-pkgname=cuda
-pkgver=10.0.130
-_basever=10.0.130
-_driverver=410.48
-pkgrel=1
-pkgdesc="NVIDIA's GPU programming toolkit"
-arch=('x86_64')
-url="http://www.nvidia.com/object/cuda_home.html;
-license=('custom:NVIDIA')
-depends=('gcc7-libs' 'opencl-nvidia' 'nvidia-utils' 'gcc7')
-replaces=('cuda-toolkit' 'cuda-sdk')
-provides=('cuda-toolkit' 'cuda-sdk')
-optdepends=('gdb: for cuda-gdb'
-'java-runtime: for nsight and nvvp')
-options=(!strip staticlibs)
-install=cuda.install
-source=(https://developer.nvidia.com/compute/cuda/10.0/Prod/local_installers/cuda_${_basever}_${_driverver}_linux
-cuda.sh
-cuda.conf
-cuda-findgllib_mk.diff)
-sha512sums=('409ea4cc6aa0fe7063450e77c3b67b9b41aab1bbe556db673fb1a80610b20bd52e2020bf94034a92ab68c721d3d5739500bae4bd7a3558b2d8e73730a3b4ea25'
-
'ce0b8df5d918ec8429da4ab8f9dee463ac04055ee5b0beeb0386b67d765a4c892d314995776a0d695cd06bcfbaf996e4904935ddc898a9d774f6bf965d989dea'
-
'0f1f5bed19f9eaf66b53e32d2e163a40d03e11565b3d5d9f5220b6904bb510fd9548e0dd8a33ee84e729845333158f9fed078584e80a8361ca434b1410624473'
-
'41d6b6cad934f135eafde610d1cbd862033977fd4416a4b6abaa47709a70bab7fcf6f8377c21329084fb9db13f2a8c8c20e93c15292d7d4a6448d70a33b23f1b')
-
-prepare() {
-  sh cuda_${_basever}_${_driverver}_linux --extract=${srcdir}
-  ./cuda-*.run --noexec --keep
-  ./cuda-samples*.run --noexec --keep
-
-  # path hacks
-
-  # 1rd sed line: sets right path to install man files
-  # 2rd sed line: hack to lie installer, now detect launch script by root
-  # 3rd sed line: sets right path in .desktop files and other .desktop stuff 
(warnings by desktop-file-validate)
-  sed -e "s|/usr/share|${srcdir}/../pkg/${pkgname}/usr/share|g" \
-  -e 's|can_add_for_all_users;|1;|g' \
-  -e 's|=\\"$prefix\\\"|=/opt/cuda|g' -e 's|Terminal=No|Terminal=false|g' 
-e 's|ParallelComputing|ParallelComputing;|g' \
-  -i pkg/install-linux.pl
-
-  # set right path in Samples Makefiles
-  sed 's|\$cudaprefix\\|\\/opt\\/cuda\\|g' -i pkg/install-sdk-linux.pl
-
-  # use python2
-  find pkg -name '*.py' | xargs sed -i -e 's|env python|env python2|g' -e 
's|bin/python|bin/python2|g'
-
-  # Fix up samples tht use findgllib_mk
-  for f in pkg/samples/*/*/findgllib.mk; do
-patch $f cuda-findgllib_mk.diff
-  done
-}
-
-package() {
-  cd pkg
-  export PERL5LIB=.
-  perl install-linux.pl -prefix="${pkgdir}/opt/cuda" -noprompt
-  perl install-sdk-linux.pl -cudaprefix="${pkgdir}/opt/cuda" 
-prefix="${pkgdir}/opt/cuda/samples" -noprompt
-
-  # Hack we need because of glibc 2.26 (https://bugs.archlinux.org/task/55580)
-  # without which we couldn't compile anything at all.
-  # Super dirty hack. I really hope it doesn't break other stuff!
-  # Hopefully we can remove this for later version of cuda.
-  sed -i "1 i#define _BITS_FLOATN_H" 
"${pkgdir}/opt/cuda/include/host_defines.h"
-
-  # Needs gcc7
-  ln -s /usr/bin/gcc-7 "${pkgdir}/opt/cuda/bin/gcc"
-  ln -s /usr/bin/g++-7 "${pkgdir}/opt/cuda/bin/g++"
-
-  # Install profile and ld.so.config files
-  install -Dm755 "${srcdir}/cuda.sh" "${pkgdir}/etc/profile.d/cuda.sh"
-  install -Dm644 "${srcdir}/cuda.conf" "${pkgdir}/etc/ld.so.conf.d/cuda.conf"
-
-  mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}"
-  ln -s /opt/cuda/doc/pdf/EULA.pdf 
"${pkgdir}/usr/share/licenses/${pkgname}/EULA.pdf"
-
-  # Remove redundant man and samples
-  rm -fr "${pkgdir}/opt/cuda/doc/man"
-  rm -fr "${pkgdir}/opt/cuda/cuda-samples"
-  rm -fr "${pkgdir}/usr/share/man/man3/deprecated.3"*
-
-  # Remove included copy 

[arch-commits] Commit in cuda/repos/community-testing-x86_64 (10 files)

2018-05-29 Thread Sven-Hendrik Haase via arch-commits
Date: Tuesday, May 29, 2018 @ 23:42:56
  Author: svenstaro
Revision: 333222

archrelease: copy trunk to community-testing-x86_64

Added:
  cuda/repos/community-testing-x86_64/PKGBUILD
(from rev 333221, cuda/trunk/PKGBUILD)
  cuda/repos/community-testing-x86_64/cuda-findgllib_mk.diff
(from rev 333221, cuda/trunk/cuda-findgllib_mk.diff)
  cuda/repos/community-testing-x86_64/cuda.conf
(from rev 333221, cuda/trunk/cuda.conf)
  cuda/repos/community-testing-x86_64/cuda.install
(from rev 333221, cuda/trunk/cuda.install)
  cuda/repos/community-testing-x86_64/cuda.sh
(from rev 333221, cuda/trunk/cuda.sh)
Deleted:
  cuda/repos/community-testing-x86_64/PKGBUILD
  cuda/repos/community-testing-x86_64/cuda-findgllib_mk.diff
  cuda/repos/community-testing-x86_64/cuda.conf
  cuda/repos/community-testing-x86_64/cuda.install
  cuda/repos/community-testing-x86_64/cuda.sh

+
 PKGBUILD   |  194 +++
 cuda-findgllib_mk.diff |   44 +-
 cuda.conf  |8 -
 cuda.install   |   22 ++---
 cuda.sh|2 
 5 files changed, 135 insertions(+), 135 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2018-05-29 23:30:40 UTC (rev 333221)
+++ PKGBUILD2018-05-29 23:42:56 UTC (rev 333222)
@@ -1,97 +0,0 @@
-# $Id: PKGBUILD 69719 2012-04-23 02:56:20Z svenstaro $
-# Maintainer: Sven-Hendrik Haase 
-pkgname=cuda
-pkgver=9.2.88.1
-_basever=9.2.88
-_driverver=396.26
-pkgrel=2
-pkgdesc="NVIDIA's GPU programming toolkit"
-arch=('x86_64')
-url="http://www.nvidia.com/object/cuda_home.html;
-license=('custom:NVIDIA')
-depends=('gcc7-libs' 'opencl-nvidia' 'nvidia-utils' 'gcc7')
-replaces=('cuda-toolkit' 'cuda-sdk')
-provides=('cuda-toolkit' 'cuda-sdk')
-optdepends=('gdb: for cuda-gdb'
-'java-runtime: for nsight and nvvp')
-options=(!strip staticlibs)
-install=cuda.install
-source=(https://developer.nvidia.com/compute/cuda/9.2/Prod/local_installers/cuda_${_basever}_${_driverver}_linux
-
https://developer.nvidia.com/compute/cuda/9.2/Prod/patches/1/cuda_9.2.88.1_linux
-cuda.sh
-cuda.conf
-cuda-findgllib_mk.diff)
-sha512sums=('2d0d87926e11a1b21d6d3377138753df458a53ba9539d8399f9f252e0784cb41e2c63a5c724ca81ded82b9657b97fda51d812b467b0827e7d361aa2ad73b2dba'
-
'd43bddb2affbc66133aab69750e8c95fd4e86bf6357c50b580301dda1819940c33e1cb442f08b25784c82d6e4de1ca6f5b474e51b1396253e4a4e6d820294ff7'
-
'ce0b8df5d918ec8429da4ab8f9dee463ac04055ee5b0beeb0386b67d765a4c892d314995776a0d695cd06bcfbaf996e4904935ddc898a9d774f6bf965d989dea'
-
'66bd93ecab7e1aa07218c3dd1c96e460f63ed4ac47e853ecb313c78a58e5425c8a5772f1c7f73d696bf5f93fc3e556a046a4ed955a53d900976ac525abd1f518'
-
'6e9a15c73849e6400b0289ed9d6e9d3b7f100712713efcb7bbf4921f39fe671cd9fd3958e735c0da3a44f9afdd2aca94dbc63b564970a0dcacba599b570aca0f')
-
-prepare() {
-  sh cuda_${_basever}_${_driverver}_linux --extract=${srcdir}
-  ./cuda-*.run --noexec --keep
-  ./cuda-samples*.run --noexec --keep
-
-  # path hacks
-
-  # 1rd sed line: sets right path to install man files
-  # 2rd sed line: hack to lie installer, now detect launch script by root
-  # 3rd sed line: sets right path in .desktop files and other .desktop stuff 
(warnings by desktop-file-validate)
-  sed -e "s|/usr/share|${srcdir}/../pkg/${pkgname}/usr/share|g" \
-  -e 's|can_add_for_all_users;|1;|g' \
-  -e 's|=\\"$prefix\\\"|=/opt/cuda|g' -e 's|Terminal=No|Terminal=false|g' 
-e 's|ParallelComputing|ParallelComputing;|g' \
-  -i pkg/install-linux.pl
-
-  # set right path in Samples Makefiles
-  sed 's|\$cudaprefix\\|\\/opt\\/cuda\\|g' -i pkg/install-sdk-linux.pl
-
-  # use python2
-  find pkg -name '*.py' | xargs sed -i -e 's|env python|env python2|g' -e 
's|bin/python|bin/python2|g'
-
-  # Fix up samples tht use findgllib_mk
-  for f in pkg/samples/*/*/findgllib.mk; do
-patch $f cuda-findgllib_mk.diff
-  done
-}
-
-package() {
-  cd pkg
-  export PERL5LIB=.
-  perl install-linux.pl -prefix="${pkgdir}/opt/cuda" -noprompt
-  perl install-sdk-linux.pl -cudaprefix="${pkgdir}/opt/cuda" 
-prefix="${pkgdir}/opt/cuda/samples" -noprompt
-  sh "${srcdir}"/cuda_9.2.88.1_linux --silent --accept-eula 
--installdir="${pkgdir}/opt/cuda"
-
-  # Hack we need because of glibc 2.26 (https://bugs.archlinux.org/task/55580)
-  # without which we couldn't compile anything at all.
-  # Super dirty hack. I really hope it doesn't break other stuff!
-  # Hopefully we can remove this for later version of cuda.
-  sed -i "1 i#define _BITS_FLOATN_H" 
"${pkgdir}/opt/cuda/include/host_defines.h"
-
-  # Needs gcc7
-  ln -s /usr/bin/gcc-7 "${pkgdir}/opt/cuda/bin/gcc"
-  ln -s /usr/bin/g++-7 "${pkgdir}/opt/cuda/bin/g++"
-
-  # Install profile and ld.so.config files
-  install -Dm755 "${srcdir}/cuda.sh" "${pkgdir}/etc/profile.d/cuda.sh"
-  install -Dm644 "${srcdir}/cuda.conf" 

[arch-commits] Commit in cuda/repos/community-testing-x86_64 (10 files)

2018-05-29 Thread Sven-Hendrik Haase via arch-commits
Date: Tuesday, May 29, 2018 @ 23:14:18
  Author: svenstaro
Revision: 333217

archrelease: copy trunk to community-testing-x86_64

Added:
  cuda/repos/community-testing-x86_64/PKGBUILD
(from rev 333216, cuda/trunk/PKGBUILD)
  cuda/repos/community-testing-x86_64/cuda-findgllib_mk.diff
(from rev 333216, cuda/trunk/cuda-findgllib_mk.diff)
  cuda/repos/community-testing-x86_64/cuda.conf
(from rev 333216, cuda/trunk/cuda.conf)
  cuda/repos/community-testing-x86_64/cuda.install
(from rev 333216, cuda/trunk/cuda.install)
  cuda/repos/community-testing-x86_64/cuda.sh
(from rev 333216, cuda/trunk/cuda.sh)
Deleted:
  cuda/repos/community-testing-x86_64/PKGBUILD
  cuda/repos/community-testing-x86_64/cuda-findgllib_mk.diff
  cuda/repos/community-testing-x86_64/cuda.conf
  cuda/repos/community-testing-x86_64/cuda.install
  cuda/repos/community-testing-x86_64/cuda.sh

+
 PKGBUILD   |  193 +++
 cuda-findgllib_mk.diff |   44 +-
 cuda.conf  |8 -
 cuda.install   |   22 ++---
 cuda.sh|2 
 5 files changed, 135 insertions(+), 134 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2018-05-29 23:13:56 UTC (rev 333216)
+++ PKGBUILD2018-05-29 23:14:18 UTC (rev 333217)
@@ -1,96 +0,0 @@
-# $Id: PKGBUILD 69719 2012-04-23 02:56:20Z svenstaro $
-# Maintainer: Sven-Hendrik Haase 
-pkgname=cuda
-pkgver=9.2.88.1
-_basever=9.2.88
-pkgrel=1
-pkgdesc="NVIDIA's GPU programming toolkit"
-arch=('x86_64')
-url="http://www.nvidia.com/object/cuda_home.html;
-license=('custom:NVIDIA')
-depends=('gcc-libs' 'opencl-nvidia' 'nvidia-utils' 'gcc54')
-replaces=('cuda-toolkit' 'cuda-sdk')
-provides=('cuda-toolkit' 'cuda-sdk')
-optdepends=('gdb: for cuda-gdb'
-'java-runtime: for nsight and nvvp')
-options=(!strip staticlibs)
-install=cuda.install
-source=(https://developer.nvidia.com/compute/cuda/9.2/Prod/local_installers/cuda_${_basever}_396.26_linux
-
https://developer.nvidia.com/compute/cuda/9.2/Prod/patches/1/cuda_9.2.88.1_linux
-cuda.sh
-cuda.conf
-cuda-findgllib_mk.diff)
-sha512sums=('2d0d87926e11a1b21d6d3377138753df458a53ba9539d8399f9f252e0784cb41e2c63a5c724ca81ded82b9657b97fda51d812b467b0827e7d361aa2ad73b2dba'
-
'd43bddb2affbc66133aab69750e8c95fd4e86bf6357c50b580301dda1819940c33e1cb442f08b25784c82d6e4de1ca6f5b474e51b1396253e4a4e6d820294ff7'
-
'ce0b8df5d918ec8429da4ab8f9dee463ac04055ee5b0beeb0386b67d765a4c892d314995776a0d695cd06bcfbaf996e4904935ddc898a9d774f6bf965d989dea'
-
'66bd93ecab7e1aa07218c3dd1c96e460f63ed4ac47e853ecb313c78a58e5425c8a5772f1c7f73d696bf5f93fc3e556a046a4ed955a53d900976ac525abd1f518'
-
'6e9a15c73849e6400b0289ed9d6e9d3b7f100712713efcb7bbf4921f39fe671cd9fd3958e735c0da3a44f9afdd2aca94dbc63b564970a0dcacba599b570aca0f')
-
-prepare() {
-  sh cuda_${_basever}_396.26_linux --extract=${srcdir}
-  ./cuda-*.run --noexec --keep
-  ./cuda-samples*.run --noexec --keep
-
-  # path hacks
-
-  # 1rd sed line: sets right path to install man files
-  # 2rd sed line: hack to lie installer, now detect launch script by root
-  # 3rd sed line: sets right path in .desktop files and other .desktop stuff 
(warnings by desktop-file-validate)
-  sed -e "s|/usr/share|${srcdir}/../pkg/${pkgname}/usr/share|g" \
-  -e 's|can_add_for_all_users;|1;|g' \
-  -e 's|=\\"$prefix\\\"|=/opt/cuda|g' -e 's|Terminal=No|Terminal=false|g' 
-e 's|ParallelComputing|ParallelComputing;|g' \
-  -i pkg/install-linux.pl
-
-  # set right path in Samples Makefiles
-  sed 's|\$cudaprefix\\|\\/opt\\/cuda\\|g' -i pkg/install-sdk-linux.pl
-
-  # use python2
-  find pkg -name '*.py' | xargs sed -i -e 's|env python|env python2|g' -e 
's|bin/python|bin/python2|g'
-
-  # Fix up samples tht use findgllib_mk
-  for f in pkg/samples/*/*/findgllib.mk; do
-patch $f cuda-findgllib_mk.diff
-  done
-}
-
-package() {
-  cd pkg
-  export PERL5LIB=.
-  perl install-linux.pl -prefix="${pkgdir}/opt/cuda" -noprompt
-  perl install-sdk-linux.pl -cudaprefix="${pkgdir}/opt/cuda" 
-prefix="${pkgdir}/opt/cuda/samples" -noprompt
-  sh "${srcdir}"/cuda_9.2.88.1_linux --silent --accept-eula 
--installdir="${pkgdir}/opt/cuda"
-
-  # Hack we need because of glibc 2.26 (https://bugs.archlinux.org/task/55580)
-  # without which we couldn't compile anything at all.
-  # Super dirty hack. I really hope it doesn't break other stuff!
-  # Hopefully we can remove this for later version of cuda.
-  sed -i "1 i#define _BITS_FLOATN_H" 
"${pkgdir}/opt/cuda/include/host_defines.h"
-
-  # Needs gcc5
-  ln -s /usr/bin/gcc-5 "${pkgdir}/opt/cuda/bin/gcc"
-  ln -s /usr/bin/g++-5 "${pkgdir}/opt/cuda/bin/g++"
-
-  # Install profile and ld.so.config files
-  install -Dm755 "${srcdir}/cuda.sh" "${pkgdir}/etc/profile.d/cuda.sh"
-  install -Dm644 "${srcdir}/cuda.conf" "${pkgdir}/etc/ld.so.conf.d/cuda.conf"
-
-  

[arch-commits] Commit in cuda/repos/community-testing-x86_64 (10 files)

2017-10-02 Thread Sven-Hendrik Haase
Date: Tuesday, October 3, 2017 @ 02:44:11
  Author: svenstaro
Revision: 261345

archrelease: copy trunk to community-testing-x86_64

Added:
  cuda/repos/community-testing-x86_64/PKGBUILD
(from rev 261344, cuda/trunk/PKGBUILD)
  cuda/repos/community-testing-x86_64/cuda-findgllib_mk.diff
(from rev 261344, cuda/trunk/cuda-findgllib_mk.diff)
  cuda/repos/community-testing-x86_64/cuda.conf
(from rev 261344, cuda/trunk/cuda.conf)
  cuda/repos/community-testing-x86_64/cuda.install
(from rev 261344, cuda/trunk/cuda.install)
  cuda/repos/community-testing-x86_64/cuda.sh
(from rev 261344, cuda/trunk/cuda.sh)
Deleted:
  cuda/repos/community-testing-x86_64/PKGBUILD
  cuda/repos/community-testing-x86_64/cuda-findgllib_mk.diff
  cuda/repos/community-testing-x86_64/cuda.conf
  cuda/repos/community-testing-x86_64/cuda.install
  cuda/repos/community-testing-x86_64/cuda.sh

+
 PKGBUILD   |  181 +++
 cuda-findgllib_mk.diff |   44 +--
 cuda.conf  |8 +-
 cuda.install   |   22 ++---
 cuda.sh|2 
 5 files changed, 129 insertions(+), 128 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2017-10-03 02:43:39 UTC (rev 261344)
+++ PKGBUILD2017-10-03 02:44:11 UTC (rev 261345)
@@ -1,90 +0,0 @@
-# $Id: PKGBUILD 69719 2012-04-23 02:56:20Z svenstaro $
-# Maintainer: Sven-Hendrik Haase 
-pkgname=cuda
-pkgver=9.0.176
-pkgrel=3
-pkgdesc="NVIDIA's GPU programming toolkit"
-arch=('x86_64')
-url="http://www.nvidia.com/object/cuda_home.html;
-license=('custom:NVIDIA')
-depends=('gcc-libs' 'opencl-nvidia')
-replaces=('cuda-toolkit' 'cuda-sdk')
-provides=('cuda-toolkit' 'cuda-sdk')
-optdepends=('gdb: for cuda-gdb')
-options=(!strip staticlibs)
-install=cuda.install
-source=(https://developer.nvidia.com/compute/cuda/9.0/Prod/local_installers/cuda_${pkgver}_384.81_linux-run
-cuda.sh
-cuda.conf
-cuda-findgllib_mk.diff)
-sha512sums=('00e24638c02d049c575732dee5237db21f7c451b606f37cf95e44e89d47d0cb055255e9f70dc013298c9e0d224147f239488558904556b68572e3f31935489a9'
-
'ce0b8df5d918ec8429da4ab8f9dee463ac04055ee5b0beeb0386b67d765a4c892d314995776a0d695cd06bcfbaf996e4904935ddc898a9d774f6bf965d989dea'
-
'66bd93ecab7e1aa07218c3dd1c96e460f63ed4ac47e853ecb313c78a58e5425c8a5772f1c7f73d696bf5f93fc3e556a046a4ed955a53d900976ac525abd1f518'
-
'6e9a15c73849e6400b0289ed9d6e9d3b7f100712713efcb7bbf4921f39fe671cd9fd3958e735c0da3a44f9afdd2aca94dbc63b564970a0dcacba599b570aca0f')
-
-prepare() {
-  sh cuda_${pkgver}_384.81_linux-run -extract=${srcdir}
-  ./cuda-*.run --noexec --keep
-  ./cuda-samples*.run --noexec --keep
-
-  # path hacks
-
-  # 1rd sed line: sets right path to install man files
-  # 2rd sed line: hack to lie installer, now detect launch script by root
-  # 3rd sed line: sets right path in .desktop files and other .desktop stuff 
(warnings by desktop-file-validate)
-  sed -e "s|/usr/share|${srcdir}/../pkg/${pkgname}/usr/share|g" \
-  -e 's|can_add_for_all_users;|1;|g' \
-  -e 's|=\\"$prefix\\\"|=/opt/cuda|g' -e 's|Terminal=No|Terminal=false|g' 
-e 's|ParallelComputing|ParallelComputing;|g' \
-  -i pkg/install-linux.pl
-
-  # set right path in Samples Makefiles
-  sed 's|\$cudaprefix\\|\\/opt\\/cuda\\|g' -i pkg/install-sdk-linux.pl
-
-  # use python2
-  find pkg -name '*.py' | xargs sed -i -e 's|env python|env python2|g' -e 
's|bin/python|bin/python2|g'
-
-  # Fix up samples tht use findgllib_mk
-  for f in pkg/samples/*/*/findgllib.mk; do
-patch $f cuda-findgllib_mk.diff
-  done
-}
-
-package() {
-  cd pkg
-  export PERL5LIB=.
-  perl install-linux.pl -prefix="${pkgdir}/opt/cuda" -noprompt
-  perl install-sdk-linux.pl -cudaprefix="${pkgdir}/opt/cuda" 
-prefix="${pkgdir}/opt/cuda/samples" -noprompt
-
-  # Hack we need because of glibc 2.26 (https://bugs.archlinux.org/task/55580)
-  # without which we couldn't compile anything at all.
-  # Super dirty hack. I really hope it doesn't break other stuff!
-  # Hopefully we can remove this for later version of cuda.
-  sed -i "1 i#define _BITS_FLOATN_H" 
"${pkgdir}/opt/cuda/include/host_defines.h"
-
-  # Hack for gcc7
-  sed -i "/.*unsupported GNU version.*/d" 
"${pkgdir}/opt/cuda/include/crt/host_config.h"
-
-  # Install profile and ld.so.config files
-  install -Dm755 "${srcdir}/cuda.sh" "${pkgdir}/etc/profile.d/cuda.sh"
-  install -Dm644 "${srcdir}/cuda.conf" "${pkgdir}/etc/ld.so.conf.d/cuda.conf"
-
-  mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}"
-  ln -s /opt/cuda/doc/pdf/EULA.pdf 
"${pkgdir}/usr/share/licenses/${pkgname}/EULA.pdf"
-
-  # Remove redundant man and samples
-  rm -fr "${pkgdir}/opt/cuda/doc/man"
-  rm -fr "${pkgdir}/opt/cuda/cuda-samples"
-  rm -fr "${pkgdir}/usr/share/man/man3/deprecated.3"*
-
-  # Remove included copy of java and link to system java
-  rm -fr  

[arch-commits] Commit in cuda/repos/community-testing-x86_64 (10 files)

2017-10-02 Thread Sven-Hendrik Haase
Date: Tuesday, October 3, 2017 @ 00:05:48
  Author: svenstaro
Revision: 261341

archrelease: copy trunk to community-testing-x86_64

Added:
  cuda/repos/community-testing-x86_64/PKGBUILD
(from rev 261340, cuda/trunk/PKGBUILD)
  cuda/repos/community-testing-x86_64/cuda-findgllib_mk.diff
(from rev 261340, cuda/trunk/cuda-findgllib_mk.diff)
  cuda/repos/community-testing-x86_64/cuda.conf
(from rev 261340, cuda/trunk/cuda.conf)
  cuda/repos/community-testing-x86_64/cuda.install
(from rev 261340, cuda/trunk/cuda.install)
  cuda/repos/community-testing-x86_64/cuda.sh
(from rev 261340, cuda/trunk/cuda.sh)
Deleted:
  cuda/repos/community-testing-x86_64/PKGBUILD
  cuda/repos/community-testing-x86_64/cuda-findgllib_mk.diff
  cuda/repos/community-testing-x86_64/cuda.conf
  cuda/repos/community-testing-x86_64/cuda.install
  cuda/repos/community-testing-x86_64/cuda.sh

+
 PKGBUILD   |  180 +++
 cuda-findgllib_mk.diff |   44 +--
 cuda.conf  |8 +-
 cuda.install   |   22 ++---
 cuda.sh|2 
 5 files changed, 128 insertions(+), 128 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2017-10-03 00:05:19 UTC (rev 261340)
+++ PKGBUILD2017-10-03 00:05:48 UTC (rev 261341)
@@ -1,90 +0,0 @@
-# $Id: PKGBUILD 69719 2012-04-23 02:56:20Z svenstaro $
-# Maintainer: Sven-Hendrik Haase 
-pkgname=cuda
-pkgver=9.0.176
-pkgrel=2
-pkgdesc="NVIDIA's GPU programming toolkit"
-arch=('x86_64')
-url="http://www.nvidia.com/object/cuda_home.html;
-license=('custom:NVIDIA')
-depends=('gcc-libs' 'opencl-nvidia')
-replaces=('cuda-toolkit' 'cuda-sdk')
-provides=('cuda-toolkit' 'cuda-sdk')
-optdepends=('gdb: for cuda-gdb')
-options=(!strip staticlibs)
-install=cuda.install
-source=(https://developer.nvidia.com/compute/cuda/9.0/Prod/local_installers/cuda_${pkgver}_384.81_linux-run
-cuda.sh
-cuda.conf
-cuda-findgllib_mk.diff)
-sha512sums=('00e24638c02d049c575732dee5237db21f7c451b606f37cf95e44e89d47d0cb055255e9f70dc013298c9e0d224147f239488558904556b68572e3f31935489a9'
-
'ce0b8df5d918ec8429da4ab8f9dee463ac04055ee5b0beeb0386b67d765a4c892d314995776a0d695cd06bcfbaf996e4904935ddc898a9d774f6bf965d989dea'
-
'66bd93ecab7e1aa07218c3dd1c96e460f63ed4ac47e853ecb313c78a58e5425c8a5772f1c7f73d696bf5f93fc3e556a046a4ed955a53d900976ac525abd1f518'
-
'6e9a15c73849e6400b0289ed9d6e9d3b7f100712713efcb7bbf4921f39fe671cd9fd3958e735c0da3a44f9afdd2aca94dbc63b564970a0dcacba599b570aca0f')
-
-prepare() {
-  sh cuda_${pkgver}_384.81_linux-run -extract=${srcdir}
-  ./cuda-*.run --noexec --keep
-  ./cuda-samples*.run --noexec --keep
-
-  # path hacks
-
-  # 1rd sed line: sets right path to install man files
-  # 2rd sed line: hack to lie installer, now detect launch script by root
-  # 3rd sed line: sets right path in .desktop files and other .desktop stuff 
(warnings by desktop-file-validate)
-  sed -e "s|/usr/share|${srcdir}/../pkg/${pkgname}/usr/share|g" \
-  -e 's|can_add_for_all_users;|1;|g' \
-  -e 's|=\\"$prefix\\\"|=/opt/cuda|g' -e 's|Terminal=No|Terminal=false|g' 
-e 's|ParallelComputing|ParallelComputing;|g' \
-  -i pkg/install-linux.pl
-
-  # set right path in Samples Makefiles
-  sed 's|\$cudaprefix\\|\\/opt\\/cuda\\|g' -i pkg/install-sdk-linux.pl
-
-  # use python2
-  find pkg -name '*.py' | xargs sed -i -e 's|env python|env python2|g' -e 
's|bin/python|bin/python2|g'
-
-  # Fix up samples tht use findgllib_mk
-  for f in pkg/samples/*/*/findgllib.mk; do
-patch $f cuda-findgllib_mk.diff
-  done
-}
-
-package() {
-  cd pkg
-  export PERL5LIB=.
-  perl install-linux.pl -prefix="${pkgdir}/opt/cuda" -noprompt
-  perl install-sdk-linux.pl -cudaprefix="${pkgdir}/opt/cuda" 
-prefix="${pkgdir}/opt/cuda/samples" -noprompt
-
-  # Hack we need because of glibc 2.26 (https://bugs.archlinux.org/task/55580)
-  # without which we couldn't compile anything at all.
-  # Super dirty hack. I really hope it doesn't break other stuff!
-  # Hopefully we can remove this for later version of cuda.
-  sed -i "1 i#define _BITS_FLOATN_H" 
"${pkgdir}/opt/cuda/include/host_defines.h"
-
-  # Hack for gcc7
-  sed -i "/unsupported GNU version/d" 
"${pkgdir}/opt/cuda/include/host_defines.h"
-
-  # Install profile and ld.so.config files
-  install -Dm755 "${srcdir}/cuda.sh" "${pkgdir}/etc/profile.d/cuda.sh"
-  install -Dm644 "${srcdir}/cuda.conf" "${pkgdir}/etc/ld.so.conf.d/cuda.conf"
-
-  mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}"
-  ln -s /opt/cuda/doc/pdf/EULA.pdf 
"${pkgdir}/usr/share/licenses/${pkgname}/EULA.pdf"
-
-  # Remove redundant man and samples
-  rm -fr "${pkgdir}/opt/cuda/doc/man"
-  rm -fr "${pkgdir}/opt/cuda/cuda-samples"
-  rm -fr "${pkgdir}/usr/share/man/man3/deprecated.3"*
-
-  # Remove included copy of java and link to system java
-  rm -fr  "${pkgdir}/opt/cuda/jre"

[arch-commits] Commit in cuda/repos/community-testing-x86_64 (10 files)

2017-10-02 Thread Sven-Hendrik Haase
Date: Monday, October 2, 2017 @ 22:18:07
  Author: svenstaro
Revision: 261335

archrelease: copy trunk to community-testing-x86_64

Added:
  cuda/repos/community-testing-x86_64/PKGBUILD
(from rev 261334, cuda/trunk/PKGBUILD)
  cuda/repos/community-testing-x86_64/cuda-findgllib_mk.diff
(from rev 261334, cuda/trunk/cuda-findgllib_mk.diff)
  cuda/repos/community-testing-x86_64/cuda.conf
(from rev 261334, cuda/trunk/cuda.conf)
  cuda/repos/community-testing-x86_64/cuda.install
(from rev 261334, cuda/trunk/cuda.install)
  cuda/repos/community-testing-x86_64/cuda.sh
(from rev 261334, cuda/trunk/cuda.sh)
Deleted:
  cuda/repos/community-testing-x86_64/PKGBUILD
  cuda/repos/community-testing-x86_64/cuda-findgllib_mk.diff
  cuda/repos/community-testing-x86_64/cuda.conf
  cuda/repos/community-testing-x86_64/cuda.install
  cuda/repos/community-testing-x86_64/cuda.sh

+
 PKGBUILD   |  181 +++
 cuda-findgllib_mk.diff |   44 +--
 cuda.conf  |8 +-
 cuda.install   |   22 ++---
 cuda.sh|2 
 5 files changed, 128 insertions(+), 129 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2017-10-02 22:17:54 UTC (rev 261334)
+++ PKGBUILD2017-10-02 22:18:07 UTC (rev 261335)
@@ -1,91 +0,0 @@
-# $Id: PKGBUILD 69719 2012-04-23 02:56:20Z svenstaro $
-# Maintainer: Sven-Hendrik Haase 
-pkgname=cuda
-pkgver=9.0.176
-pkgrel=1
-pkgdesc="NVIDIA's GPU programming toolkit"
-arch=('x86_64')
-url="http://www.nvidia.com/object/cuda_home.html;
-license=('custom:NVIDIA')
-depends=('gcc-libs' 'opencl-nvidia' 'gcc5')
-replaces=('cuda-toolkit' 'cuda-sdk')
-provides=('cuda-toolkit' 'cuda-sdk')
-optdepends=('gdb: for cuda-gdb')
-options=(!strip staticlibs)
-install=cuda.install
-source=(https://developer.nvidia.com/compute/cuda/9.0/Prod/local_installers/cuda_${pkgver}_384.81_linux-run
-cuda.sh
-cuda.conf
-cuda-findgllib_mk.diff)
-sha512sums=('00e24638c02d049c575732dee5237db21f7c451b606f37cf95e44e89d47d0cb055255e9f70dc013298c9e0d224147f239488558904556b68572e3f31935489a9'
-
'ce0b8df5d918ec8429da4ab8f9dee463ac04055ee5b0beeb0386b67d765a4c892d314995776a0d695cd06bcfbaf996e4904935ddc898a9d774f6bf965d989dea'
-
'66bd93ecab7e1aa07218c3dd1c96e460f63ed4ac47e853ecb313c78a58e5425c8a5772f1c7f73d696bf5f93fc3e556a046a4ed955a53d900976ac525abd1f518'
-
'6e9a15c73849e6400b0289ed9d6e9d3b7f100712713efcb7bbf4921f39fe671cd9fd3958e735c0da3a44f9afdd2aca94dbc63b564970a0dcacba599b570aca0f')
-
-prepare() {
-  sh cuda_${pkgver}_384.81_linux-run -extract=${srcdir}
-  ./cuda-*.run --noexec --keep
-  ./cuda-samples*.run --noexec --keep
-
-  # path hacks
-
-  # 1rd sed line: sets right path to install man files
-  # 2rd sed line: hack to lie installer, now detect launch script by root
-  # 3rd sed line: sets right path in .desktop files and other .desktop stuff 
(warnings by desktop-file-validate)
-  sed -e "s|/usr/share|${srcdir}/../pkg/${pkgname}/usr/share|g" \
-  -e 's|can_add_for_all_users;|1;|g' \
-  -e 's|=\\"$prefix\\\"|=/opt/cuda|g' -e 's|Terminal=No|Terminal=false|g' 
-e 's|ParallelComputing|ParallelComputing;|g' \
-  -i pkg/install-linux.pl
-
-  # set right path in Samples Makefiles
-  sed 's|\$cudaprefix\\|\\/opt\\/cuda\\|g' -i pkg/install-sdk-linux.pl
-
-  # use python2
-  find pkg -name '*.py' | xargs sed -i -e 's|env python|env python2|g' -e 
's|bin/python|bin/python2|g'
-
-  # Fix up samples tht use findgllib_mk
-  for f in pkg/samples/*/*/findgllib.mk; do
-patch $f cuda-findgllib_mk.diff
-  done
-}
-
-package() {
-  cd pkg
-  export PERL5LIB=.
-  perl install-linux.pl -prefix="${pkgdir}/opt/cuda" -noprompt
-  perl install-sdk-linux.pl -cudaprefix="${pkgdir}/opt/cuda" 
-prefix="${pkgdir}/opt/cuda/samples" -noprompt
-
-  # Hack we need because of glibc 2.26 (https://bugs.archlinux.org/task/55580)
-  # without which we couldn't compile anything at all.
-  # Super dirty hack. I really hope it doesn't break other stuff!
-  # Probably we can remove this for cuda 9.
-  sed -i "1 i#define _BITS_FLOATN_H" 
"${pkgdir}/opt/cuda/include/host_defines.h"
-
-  # Needs Gcc 5.x.x
-  ln -s /usr/bin/gcc-5 "${pkgdir}/opt/cuda/bin/gcc"
-  ln -s /usr/bin/g++-5 "${pkgdir}/opt/cuda/bin/g++"
-
-  # Install profile and ld.so.config files
-  install -Dm755 "${srcdir}/cuda.sh" "${pkgdir}/etc/profile.d/cuda.sh"
-  install -Dm644 "${srcdir}/cuda.conf" "${pkgdir}/etc/ld.so.conf.d/cuda.conf"
-
-  mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}"
-  ln -s /opt/cuda/doc/pdf/EULA.pdf 
"${pkgdir}/usr/share/licenses/${pkgname}/EULA.pdf"
-
-  # Remove redundant man and samples
-  rm -fr "${pkgdir}/opt/cuda/doc/man"
-  rm -fr "${pkgdir}/opt/cuda/cuda-samples"
-  rm -fr "${pkgdir}/usr/share/man/man3/deprecated.3"*
-
-  # Remove included copy of java and link to system java
-  rm -fr