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

2020-04-05 Thread Sven-Hendrik Haase via arch-commits
Date: Monday, April 6, 2020 @ 02:22:13
  Author: svenstaro
Revision: 612024

archrelease: copy trunk to community-x86_64

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

+
 PKGBUILD   |  180 ---
 cuda-findgllib_mk.diff |   44 +--
 cuda.conf  |6 -
 cuda.install   |   22 ++---
 cuda.sh|4 -
 5 files changed, 130 insertions(+), 126 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-04-06 02:21:52 UTC (rev 612023)
+++ PKGBUILD2020-04-06 02:22:13 UTC (rev 612024)
@@ -1,88 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Maintainer: Konstantin Gizdov 
-pkgname=cuda
-pkgver=10.2.89
-_driverver=440.33.01
-pkgrel=3
-pkgdesc="NVIDIA's GPU programming toolkit"
-arch=('x86_64')
-url="https://developer.nvidia.com/cuda-zone;
-license=('custom:NVIDIA')
-depends=('gcc8-libs'  'gcc8' 'opencl-nvidia' 'nvidia-utils')
-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=(http://developer.download.nvidia.com/compute/cuda/10.2/Prod/local_installers/cuda_${pkgver}_${_driverver}_linux.run
-cuda.sh
-cuda.conf
-cuda-findgllib_mk.diff)
-sha512sums=('ad8da539ff5df7caf411d1e497ff3d6978cfa8a1fd9150fa4846089e92a604ea56be8631f3efdfe7229a655b8d2d28e6edb32f5731530a77d6f00241cc7aab6e'
-
'b3691913027b8390161c7412d87a905712d90434cc82027a52f203f8ae3dda755738f734f8190277471e4541d685b524568ad03af58d4b7ebad346eee11c10e4'
-
'714d973bc79446f73bebe85306b3566fe25b554bcbcba2fcbe76709a3eca71fb5d183ab4da2d3b5e9326cb9cd8d13a93f6d4a005ea5a41f7ef8e6c6e81e06b5e'
-
'41d6b6cad934f135eafde610d1cbd862033977fd4416a4b6abaa47709a70bab7fcf6f8377c21329084fb9db13f2a8c8c20e93c15292d7d4a6448d70a33b23f1b')
-
-prepare() {
-  sh cuda_${pkgver}_${_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"
-
-  # Define compilers for CUDA to use.
-  # This allows us to use older versions of GCC if we have to.
-  ln -s /usr/bin/gcc-8 "${pkgdir}/opt/cuda/bin/gcc"
-  ln -s /usr/bin/g++-8 "${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 $'\0' _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 8
-  rm -fr  "${pkgdir}/opt/cuda/jre"
-  sed 's|../jre/bin/java|/usr/lib/jvm/java-8-openjdk/jre/bin/java|g' \
--i "${pkgdir}/opt/cuda/libnsight/nsight.ini" \
--i "${pkgdir}/opt/cuda/libnvvp/nvvp.ini"
-
-  # Allow GCC 9 to work
-  sed -i "/.*unsupported GNU version.*/d" 
"${pkgdir}"/opt/cuda/targets/x86_64-linux/include/crt/host_config.h
-
-  # Fix Makefile paths to CUDA
-  for f in 

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

2019-12-31 Thread Sven-Hendrik Haase via arch-commits
Date: Tuesday, December 31, 2019 @ 09:09:44
  Author: svenstaro
Revision: 545047

archrelease: copy trunk to community-x86_64

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

+
 PKGBUILD   |  176 +++
 cuda-findgllib_mk.diff |   44 +--
 cuda.conf  |6 -
 cuda.install   |   22 ++---
 cuda.sh|4 -
 5 files changed, 126 insertions(+), 126 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2019-12-31 09:09:26 UTC (rev 545046)
+++ PKGBUILD2019-12-31 09:09:44 UTC (rev 545047)
@@ -1,88 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Maintainer: Konstantin Gizdov 
-pkgname=cuda
-pkgver=10.2.89
-_driverver=440.33.01
-pkgrel=2
-pkgdesc="NVIDIA's GPU programming toolkit"
-arch=('x86_64')
-url="https://developer.nvidia.com/cuda-zone;
-license=('custom:NVIDIA')
-depends=('gcc8-libs'  'gcc8' 'opencl-nvidia' 'nvidia-utils')
-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=(http://developer.download.nvidia.com/compute/cuda/10.2/Prod/local_installers/cuda_${pkgver}_${_driverver}_linux.run
-cuda.sh
-cuda.conf
-cuda-findgllib_mk.diff)
-sha512sums=('ad8da539ff5df7caf411d1e497ff3d6978cfa8a1fd9150fa4846089e92a604ea56be8631f3efdfe7229a655b8d2d28e6edb32f5731530a77d6f00241cc7aab6e'
-
'b3691913027b8390161c7412d87a905712d90434cc82027a52f203f8ae3dda755738f734f8190277471e4541d685b524568ad03af58d4b7ebad346eee11c10e4'
-
'714d973bc79446f73bebe85306b3566fe25b554bcbcba2fcbe76709a3eca71fb5d183ab4da2d3b5e9326cb9cd8d13a93f6d4a005ea5a41f7ef8e6c6e81e06b5e'
-
'41d6b6cad934f135eafde610d1cbd862033977fd4416a4b6abaa47709a70bab7fcf6f8377c21329084fb9db13f2a8c8c20e93c15292d7d4a6448d70a33b23f1b')
-
-prepare() {
-  sh cuda_${pkgver}_${_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"
-
-  # Define compilers for CUDA to use.
-  # This allows us to use older versions of GCC if we have to.
-  ln -s /usr/bin/gcc-8 "${pkgdir}/opt/cuda/bin/gcc"
-  ln -s /usr/bin/g++-8 "${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 $'\0' _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 8
-  rm -fr  "${pkgdir}/opt/cuda/jre"
-  sed 's|../jre/bin/java|/usr/lib/jvm/java-8-openjdk/jre/bin/java|g' \
--i "${pkgdir}/opt/cuda/libnsight/nsight.ini" \
--i "${pkgdir}/opt/cuda/libnvvp/nvvp.ini"
-
-  # Allow GCC 9 to work
-  sed -i "/.*unsupported GNU version.*/d" 
"${pkgdir}"/opt/cuda/targets/x86_64-linux/include/crt/host_config.h
-
-  # Fix Makefile paths to CUDA
-  for 

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

2019-10-29 Thread Sven-Hendrik Haase via arch-commits
Date: Tuesday, October 29, 2019 @ 08:12:31
  Author: svenstaro
Revision: 520877

archrelease: copy trunk to community-x86_64

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

+
 PKGBUILD   |  171 ---
 cuda-findgllib_mk.diff |   44 ++--
 cuda.conf  |6 -
 cuda.install   |   22 +++---
 cuda.sh|4 -
 5 files changed, 126 insertions(+), 121 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2019-10-29 08:11:58 UTC (rev 520876)
+++ PKGBUILD2019-10-29 08:12:31 UTC (rev 520877)
@@ -1,83 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Co-Maintainer: Konstantin Gizdov 
-pkgname=cuda
-pkgver=10.1.243
-_driverver=418.87.00
-pkgrel=1
-pkgdesc="NVIDIA's GPU programming toolkit"
-arch=('x86_64')
-url="https://developer.nvidia.com/cuda-zone;
-license=('custom:NVIDIA')
-depends=('gcc8-libs'  'gcc8' 'opencl-nvidia' 'nvidia-utils')
-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=(http://developer.download.nvidia.com/compute/cuda/10.1/Prod/local_installers/cuda_${pkgver}_${_driverver}_linux.run
-cuda.sh
-cuda.conf
-cuda-findgllib_mk.diff)
-sha512sums=('f92b19d0242969a65a6e6db43bc293e442abc07a9e168c9e995692e1a401679504598c782e511be3879e1650b90f71a50bbc63c9ee45654c26b5007cdf33c4fe'
-
'b3691913027b8390161c7412d87a905712d90434cc82027a52f203f8ae3dda755738f734f8190277471e4541d685b524568ad03af58d4b7ebad346eee11c10e4'
-
'714d973bc79446f73bebe85306b3566fe25b554bcbcba2fcbe76709a3eca71fb5d183ab4da2d3b5e9326cb9cd8d13a93f6d4a005ea5a41f7ef8e6c6e81e06b5e'
-
'41d6b6cad934f135eafde610d1cbd862033977fd4416a4b6abaa47709a70bab7fcf6f8377c21329084fb9db13f2a8c8c20e93c15292d7d4a6448d70a33b23f1b')
-
-prepare() {
-  sh cuda_${pkgver}_${_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"
-
-  # Define compilers for CUDA to use.
-  # This allows us to use older versions of GCC if we have to.
-  ln -s /usr/bin/gcc-8 "${pkgdir}/opt/cuda/bin/gcc"
-  ln -s /usr/bin/g++-8 "${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 $'\0' _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 8
-  rm -fr  "${pkgdir}/opt/cuda/jre"
-  sed 's|../jre/bin/java|/usr/lib/jvm/java-8-openjdk/jre/bin/java|g' \
--i "${pkgdir}/opt/cuda/libnsight/nsight.ini" \
--i "${pkgdir}/opt/cuda/libnvvp/nvvp.ini"
-
-  # Allow GCC 9 to work
-  sed -i "/.*unsupported GNU version.*/d" 
"${pkgdir}"/opt/cuda/targets/x86_64-linux/include/crt/host_config.h
-}
-
-# vim:set ts=2 sw=2 et:
-


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

2019-08-19 Thread Sven-Hendrik Haase via arch-commits
Date: Monday, August 19, 2019 @ 23:30:39
  Author: svenstaro
Revision: 500227

archrelease: copy trunk to community-x86_64

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

+
 PKGBUILD   |  170 ++-
 cuda-findgllib_mk.diff |   44 ++--
 cuda.conf  |6 -
 cuda.install   |   22 +++---
 cuda.sh|4 -
 5 files changed, 121 insertions(+), 125 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2019-08-19 23:30:11 UTC (rev 500226)
+++ PKGBUILD2019-08-19 23:30:39 UTC (rev 500227)
@@ -1,87 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Co-Maintainer: Konstantin Gizdov 
-pkgname=cuda
-pkgver=10.1.168
-_basever=10.1.105
-_driverver=418.39
-pkgrel=4
-pkgdesc="NVIDIA's GPU programming toolkit"
-arch=('x86_64')
-url="https://developer.nvidia.com/cuda-zone;
-license=('custom:NVIDIA')
-depends=('gcc8-libs'  'gcc8' 'opencl-nvidia' 'nvidia-utils')
-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
-
https://developer.nvidia.com/compute/cuda/10.1/Prod/local_installers/cuda_10.1.168_418.67_linux.run
-cuda.sh
-cuda.conf
-cuda-findgllib_mk.diff)
-sha512sums=('07cdc053989758e4cdccaad566cae7127fa79780ad85033ea52d33cc4c43c9de08e88dd087390c58b542e51703f256859cdf51a018ee57e6a412f45fb9561622'
-
'85635012ec7081e200fb46f973852939f9709e802f495c288d5f31ff1fbd283a578fdaca0afa8955e6e0c7ca6c4862428da5168e0938b48390952d8633350910'
-
'b3691913027b8390161c7412d87a905712d90434cc82027a52f203f8ae3dda755738f734f8190277471e4541d685b524568ad03af58d4b7ebad346eee11c10e4'
-
'714d973bc79446f73bebe85306b3566fe25b554bcbcba2fcbe76709a3eca71fb5d183ab4da2d3b5e9326cb9cd8d13a93f6d4a005ea5a41f7ef8e6c6e81e06b5e'
-
'41d6b6cad934f135eafde610d1cbd862033977fd4416a4b6abaa47709a70bab7fcf6f8377c21329084fb9db13f2a8c8c20e93c15292d7d4a6448d70a33b23f1b')
-
-prepare() {
-  sh cuda_${_basever}_${_driverver}_linux.run --target "${srcdir}" --noexec
-  sh cuda_10.1.168_418.67_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"
-
-  # Define compilers for CUDA to use.
-  # This allows us to use older versions of GCC if we have to.
-  ln -s /usr/bin/gcc-8 "${pkgdir}/opt/cuda/bin/gcc"
-  ln -s /usr/bin/g++-8 "${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 $'\0' _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 8
-  rm -fr  "${pkgdir}/opt/cuda/jre"
-  sed 

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

2019-06-23 Thread Sven-Hendrik Haase via arch-commits
Date: Sunday, June 23, 2019 @ 06:04:40
  Author: svenstaro
Revision: 483014

archrelease: copy trunk to community-x86_64

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

+
 PKGBUILD   |  174 +++
 cuda-findgllib_mk.diff |   44 +--
 cuda.conf  |6 -
 cuda.install   |   22 ++---
 cuda.sh|4 -
 5 files changed, 125 insertions(+), 125 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2019-06-23 06:04:12 UTC (rev 483013)
+++ PKGBUILD2019-06-23 06:04:40 UTC (rev 483014)
@@ -1,87 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Co-Maintainer: Konstantin Gizdov 
-pkgname=cuda
-pkgver=10.1.168
-_basever=10.1.105
-_driverver=418.39
-pkgrel=3
-pkgdesc="NVIDIA's GPU programming toolkit"
-arch=('x86_64')
-url="https://developer.nvidia.com/cuda-zone;
-license=('custom:NVIDIA')
-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
-
https://developer.nvidia.com/compute/cuda/10.1/Prod/local_installers/cuda_10.1.168_418.67_linux.run
-cuda.sh
-cuda.conf
-cuda-findgllib_mk.diff)
-sha512sums=('07cdc053989758e4cdccaad566cae7127fa79780ad85033ea52d33cc4c43c9de08e88dd087390c58b542e51703f256859cdf51a018ee57e6a412f45fb9561622'
-
'85635012ec7081e200fb46f973852939f9709e802f495c288d5f31ff1fbd283a578fdaca0afa8955e6e0c7ca6c4862428da5168e0938b48390952d8633350910'
-
'b3691913027b8390161c7412d87a905712d90434cc82027a52f203f8ae3dda755738f734f8190277471e4541d685b524568ad03af58d4b7ebad346eee11c10e4'
-
'714d973bc79446f73bebe85306b3566fe25b554bcbcba2fcbe76709a3eca71fb5d183ab4da2d3b5e9326cb9cd8d13a93f6d4a005ea5a41f7ef8e6c6e81e06b5e'
-
'41d6b6cad934f135eafde610d1cbd862033977fd4416a4b6abaa47709a70bab7fcf6f8377c21329084fb9db13f2a8c8c20e93c15292d7d4a6448d70a33b23f1b')
-
-prepare() {
-  sh cuda_${_basever}_${_driverver}_linux.run --target "${srcdir}" --noexec
-  sh cuda_10.1.168_418.67_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"
-
-  # Define compilers for CUDA to use.
-  # This allows us to use older versions of GCC if we have to.
-  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 $'\0' _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 8
-  rm -fr  "${pkgdir}/opt/cuda/jre"
-  sed 

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

2019-06-18 Thread Sven-Hendrik Haase via arch-commits
Date: Wednesday, June 19, 2019 @ 05:00:14
  Author: svenstaro
Revision: 482303

archrelease: copy trunk to community-x86_64

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

+
 PKGBUILD   |  170 ---
 cuda-findgllib_mk.diff |   44 ++--
 cuda.conf  |6 -
 cuda.install   |   22 +++---
 cuda.sh|4 -
 5 files changed, 125 insertions(+), 121 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2019-06-19 04:59:33 UTC (rev 482302)
+++ PKGBUILD2019-06-19 05:00:14 UTC (rev 482303)
@@ -1,83 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Co-Maintainer: Konstantin Gizdov 
-pkgname=cuda
-pkgver=10.1.168
-_basever=10.1.105
-_driverver=418.39
-pkgrel=2
-pkgdesc="NVIDIA's GPU programming toolkit"
-arch=('x86_64')
-url="https://developer.nvidia.com/cuda-zone;
-license=('custom:NVIDIA')
-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
-
https://developer.nvidia.com/compute/cuda/10.1/Prod/local_installers/cuda_10.1.168_418.67_linux.run
-cuda.sh
-cuda.conf
-cuda-findgllib_mk.diff)
-sha512sums=('07cdc053989758e4cdccaad566cae7127fa79780ad85033ea52d33cc4c43c9de08e88dd087390c58b542e51703f256859cdf51a018ee57e6a412f45fb9561622'
-
'85635012ec7081e200fb46f973852939f9709e802f495c288d5f31ff1fbd283a578fdaca0afa8955e6e0c7ca6c4862428da5168e0938b48390952d8633350910'
-
'b3691913027b8390161c7412d87a905712d90434cc82027a52f203f8ae3dda755738f734f8190277471e4541d685b524568ad03af58d4b7ebad346eee11c10e4'
-
'714d973bc79446f73bebe85306b3566fe25b554bcbcba2fcbe76709a3eca71fb5d183ab4da2d3b5e9326cb9cd8d13a93f6d4a005ea5a41f7ef8e6c6e81e06b5e'
-
'41d6b6cad934f135eafde610d1cbd862033977fd4416a4b6abaa47709a70bab7fcf6f8377c21329084fb9db13f2a8c8c20e93c15292d7d4a6448d70a33b23f1b')
-
-prepare() {
-  sh cuda_${_basever}_${_driverver}_linux.run --target "${srcdir}" --noexec
-  sh cuda_10.1.168_418.67_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 $'\0' _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 8
-  rm -fr  "${pkgdir}/opt/cuda/jre"
-  sed 's|../jre/bin/java|/usr/lib/jvm/java-8-openjdk/jre/bin/java|g' \
--i 

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

2019-06-17 Thread Sven-Hendrik Haase via arch-commits
Date: Tuesday, June 18, 2019 @ 01:48:34
  Author: svenstaro
Revision: 482061

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2019-06-18 01:47:58 UTC (rev 482060)
+++ PKGBUILD2019-06-18 01:48:34 UTC (rev 482061)
@@ -1,83 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Co-Maintainer: Konstantin Gizdov 
-pkgname=cuda
-pkgver=10.1.168
-_basever=10.1.105
-_driverver=418.39
-pkgrel=1
-pkgdesc="NVIDIA's GPU programming toolkit"
-arch=('x86_64')
-url="https://developer.nvidia.com/cuda-zone;
-license=('custom:NVIDIA')
-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
-
https://developer.nvidia.com/compute/cuda/10.1/Prod/local_installers/cuda_10.1.168_418.67_linux.run
-cuda.sh
-cuda.conf
-cuda-findgllib_mk.diff)
-sha512sums=('07cdc053989758e4cdccaad566cae7127fa79780ad85033ea52d33cc4c43c9de08e88dd087390c58b542e51703f256859cdf51a018ee57e6a412f45fb9561622'
-
'85635012ec7081e200fb46f973852939f9709e802f495c288d5f31ff1fbd283a578fdaca0afa8955e6e0c7ca6c4862428da5168e0938b48390952d8633350910'
-
'ce0b8df5d918ec8429da4ab8f9dee463ac04055ee5b0beeb0386b67d765a4c892d314995776a0d695cd06bcfbaf996e4904935ddc898a9d774f6bf965d989dea'
-
'714d973bc79446f73bebe85306b3566fe25b554bcbcba2fcbe76709a3eca71fb5d183ab4da2d3b5e9326cb9cd8d13a93f6d4a005ea5a41f7ef8e6c6e81e06b5e'
-
'41d6b6cad934f135eafde610d1cbd862033977fd4416a4b6abaa47709a70bab7fcf6f8377c21329084fb9db13f2a8c8c20e93c15292d7d4a6448d70a33b23f1b')
-
-prepare() {
-  sh cuda_${_basever}_${_driverver}_linux.run --target "${srcdir}" --noexec
-  sh cuda_10.1.168_418.67_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 $'\0' _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 8
-  rm -fr  "${pkgdir}/opt/cuda/jre"
-  sed 's|../jre/bin/java|/usr/lib/jvm/java-8-openjdk/jre/bin/java|g' \
--i 

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

2019-05-15 Thread Sven-Hendrik Haase via arch-commits
Date: Thursday, May 16, 2019 @ 01:53:56
  Author: svenstaro
Revision: 467491

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2019-05-15 23:24:19 UTC (rev 467490)
+++ PKGBUILD2019-05-16 01:53:56 UTC (rev 467491)
@@ -1,80 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Co-Maintainer: Konstantin Gizdov 
-pkgname=cuda
-pkgver=10.1.105
-_basever=10.1.105
-_driverver=418.39
-pkgrel=12
-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' '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 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 $'\0' _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 8
-  rm -fr  "${pkgdir}/opt/cuda/jre"
-  sed 's|../jre/bin/java|/usr/lib/jvm/java-8-openjdk/jre/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-x86_64/PKGBUILD (from rev 467490, 
cuda/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD

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

2018-09-07 Thread Sven-Hendrik Haase via arch-commits
Date: Friday, September 7, 2018 @ 20:47:08
  Author: svenstaro
Revision: 378704

archrelease: copy trunk to community-x86_64

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

+
 PKGBUILD   |  188 +++
 cuda-findgllib_mk.diff |   44 +--
 cuda.conf  |9 +-
 cuda.install   |   22 ++---
 cuda.sh|2 
 5 files changed, 133 insertions(+), 132 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2018-09-07 20:46:50 UTC (rev 378703)
+++ PKGBUILD2018-09-07 20:47:08 UTC (rev 378704)
@@ -1,94 +0,0 @@
-# $Id: PKGBUILD 69719 2012-04-23 02:56:20Z svenstaro $
-# Maintainer: Sven-Hendrik Haase 
-pkgname=cuda
-pkgver=9.2.148
-_basever=9.2.148
-_driverver=396.37
-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/9.2/Prod2/local_installers/cuda_${_basever}_${_driverver}_linux
-cuda.sh
-cuda.conf
-cuda-findgllib_mk.diff)
-sha512sums=('103c59151727b2c14b403799dbde01bbb95e48b95a55050edb4f6786b209876c65a96f8cf5ca7d6b3ac7cd886413b9bf273a7d5afecd8317dcfa49bb63162983'
-
'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
-
-  # 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 of java and link to system java
-  

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

2018-07-12 Thread Sven-Hendrik Haase via arch-commits
Date: Thursday, July 12, 2018 @ 18:04:53
  Author: svenstaro
Revision: 358041

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2018-07-12 18:04:52 UTC (rev 358040)
+++ PKGBUILD2018-07-12 18:04:53 UTC (rev 358041)
@@ -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" "${pkgdir}/etc/ld.so.conf.d/cuda.conf"
-
-  mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}"
-  

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

2018-05-01 Thread Sven-Hendrik Haase via arch-commits
Date: Tuesday, May 1, 2018 @ 15:49:18
  Author: svenstaro
Revision: 318595

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2018-05-01 15:48:14 UTC (rev 318594)
+++ PKGBUILD2018-05-01 15:49:18 UTC (rev 318595)
@@ -1,102 +0,0 @@
-# $Id: PKGBUILD 69719 2012-04-23 02:56:20Z svenstaro $
-# Maintainer: Sven-Hendrik Haase 
-pkgname=cuda
-pkgver=9.1.85.3
-_basever=9.1.85
-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' 'gcc5')
-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.1/Prod/local_installers/cuda_${_basever}_387.26_linux
-
https://developer.nvidia.com/compute/cuda/9.1/Prod/patches/1/cuda_9.1.85.1_linux
-
https://developer.nvidia.com/compute/cuda/9.1/Prod/patches/2/cuda_9.1.85.2_linux
-
https://developer.nvidia.com/compute/cuda/9.1/Prod/patches/3/cuda_9.1.85.3_linux
-cuda.sh
-cuda.conf
-cuda-findgllib_mk.diff)
-sha512sums=('492a5fa58fc93ac718ca093f24bb5e74dd2586338c42f2e11e328c7f16756e3511a1c555b12cb1990bb782d0d1600976f4c9e5b3d4857e371b0431daf06b2827'
-
'a29099ffad3470b8fe3a64c2ad675fd7950bd63dcf722dd19083c7daba55be90755456b937347ae3323b50d797a138f81daefddfd37228a6f75b2341dbd861fa'
-
'62644aa8219ff5ce7428033e279ebc05d96596c3c2b9d27f783aff90f41e38e0341578cc1b33e8d6d64c59a544c3e6174e77c5d046de9b12261d1f7e73b259c5'
-
'dcafdd55cbc6d9063f6dc2001c0365f1c1279254378d4d0231039be78b9dec5d6078b3500fa49457fbbf0fad8a17ef0d18c7fa21551b80dc99a16f2ae2a4110a'
-
'ce0b8df5d918ec8429da4ab8f9dee463ac04055ee5b0beeb0386b67d765a4c892d314995776a0d695cd06bcfbaf996e4904935ddc898a9d774f6bf965d989dea'
-
'66bd93ecab7e1aa07218c3dd1c96e460f63ed4ac47e853ecb313c78a58e5425c8a5772f1c7f73d696bf5f93fc3e556a046a4ed955a53d900976ac525abd1f518'
-
'6e9a15c73849e6400b0289ed9d6e9d3b7f100712713efcb7bbf4921f39fe671cd9fd3958e735c0da3a44f9afdd2aca94dbc63b564970a0dcacba599b570aca0f')
-
-prepare() {
-  sh cuda_${_basever}_387.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.1.85.1_linux --silent --accept-eula 
--installdir="${pkgdir}/opt/cuda"
-  sh "${srcdir}"/cuda_9.1.85.2_linux --silent --accept-eula 
--installdir="${pkgdir}/opt/cuda"
-  sh "${srcdir}"/cuda_9.1.85.3_linux --silent --accept-eula 
--installdir="${pkgdir}/opt/cuda"
-
-  # Hack we need because of glibc 2.26 (https://bugs.archlinux.org/task/55580)
-  # without 

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

2018-05-01 Thread Sven-Hendrik Haase via arch-commits
Date: Tuesday, May 1, 2018 @ 10:27:01
  Author: svenstaro
Revision: 318587

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2018-05-01 10:26:37 UTC (rev 318586)
+++ PKGBUILD2018-05-01 10:27:01 UTC (rev 318587)
@@ -1,102 +0,0 @@
-# $Id: PKGBUILD 69719 2012-04-23 02:56:20Z svenstaro $
-# Maintainer: Sven-Hendrik Haase 
-pkgname=cuda
-pkgver=9.1.85.3
-_basever=9.1.85
-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' 'gcc5')
-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.1/Prod/local_installers/cuda_${_basever}_387.26_linux
-
https://developer.nvidia.com/compute/cuda/9.1/Prod/patches/1/cuda_9.1.85.1_linux
-
https://developer.nvidia.com/compute/cuda/9.1/Prod/patches/2/cuda_9.1.85.2_linux
-
https://developer.nvidia.com/compute/cuda/9.1/Prod/patches/3/cuda_9.1.85.3_linux
-cuda.sh
-cuda.conf
-cuda-findgllib_mk.diff)
-sha512sums=('492a5fa58fc93ac718ca093f24bb5e74dd2586338c42f2e11e328c7f16756e3511a1c555b12cb1990bb782d0d1600976f4c9e5b3d4857e371b0431daf06b2827'
-
'a29099ffad3470b8fe3a64c2ad675fd7950bd63dcf722dd19083c7daba55be90755456b937347ae3323b50d797a138f81daefddfd37228a6f75b2341dbd861fa'
-
'62644aa8219ff5ce7428033e279ebc05d96596c3c2b9d27f783aff90f41e38e0341578cc1b33e8d6d64c59a544c3e6174e77c5d046de9b12261d1f7e73b259c5'
-
'dcafdd55cbc6d9063f6dc2001c0365f1c1279254378d4d0231039be78b9dec5d6078b3500fa49457fbbf0fad8a17ef0d18c7fa21551b80dc99a16f2ae2a4110a'
-
'ce0b8df5d918ec8429da4ab8f9dee463ac04055ee5b0beeb0386b67d765a4c892d314995776a0d695cd06bcfbaf996e4904935ddc898a9d774f6bf965d989dea'
-
'66bd93ecab7e1aa07218c3dd1c96e460f63ed4ac47e853ecb313c78a58e5425c8a5772f1c7f73d696bf5f93fc3e556a046a4ed955a53d900976ac525abd1f518'
-
'6e9a15c73849e6400b0289ed9d6e9d3b7f100712713efcb7bbf4921f39fe671cd9fd3958e735c0da3a44f9afdd2aca94dbc63b564970a0dcacba599b570aca0f')
-
-prepare() {
-  sh cuda_${_basever}_387.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.1.85.1_linux --silent --accept-eula 
--installdir="${pkgdir}/opt/cuda"
-  sh "${srcdir}"/cuda_9.1.85.2_linux --silent --accept-eula 
--installdir="${pkgdir}/opt/cuda"
-  sh "${srcdir}"/cuda_9.1.85.3_linux --silent --accept-eula 
--installdir="${pkgdir}/opt/cuda"
-
-  # Hack we need because of glibc 2.26 (https://bugs.archlinux.org/task/55580)
-  # without 

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

2018-04-30 Thread Sven-Hendrik Haase via arch-commits
Date: Monday, April 30, 2018 @ 20:17:44
  Author: svenstaro
Revision: 318529

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2018-04-30 20:17:08 UTC (rev 318528)
+++ PKGBUILD2018-04-30 20:17:44 UTC (rev 318529)
@@ -1,102 +0,0 @@
-# $Id: PKGBUILD 69719 2012-04-23 02:56:20Z svenstaro $
-# Maintainer: Sven-Hendrik Haase 
-pkgname=cuda
-pkgver=9.1.85.3
-_basever=9.1.85
-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' 'gcc6')
-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.1/Prod/local_installers/cuda_${_basever}_387.26_linux
-
https://developer.nvidia.com/compute/cuda/9.1/Prod/patches/1/cuda_9.1.85.1_linux
-
https://developer.nvidia.com/compute/cuda/9.1/Prod/patches/2/cuda_9.1.85.2_linux
-
https://developer.nvidia.com/compute/cuda/9.1/Prod/patches/3/cuda_9.1.85.3_linux
-cuda.sh
-cuda.conf
-cuda-findgllib_mk.diff)
-sha512sums=('492a5fa58fc93ac718ca093f24bb5e74dd2586338c42f2e11e328c7f16756e3511a1c555b12cb1990bb782d0d1600976f4c9e5b3d4857e371b0431daf06b2827'
-
'a29099ffad3470b8fe3a64c2ad675fd7950bd63dcf722dd19083c7daba55be90755456b937347ae3323b50d797a138f81daefddfd37228a6f75b2341dbd861fa'
-
'62644aa8219ff5ce7428033e279ebc05d96596c3c2b9d27f783aff90f41e38e0341578cc1b33e8d6d64c59a544c3e6174e77c5d046de9b12261d1f7e73b259c5'
-
'dcafdd55cbc6d9063f6dc2001c0365f1c1279254378d4d0231039be78b9dec5d6078b3500fa49457fbbf0fad8a17ef0d18c7fa21551b80dc99a16f2ae2a4110a'
-
'ce0b8df5d918ec8429da4ab8f9dee463ac04055ee5b0beeb0386b67d765a4c892d314995776a0d695cd06bcfbaf996e4904935ddc898a9d774f6bf965d989dea'
-
'66bd93ecab7e1aa07218c3dd1c96e460f63ed4ac47e853ecb313c78a58e5425c8a5772f1c7f73d696bf5f93fc3e556a046a4ed955a53d900976ac525abd1f518'
-
'6e9a15c73849e6400b0289ed9d6e9d3b7f100712713efcb7bbf4921f39fe671cd9fd3958e735c0da3a44f9afdd2aca94dbc63b564970a0dcacba599b570aca0f')
-
-prepare() {
-  sh cuda_${_basever}_387.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.1.85.1_linux --silent --accept-eula 
--installdir="${pkgdir}/opt/cuda"
-  sh "${srcdir}"/cuda_9.1.85.2_linux --silent --accept-eula 
--installdir="${pkgdir}/opt/cuda"
-  sh "${srcdir}"/cuda_9.1.85.3_linux --silent --accept-eula 
--installdir="${pkgdir}/opt/cuda"
-
-  # Hack we need because of glibc 2.26 (https://bugs.archlinux.org/task/55580)
-  # 

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

2018-04-22 Thread Sven-Hendrik Haase via arch-commits
Date: Monday, April 23, 2018 @ 01:42:03
  Author: svenstaro
Revision: 317321

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2018-04-23 01:41:36 UTC (rev 317320)
+++ PKGBUILD2018-04-23 01:42:03 UTC (rev 317321)
@@ -1,99 +0,0 @@
-# $Id: PKGBUILD 69719 2012-04-23 02:56:20Z svenstaro $
-# Maintainer: Sven-Hendrik Haase 
-pkgname=cuda
-pkgver=9.1.85.2
-_basever=9.1.85
-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' 'gcc6')
-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.1/Prod/local_installers/cuda_${_basever}_387.26_linux
-
https://developer.nvidia.com/compute/cuda/9.1/Prod/patches/1/cuda_9.1.85.1_linux
-
https://developer.nvidia.com/compute/cuda/9.1/Prod/patches/2/cuda_9.1.85.2_linux
-cuda.sh
-cuda.conf
-cuda-findgllib_mk.diff)
-sha512sums=('492a5fa58fc93ac718ca093f24bb5e74dd2586338c42f2e11e328c7f16756e3511a1c555b12cb1990bb782d0d1600976f4c9e5b3d4857e371b0431daf06b2827'
-
'a29099ffad3470b8fe3a64c2ad675fd7950bd63dcf722dd19083c7daba55be90755456b937347ae3323b50d797a138f81daefddfd37228a6f75b2341dbd861fa'
-
'62644aa8219ff5ce7428033e279ebc05d96596c3c2b9d27f783aff90f41e38e0341578cc1b33e8d6d64c59a544c3e6174e77c5d046de9b12261d1f7e73b259c5'
-
'ce0b8df5d918ec8429da4ab8f9dee463ac04055ee5b0beeb0386b67d765a4c892d314995776a0d695cd06bcfbaf996e4904935ddc898a9d774f6bf965d989dea'
-
'66bd93ecab7e1aa07218c3dd1c96e460f63ed4ac47e853ecb313c78a58e5425c8a5772f1c7f73d696bf5f93fc3e556a046a4ed955a53d900976ac525abd1f518'
-
'6e9a15c73849e6400b0289ed9d6e9d3b7f100712713efcb7bbf4921f39fe671cd9fd3958e735c0da3a44f9afdd2aca94dbc63b564970a0dcacba599b570aca0f')
-
-prepare() {
-  sh cuda_${_basever}_387.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.1.85.1_linux --silent --accept-eula 
--installdir="${pkgdir}/opt/cuda"
-  sh "${srcdir}"/cuda_9.1.85.2_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 gcc6
-  ln -s /usr/bin/gcc-6 "${pkgdir}/opt/cuda/bin/gcc"
-  ln 

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

2018-03-05 Thread Sven-Hendrik Haase via arch-commits
Date: Monday, March 5, 2018 @ 15:05:14
  Author: svenstaro
Revision: 302768

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2018-03-05 15:04:54 UTC (rev 302767)
+++ PKGBUILD2018-03-05 15:05:14 UTC (rev 302768)
@@ -1,96 +0,0 @@
-# $Id: PKGBUILD 69719 2012-04-23 02:56:20Z svenstaro $
-# Maintainer: Sven-Hendrik Haase 
-pkgname=cuda
-pkgver=9.1.85.1
-_basever=9.1.85
-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' 'gcc6')
-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.1/Prod/local_installers/cuda_${_basever}_387.26_linux
-
https://developer.nvidia.com/compute/cuda/9.1/Prod/patches/1/cuda_9.1.85.1_linux
-cuda.sh
-cuda.conf
-cuda-findgllib_mk.diff)
-sha512sums=('492a5fa58fc93ac718ca093f24bb5e74dd2586338c42f2e11e328c7f16756e3511a1c555b12cb1990bb782d0d1600976f4c9e5b3d4857e371b0431daf06b2827'
-
'a29099ffad3470b8fe3a64c2ad675fd7950bd63dcf722dd19083c7daba55be90755456b937347ae3323b50d797a138f81daefddfd37228a6f75b2341dbd861fa'
-
'ce0b8df5d918ec8429da4ab8f9dee463ac04055ee5b0beeb0386b67d765a4c892d314995776a0d695cd06bcfbaf996e4904935ddc898a9d774f6bf965d989dea'
-
'66bd93ecab7e1aa07218c3dd1c96e460f63ed4ac47e853ecb313c78a58e5425c8a5772f1c7f73d696bf5f93fc3e556a046a4ed955a53d900976ac525abd1f518'
-
'6e9a15c73849e6400b0289ed9d6e9d3b7f100712713efcb7bbf4921f39fe671cd9fd3958e735c0da3a44f9afdd2aca94dbc63b564970a0dcacba599b570aca0f')
-
-prepare() {
-  sh cuda_${_basever}_387.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.1.85.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 gcc6
-  ln -s /usr/bin/gcc-6 "${pkgdir}/opt/cuda/bin/gcc"
-  ln -s /usr/bin/g++-6 "${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 

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

2018-02-17 Thread Sven-Hendrik Haase via arch-commits
Date: Sunday, February 18, 2018 @ 02:07:36
  Author: svenstaro
Revision: 296203

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2018-02-18 02:07:14 UTC (rev 296202)
+++ PKGBUILD2018-02-18 02:07:36 UTC (rev 296203)
@@ -1,92 +0,0 @@
-# $Id: PKGBUILD 69719 2012-04-23 02:56:20Z svenstaro $
-# Maintainer: Sven-Hendrik Haase 
-pkgname=cuda
-pkgver=9.1.85
-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' 'gcc6')
-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.1/Prod/local_installers/cuda_${pkgver}_387.26_linux
-cuda.sh
-cuda.conf
-cuda-findgllib_mk.diff)
-sha512sums=('492a5fa58fc93ac718ca093f24bb5e74dd2586338c42f2e11e328c7f16756e3511a1c555b12cb1990bb782d0d1600976f4c9e5b3d4857e371b0431daf06b2827'
-
'ce0b8df5d918ec8429da4ab8f9dee463ac04055ee5b0beeb0386b67d765a4c892d314995776a0d695cd06bcfbaf996e4904935ddc898a9d774f6bf965d989dea'
-
'66bd93ecab7e1aa07218c3dd1c96e460f63ed4ac47e853ecb313c78a58e5425c8a5772f1c7f73d696bf5f93fc3e556a046a4ed955a53d900976ac525abd1f518'
-
'6e9a15c73849e6400b0289ed9d6e9d3b7f100712713efcb7bbf4921f39fe671cd9fd3958e735c0da3a44f9afdd2aca94dbc63b564970a0dcacba599b570aca0f')
-
-prepare() {
-  sh cuda_${pkgver}_387.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
-
-  # 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 gcc6
-  ln -s /usr/bin/gcc-6 "${pkgdir}/opt/cuda/bin/gcc"
-  ln -s /usr/bin/g++-6 "${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  "${pkgdir}/opt/cuda/jre"
-  sed 

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

2017-05-23 Thread Sven-Hendrik Haase
Date: Wednesday, May 24, 2017 @ 05:26:32
  Author: svenstaro
Revision: 229913

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2017-05-24 05:26:13 UTC (rev 229912)
+++ PKGBUILD2017-05-24 05:26:32 UTC (rev 229913)
@@ -1,70 +0,0 @@
-# $Id: PKGBUILD 69719 2012-04-23 02:56:20Z svenstaro $
-# Maintainer: Sven-Hendrik Haase 
-pkgname=cuda
-pkgver=8.0.61
-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/8.0/Prod2/local_installers/cuda_${pkgver}_375.26_linux-run
-cuda.sh
-cuda.conf
-cuda-findgllib_mk.diff)
-md5sums=('33e1bd980e91af4e55f3ef835c103f9b'
- '7e5990e03eea90075f5a500e91a0c3d3'
- '71420ee4e90c65df21c6c5d34373c245'
- '6476452a339c12d8ca18b5feb47100cc')
-
-prepare() {
-  sh cuda_${pkgver}_375.26_linux-run -extract=${srcdir}
-  ./cuda-linux64-rel-*.run --noexec --keep
-  ./cuda-samples-linux-*.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
-  perl install-linux.pl -prefix="${pkgdir}/opt/cuda" -noprompt
-  perl install-sdk-linux.pl -cudaprefix="${pkgdir}/opt/cuda" 
-prefix="${pkgdir}/opt/cuda/samples" -noprompt
-
-  ln -s /usr/bin/gcc-5 "${pkgdir}/opt/cuda/bin/gcc"
-  ln -s /usr/bin/g++-5 "${pkgdir}/opt/cuda/bin/g++"
-
-  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"*
-}

Copied: cuda/repos/community-x86_64/PKGBUILD (from rev 229912, 
cuda/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2017-05-24 05:26:32 UTC (rev 229913)
@@ -0,0 +1,84 @@
+# $Id: PKGBUILD 69719 2012-04-23 02:56:20Z svenstaro $
+# Maintainer: Sven-Hendrik Haase 
+pkgname=cuda
+pkgver=8.0.61
+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' '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/8.0/Prod2/local_installers/cuda_${pkgver}_375.26_linux-run
+cuda.sh
+cuda.conf
+cuda-findgllib_mk.diff)

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

2017-02-28 Thread Sven-Hendrik Haase
Date: Tuesday, February 28, 2017 @ 10:58:02
  Author: svenstaro
Revision: 214204

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2017-02-28 10:57:42 UTC (rev 214203)
+++ PKGBUILD2017-02-28 10:58:02 UTC (rev 214204)
@@ -1,70 +0,0 @@
-# $Id: PKGBUILD 69719 2012-04-23 02:56:20Z svenstaro $
-# Maintainer: Sven-Hendrik Haase 
-pkgname=cuda
-pkgver=8.0.44
-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' '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/8.0/prod/local_installers/cuda_${pkgver}_linux-run
-cuda.sh
-cuda.conf
-cuda-findgllib_mk.diff)
-md5sums=('6dca912f9b7e2b7569b0074a41713640'
- '7e5990e03eea90075f5a500e91a0c3d3'
- '71420ee4e90c65df21c6c5d34373c245'
- '6476452a339c12d8ca18b5feb47100cc')
-
-prepare() {
-  sh cuda_${pkgver}_linux-run -extract=${srcdir}
-  ./cuda-linux64-rel-*.run --noexec --keep
-  ./cuda-samples-linux-*.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
-  perl install-linux.pl -prefix="${pkgdir}/opt/cuda" -noprompt
-  perl install-sdk-linux.pl -cudaprefix="${pkgdir}/opt/cuda" 
-prefix="${pkgdir}/opt/cuda/samples" -noprompt
-
-  ln -s /usr/bin/gcc-5 "${pkgdir}/opt/cuda/bin/gcc"
-  ln -s /usr/bin/g++-5 "${pkgdir}/opt/cuda/bin/g++"
-
-  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"*
-}

Copied: cuda/repos/community-x86_64/PKGBUILD (from rev 214203, 
cuda/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2017-02-28 10:58:02 UTC (rev 214204)
@@ -0,0 +1,70 @@
+# $Id: PKGBUILD 69719 2012-04-23 02:56:20Z svenstaro $
+# Maintainer: Sven-Hendrik Haase 
+pkgname=cuda
+pkgver=8.0.61
+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/8.0/Prod2/local_installers/cuda_${pkgver}_375.26_linux-run
+cuda.sh
+cuda.conf
+cuda-findgllib_mk.diff)

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

2017-01-09 Thread Sven-Hendrik Haase
Date: Tuesday, January 10, 2017 @ 00:56:25
  Author: svenstaro
Revision: 206330

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2017-01-10 00:56:04 UTC (rev 206329)
+++ PKGBUILD2017-01-10 00:56:25 UTC (rev 206330)
@@ -1,69 +0,0 @@
-# $Id: PKGBUILD 69719 2012-04-23 02:56:20Z svenstaro $
-# Maintainer: Sven-Hendrik Haase 
-pkgname=cuda
-pkgver=8.0.44
-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' '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/8.0/prod/local_installers/cuda_${pkgver}_linux-run
-cuda.sh
-cuda.conf
-cuda-findgllib_mk.diff)
-md5sums=('6dca912f9b7e2b7569b0074a41713640'
- '7e5990e03eea90075f5a500e91a0c3d3'
- '71420ee4e90c65df21c6c5d34373c245'
- '6476452a339c12d8ca18b5feb47100cc')
-
-prepare() {
-  sh cuda_${pkgver}_linux-run -extract=${srcdir}
-  ./cuda-linux64-rel-*.run --noexec --keep
-  ./cuda-samples-linux-*.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
-  perl install-linux.pl -prefix="${pkgdir}/opt/cuda" -noprompt
-  perl install-sdk-linux.pl -cudaprefix="${pkgdir}/opt/cuda" 
-prefix="${pkgdir}/opt/cuda/samples" -noprompt
-
-  ln -s /usr/bin/gcc-5 "${pkgdir}/opt/cuda/bin/gcc"
-  ln -s /usr/bin/g++-5 "${pkgdir}/opt/cuda/bin/g++"
-
-  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"
-}

Copied: cuda/repos/community-x86_64/PKGBUILD (from rev 206329, 
cuda/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2017-01-10 00:56:25 UTC (rev 206330)
@@ -0,0 +1,70 @@
+# $Id: PKGBUILD 69719 2012-04-23 02:56:20Z svenstaro $
+# Maintainer: Sven-Hendrik Haase 
+pkgname=cuda
+pkgver=8.0.44
+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' '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/8.0/prod/local_installers/cuda_${pkgver}_linux-run
+cuda.sh
+cuda.conf
+cuda-findgllib_mk.diff)
+md5sums=('6dca912f9b7e2b7569b0074a41713640'
+ '7e5990e03eea90075f5a500e91a0c3d3'
+ 

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

2016-10-23 Thread Sven-Hendrik Haase
Date: Monday, October 24, 2016 @ 00:37:41
  Author: svenstaro
Revision: 193122

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2016-10-24 00:37:25 UTC (rev 193121)
+++ PKGBUILD2016-10-24 00:37:41 UTC (rev 193122)
@@ -1,71 +0,0 @@
-# $Id: PKGBUILD 69719 2012-04-23 02:56:20Z svenstaro $
-# Maintainer: Sven-Hendrik Haase 
-pkgname=cuda
-pkgver=8.0.44
-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/8.0/prod/local_installers/cuda_${pkgver}_linux-run
-cuda.sh
-cuda.conf
-cuda-findgllib_mk.diff)
-md5sums=('6dca912f9b7e2b7569b0074a41713640'
- '7e5990e03eea90075f5a500e91a0c3d3'
- '71420ee4e90c65df21c6c5d34373c245'
- '6476452a339c12d8ca18b5feb47100cc')
-
-prepare() {
-  sh cuda_${pkgver}_linux-run -extract=${srcdir}
-  ./cuda-linux64-rel-*.run --noexec --keep
-  ./cuda-samples-linux-*.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
-  perl install-linux.pl -prefix="${pkgdir}/opt/cuda" -noprompt
-  perl install-sdk-linux.pl -cudaprefix="${pkgdir}/opt/cuda" 
-prefix="${pkgdir}/opt/cuda/samples" -noprompt
-
-  # allow newer gccs to work
-  sed -i "/unsupported GNU/d" $pkgdir/opt/cuda/include/host_config.h
-  ln -s /usr/bin/gcc-5 "${pkgdir}/opt/cuda/bin/gcc"
-  ln -s /usr/bin/g++-5 "${pkgdir}/opt/cuda/bin/g++"
-
-  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"
-}

Copied: cuda/repos/community-x86_64/PKGBUILD (from rev 193121, 
cuda/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2016-10-24 00:37:41 UTC (rev 193122)
@@ -0,0 +1,69 @@
+# $Id: PKGBUILD 69719 2012-04-23 02:56:20Z svenstaro $
+# Maintainer: Sven-Hendrik Haase 
+pkgname=cuda
+pkgver=8.0.44
+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' '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/8.0/prod/local_installers/cuda_${pkgver}_linux-run
+cuda.sh
+cuda.conf
+

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

2016-09-28 Thread Sven-Hendrik Haase
Date: Thursday, September 29, 2016 @ 01:48:34
  Author: svenstaro
Revision: 190765

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2016-09-29 01:24:55 UTC (rev 190764)
+++ PKGBUILD2016-09-29 01:48:34 UTC (rev 190765)
@@ -1,71 +0,0 @@
-# $Id: PKGBUILD 69719 2012-04-23 02:56:20Z svenstaro $
-# Maintainer: Sven-Hendrik Haase 
-pkgname=cuda
-pkgver=7.5.18
-pkgrel=5
-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=(http://developer.download.nvidia.com/compute/cuda/7.5/Prod/local_installers/cuda_${pkgver}_linux.run
-cuda.sh
-cuda.conf
-cuda-findgllib_mk.diff)
-md5sums=('4b3bcecf0dfc35928a0898793cf3e4c6'
- '7e5990e03eea90075f5a500e91a0c3d3'
- '71420ee4e90c65df21c6c5d34373c245'
- '6476452a339c12d8ca18b5feb47100cc')
-
-prepare() {
-  sh cuda_${pkgver}_linux.run -extract=${srcdir}
-  ./cuda-linux64-rel-*.run --noexec --keep
-  ./cuda-samples-linux-*.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
-  perl install-linux.pl -prefix="${pkgdir}/opt/cuda" -noprompt
-  perl install-sdk-linux.pl -cudaprefix="${pkgdir}/opt/cuda" 
-prefix="${pkgdir}/opt/cuda/samples" -noprompt
-
-  # allow newer gccs to work
-  sed -i "/unsupported GNU/d" $pkgdir/opt/cuda/include/host_config.h
-  ln -s /usr/bin/gcc-5 "${pkgdir}/opt/cuda/bin/gcc"
-  ln -s /usr/bin/g++-5 "${pkgdir}/opt/cuda/bin/g++"
-
-  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"
-}

Copied: cuda/repos/community-x86_64/PKGBUILD (from rev 190764, 
cuda/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2016-09-29 01:48:34 UTC (rev 190765)
@@ -0,0 +1,71 @@
+# $Id: PKGBUILD 69719 2012-04-23 02:56:20Z svenstaro $
+# Maintainer: Sven-Hendrik Haase 
+pkgname=cuda
+pkgver=8.0.44
+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/8.0/prod/local_installers/cuda_${pkgver}_linux-run
+cuda.sh
+cuda.conf
+