[arch-commits] Commit in cuda/repos (16 files)

Sven-Hendrik Haase svenstaro at nymeria.archlinux.org
Fri Apr 5 08:42:45 UTC 2013


    Date: Friday, April 5, 2013 @ 10:42:44
  Author: svenstaro
Revision: 87672

archrelease: copy trunk to community-i686, community-x86_64

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

-------------------------------+
 /PKGBUILD                     |  124 ++++++++++++++++++++++++++++++++++++++++
 /cuda.conf                    |    4 +
 /cuda.install                 |   22 +++++++
 /cuda.sh                      |    2 
 community-i686/PKGBUILD       |   59 -------------------
 community-i686/cuda.conf      |    2 
 community-i686/cuda.install   |   11 ---
 community-i686/cuda.sh        |    1 
 community-x86_64/PKGBUILD     |   59 -------------------
 community-x86_64/cuda.conf    |    2 
 community-x86_64/cuda.install |   11 ---
 community-x86_64/cuda.sh      |    1 
 12 files changed, 152 insertions(+), 146 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2013-04-05 08:41:23 UTC (rev 87671)
+++ community-i686/PKGBUILD	2013-04-05 08:42:44 UTC (rev 87672)
@@ -1,59 +0,0 @@
-# $Id: PKGBUILD 69719 2012-04-23 02:56:20Z svenstaro $
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-pkgname=cuda
-pkgver=5.0.35
-pkgrel=3
-pkgdesc="NVIDIA's GPU programming toolkit"
-arch=('i686' 'x86_64')
-url="http://www.nvidia.com/object/cuda_home.html"
-license=('custom')
-depends=('gcc-libs' 'opencl-nvidia')
-replaces=('cuda-toolkit' 'cuda-sdk')
-provides=('cuda-toolkit' 'cuda-sdk')
-optdepends=('gdb: for cuda-gdb')
-options=(!strip)
-if [ "$CARCH" = "i686" ]; then
-  _arch=32
-  md5sums=('40c514acb750902c54656b97a6deded6'
-           '7e5990e03eea90075f5a500e91a0c3d3'
-           'ffe1e6fb7f97b23da28fd94a5fd7356d')
-else
-  _arch=64
-  md5sums=('df796fb9ab66075b5c346b3fd0bf596b'
-           '7e5990e03eea90075f5a500e91a0c3d3'
-           'ffe1e6fb7f97b23da28fd94a5fd7356d')
-fi
-install=cuda.install
-source=(http://developer.download.nvidia.com/compute/cuda/5_0/rel-update-1/installers/cuda_${pkgver}_linux_${_arch}_fedora16-1.run
-        cuda.sh
-        cuda.conf)
-
-build() {
-  cd "$srcdir"
-}
-
-package() {
-  sh cuda_${pkgver}_linux_${_arch}_fedora16-1.run -toolkitpath=$PWD -samplespath=$PWD -extract=$srcdir
-  ./cudatoolkit_${pkgver}_linux_${_arch}_fedora16.run -prefix=$pkgdir/opt/cuda -noprompt
-  ./cuda-samples_${pkgver}_linux.run -cudaprefix=$pkgdir/opt/cuda -prefix=$pkgdir/opt/cuda/samples -noprompt
-
-  # allow gcc 4.7 to work
-  sed -i "/unsupported GNU/d" $pkgdir/opt/cuda/include/host_config.h
-
-  # fix nvidia path fuckup
-  sed -i "s|/build/pkg||g" $pkgdir/opt/cuda/bin/nvvp
-  sed -i "s|/build/pkg||g" $pkgdir/opt/cuda/bin/nsight
-
-  install -Dm755 $srcdir/cuda.sh $pkgdir/etc/profile.d/cuda.sh
-  install -Dm644 $srcdir/cuda.conf $pkgdir/etc/ld.so.conf.d/cuda.conf
-  install -Dm644 $pkgdir/opt/cuda/doc/EULA.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE
-
-  # correct cuda path in samples
-  cd $pkgdir/opt/cuda/samples
-  find . -type f | egrep -v '(ppm|pgm)' | xargs grep -lI "$pkgdir/opt/cuda" | xargs sed -i "s|$pkgdir/opt/cuda|/opt/cuda|g"
-
-  # make cuda-gdk work
-  mkdir -p $pkgdir/usr/lib
-  cd $pkgdir/usr/lib
-  ln -s /usr/lib/libncurses.so.5 libtinfo.so.5
-}

Copied: cuda/repos/community-i686/PKGBUILD (from rev 87671, cuda/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2013-04-05 08:42:44 UTC (rev 87672)
@@ -0,0 +1,62 @@
+# $Id: PKGBUILD 69719 2012-04-23 02:56:20Z svenstaro $
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+pkgname=cuda
+pkgver=5.0.35
+pkgrel=4
+pkgdesc="NVIDIA's GPU programming toolkit"
+arch=('i686' 'x86_64')
+url="http://www.nvidia.com/object/cuda_home.html"
+license=('custom')
+depends=('gcc-libs' 'opencl-nvidia')
+replaces=('cuda-toolkit' 'cuda-sdk')
+provides=('cuda-toolkit' 'cuda-sdk')
+optdepends=('gdb: for cuda-gdb')
+options=(!strip)
+if [ "$CARCH" = "i686" ]; then
+  _arch=32
+  md5sums=('40c514acb750902c54656b97a6deded6'
+           '7e5990e03eea90075f5a500e91a0c3d3'
+           'ffe1e6fb7f97b23da28fd94a5fd7356d')
+else
+  _arch=64
+  md5sums=('df796fb9ab66075b5c346b3fd0bf596b'
+           '7e5990e03eea90075f5a500e91a0c3d3'
+           'ffe1e6fb7f97b23da28fd94a5fd7356d')
+fi
+install=cuda.install
+source=(http://developer.download.nvidia.com/compute/cuda/5_0/rel-update-1/installers/cuda_${pkgver}_linux_${_arch}_fedora16-1.run
+        cuda.sh
+        cuda.conf)
+
+build() {
+  cd "$srcdir"
+}
+
+package() {
+  sh cuda_${pkgver}_linux_${_arch}_fedora16-1.run -toolkitpath=$PWD -samplespath=$PWD -extract=$srcdir
+  ./cudatoolkit_${pkgver}_linux_${_arch}_fedora16.run -prefix=$pkgdir/opt/cuda -noprompt
+  ./cuda-samples_${pkgver}_linux.run -cudaprefix=$pkgdir/opt/cuda -prefix=$pkgdir/opt/cuda/samples -noprompt
+
+  # allow gcc 4.7 to work
+  sed -i "/unsupported GNU/d" $pkgdir/opt/cuda/include/host_config.h
+
+  # allow gcc 4.8 to work
+  sed -i "1 i #define __STRICT_ANSI__" $pkgdir/opt/cuda/include/cuda_runtime.h
+
+  # fix nvidia path fuckup
+  sed -i "s|/build/pkg||g" $pkgdir/opt/cuda/bin/nvvp
+  sed -i "s|/build/pkg||g" $pkgdir/opt/cuda/bin/nsight
+
+  install -Dm755 $srcdir/cuda.sh $pkgdir/etc/profile.d/cuda.sh
+  install -Dm644 $srcdir/cuda.conf $pkgdir/etc/ld.so.conf.d/cuda.conf
+  install -Dm644 $pkgdir/opt/cuda/doc/EULA.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE
+
+  # correct cuda path in samples
+  cd $pkgdir/opt/cuda/samples
+  find . -type f | egrep -v '(ppm|pgm)' | xargs grep -lI "$pkgdir/opt/cuda" | xargs sed -i "s|$pkgdir/opt/cuda|/opt/cuda|g"
+
+  # make cuda-gdk work
+  mkdir -p $pkgdir/usr/lib
+  cd $pkgdir/usr/lib
+  ln -s /usr/lib/libncurses.so.5 libtinfo.so.5
+}

Deleted: community-i686/cuda.conf
===================================================================
--- community-i686/cuda.conf	2013-04-05 08:41:23 UTC (rev 87671)
+++ community-i686/cuda.conf	2013-04-05 08:42:44 UTC (rev 87672)
@@ -1,2 +0,0 @@
-/opt/cuda/lib64
-/opt/cuda/lib

Copied: cuda/repos/community-i686/cuda.conf (from rev 87671, cuda/trunk/cuda.conf)
===================================================================
--- community-i686/cuda.conf	                        (rev 0)
+++ community-i686/cuda.conf	2013-04-05 08:42:44 UTC (rev 87672)
@@ -0,0 +1,2 @@
+/opt/cuda/lib64
+/opt/cuda/lib

Deleted: community-i686/cuda.install
===================================================================
--- community-i686/cuda.install	2013-04-05 08:41:23 UTC (rev 87671)
+++ community-i686/cuda.install	2013-04-05 08:42:44 UTC (rev 87672)
@@ -1,11 +0,0 @@
-post_install() {
-    echo "The cuda binaries are in /opt/cuda/bin"
-    echo "The cuda samples are in /opt/cuda/samples"
-    echo "The cuda docs are in /opt/cuda/doc"
-    echo "You need to relogin in order for the cuda binaries to appear in your PATH"
-    post_upgrade
-}
-
-post_upgrade() {
-    ldconfig -r .
-}

Copied: cuda/repos/community-i686/cuda.install (from rev 87671, cuda/trunk/cuda.install)
===================================================================
--- community-i686/cuda.install	                        (rev 0)
+++ community-i686/cuda.install	2013-04-05 08:42:44 UTC (rev 87672)
@@ -0,0 +1,11 @@
+post_install() {
+    echo "The cuda binaries are in /opt/cuda/bin"
+    echo "The cuda samples are in /opt/cuda/samples"
+    echo "The cuda docs are in /opt/cuda/doc"
+    echo "You need to relogin in order for the cuda binaries to appear in your PATH"
+    post_upgrade
+}
+
+post_upgrade() {
+    ldconfig -r .
+}

Deleted: community-i686/cuda.sh
===================================================================
--- community-i686/cuda.sh	2013-04-05 08:41:23 UTC (rev 87671)
+++ community-i686/cuda.sh	2013-04-05 08:42:44 UTC (rev 87672)
@@ -1 +0,0 @@
-export PATH=$PATH:/opt/cuda/bin

Copied: cuda/repos/community-i686/cuda.sh (from rev 87671, cuda/trunk/cuda.sh)
===================================================================
--- community-i686/cuda.sh	                        (rev 0)
+++ community-i686/cuda.sh	2013-04-05 08:42:44 UTC (rev 87672)
@@ -0,0 +1 @@
+export PATH=$PATH:/opt/cuda/bin

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2013-04-05 08:41:23 UTC (rev 87671)
+++ community-x86_64/PKGBUILD	2013-04-05 08:42:44 UTC (rev 87672)
@@ -1,59 +0,0 @@
-# $Id: PKGBUILD 69719 2012-04-23 02:56:20Z svenstaro $
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-pkgname=cuda
-pkgver=5.0.35
-pkgrel=3
-pkgdesc="NVIDIA's GPU programming toolkit"
-arch=('i686' 'x86_64')
-url="http://www.nvidia.com/object/cuda_home.html"
-license=('custom')
-depends=('gcc-libs' 'opencl-nvidia')
-replaces=('cuda-toolkit' 'cuda-sdk')
-provides=('cuda-toolkit' 'cuda-sdk')
-optdepends=('gdb: for cuda-gdb')
-options=(!strip)
-if [ "$CARCH" = "i686" ]; then
-  _arch=32
-  md5sums=('40c514acb750902c54656b97a6deded6'
-           '7e5990e03eea90075f5a500e91a0c3d3'
-           'ffe1e6fb7f97b23da28fd94a5fd7356d')
-else
-  _arch=64
-  md5sums=('df796fb9ab66075b5c346b3fd0bf596b'
-           '7e5990e03eea90075f5a500e91a0c3d3'
-           'ffe1e6fb7f97b23da28fd94a5fd7356d')
-fi
-install=cuda.install
-source=(http://developer.download.nvidia.com/compute/cuda/5_0/rel-update-1/installers/cuda_${pkgver}_linux_${_arch}_fedora16-1.run
-        cuda.sh
-        cuda.conf)
-
-build() {
-  cd "$srcdir"
-}
-
-package() {
-  sh cuda_${pkgver}_linux_${_arch}_fedora16-1.run -toolkitpath=$PWD -samplespath=$PWD -extract=$srcdir
-  ./cudatoolkit_${pkgver}_linux_${_arch}_fedora16.run -prefix=$pkgdir/opt/cuda -noprompt
-  ./cuda-samples_${pkgver}_linux.run -cudaprefix=$pkgdir/opt/cuda -prefix=$pkgdir/opt/cuda/samples -noprompt
-
-  # allow gcc 4.7 to work
-  sed -i "/unsupported GNU/d" $pkgdir/opt/cuda/include/host_config.h
-
-  # fix nvidia path fuckup
-  sed -i "s|/build/pkg||g" $pkgdir/opt/cuda/bin/nvvp
-  sed -i "s|/build/pkg||g" $pkgdir/opt/cuda/bin/nsight
-
-  install -Dm755 $srcdir/cuda.sh $pkgdir/etc/profile.d/cuda.sh
-  install -Dm644 $srcdir/cuda.conf $pkgdir/etc/ld.so.conf.d/cuda.conf
-  install -Dm644 $pkgdir/opt/cuda/doc/EULA.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE
-
-  # correct cuda path in samples
-  cd $pkgdir/opt/cuda/samples
-  find . -type f | egrep -v '(ppm|pgm)' | xargs grep -lI "$pkgdir/opt/cuda" | xargs sed -i "s|$pkgdir/opt/cuda|/opt/cuda|g"
-
-  # make cuda-gdk work
-  mkdir -p $pkgdir/usr/lib
-  cd $pkgdir/usr/lib
-  ln -s /usr/lib/libncurses.so.5 libtinfo.so.5
-}

Copied: cuda/repos/community-x86_64/PKGBUILD (from rev 87671, cuda/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2013-04-05 08:42:44 UTC (rev 87672)
@@ -0,0 +1,62 @@
+# $Id: PKGBUILD 69719 2012-04-23 02:56:20Z svenstaro $
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+pkgname=cuda
+pkgver=5.0.35
+pkgrel=4
+pkgdesc="NVIDIA's GPU programming toolkit"
+arch=('i686' 'x86_64')
+url="http://www.nvidia.com/object/cuda_home.html"
+license=('custom')
+depends=('gcc-libs' 'opencl-nvidia')
+replaces=('cuda-toolkit' 'cuda-sdk')
+provides=('cuda-toolkit' 'cuda-sdk')
+optdepends=('gdb: for cuda-gdb')
+options=(!strip)
+if [ "$CARCH" = "i686" ]; then
+  _arch=32
+  md5sums=('40c514acb750902c54656b97a6deded6'
+           '7e5990e03eea90075f5a500e91a0c3d3'
+           'ffe1e6fb7f97b23da28fd94a5fd7356d')
+else
+  _arch=64
+  md5sums=('df796fb9ab66075b5c346b3fd0bf596b'
+           '7e5990e03eea90075f5a500e91a0c3d3'
+           'ffe1e6fb7f97b23da28fd94a5fd7356d')
+fi
+install=cuda.install
+source=(http://developer.download.nvidia.com/compute/cuda/5_0/rel-update-1/installers/cuda_${pkgver}_linux_${_arch}_fedora16-1.run
+        cuda.sh
+        cuda.conf)
+
+build() {
+  cd "$srcdir"
+}
+
+package() {
+  sh cuda_${pkgver}_linux_${_arch}_fedora16-1.run -toolkitpath=$PWD -samplespath=$PWD -extract=$srcdir
+  ./cudatoolkit_${pkgver}_linux_${_arch}_fedora16.run -prefix=$pkgdir/opt/cuda -noprompt
+  ./cuda-samples_${pkgver}_linux.run -cudaprefix=$pkgdir/opt/cuda -prefix=$pkgdir/opt/cuda/samples -noprompt
+
+  # allow gcc 4.7 to work
+  sed -i "/unsupported GNU/d" $pkgdir/opt/cuda/include/host_config.h
+
+  # allow gcc 4.8 to work
+  sed -i "1 i #define __STRICT_ANSI__" $pkgdir/opt/cuda/include/cuda_runtime.h
+
+  # fix nvidia path fuckup
+  sed -i "s|/build/pkg||g" $pkgdir/opt/cuda/bin/nvvp
+  sed -i "s|/build/pkg||g" $pkgdir/opt/cuda/bin/nsight
+
+  install -Dm755 $srcdir/cuda.sh $pkgdir/etc/profile.d/cuda.sh
+  install -Dm644 $srcdir/cuda.conf $pkgdir/etc/ld.so.conf.d/cuda.conf
+  install -Dm644 $pkgdir/opt/cuda/doc/EULA.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE
+
+  # correct cuda path in samples
+  cd $pkgdir/opt/cuda/samples
+  find . -type f | egrep -v '(ppm|pgm)' | xargs grep -lI "$pkgdir/opt/cuda" | xargs sed -i "s|$pkgdir/opt/cuda|/opt/cuda|g"
+
+  # make cuda-gdk work
+  mkdir -p $pkgdir/usr/lib
+  cd $pkgdir/usr/lib
+  ln -s /usr/lib/libncurses.so.5 libtinfo.so.5
+}

Deleted: community-x86_64/cuda.conf
===================================================================
--- community-x86_64/cuda.conf	2013-04-05 08:41:23 UTC (rev 87671)
+++ community-x86_64/cuda.conf	2013-04-05 08:42:44 UTC (rev 87672)
@@ -1,2 +0,0 @@
-/opt/cuda/lib64
-/opt/cuda/lib

Copied: cuda/repos/community-x86_64/cuda.conf (from rev 87671, cuda/trunk/cuda.conf)
===================================================================
--- community-x86_64/cuda.conf	                        (rev 0)
+++ community-x86_64/cuda.conf	2013-04-05 08:42:44 UTC (rev 87672)
@@ -0,0 +1,2 @@
+/opt/cuda/lib64
+/opt/cuda/lib

Deleted: community-x86_64/cuda.install
===================================================================
--- community-x86_64/cuda.install	2013-04-05 08:41:23 UTC (rev 87671)
+++ community-x86_64/cuda.install	2013-04-05 08:42:44 UTC (rev 87672)
@@ -1,11 +0,0 @@
-post_install() {
-    echo "The cuda binaries are in /opt/cuda/bin"
-    echo "The cuda samples are in /opt/cuda/samples"
-    echo "The cuda docs are in /opt/cuda/doc"
-    echo "You need to relogin in order for the cuda binaries to appear in your PATH"
-    post_upgrade
-}
-
-post_upgrade() {
-    ldconfig -r .
-}

Copied: cuda/repos/community-x86_64/cuda.install (from rev 87671, cuda/trunk/cuda.install)
===================================================================
--- community-x86_64/cuda.install	                        (rev 0)
+++ community-x86_64/cuda.install	2013-04-05 08:42:44 UTC (rev 87672)
@@ -0,0 +1,11 @@
+post_install() {
+    echo "The cuda binaries are in /opt/cuda/bin"
+    echo "The cuda samples are in /opt/cuda/samples"
+    echo "The cuda docs are in /opt/cuda/doc"
+    echo "You need to relogin in order for the cuda binaries to appear in your PATH"
+    post_upgrade
+}
+
+post_upgrade() {
+    ldconfig -r .
+}

Deleted: community-x86_64/cuda.sh
===================================================================
--- community-x86_64/cuda.sh	2013-04-05 08:41:23 UTC (rev 87671)
+++ community-x86_64/cuda.sh	2013-04-05 08:42:44 UTC (rev 87672)
@@ -1 +0,0 @@
-export PATH=$PATH:/opt/cuda/bin

Copied: cuda/repos/community-x86_64/cuda.sh (from rev 87671, cuda/trunk/cuda.sh)
===================================================================
--- community-x86_64/cuda.sh	                        (rev 0)
+++ community-x86_64/cuda.sh	2013-04-05 08:42:44 UTC (rev 87672)
@@ -0,0 +1 @@
+export PATH=$PATH:/opt/cuda/bin




More information about the arch-commits mailing list