summaryrefslogtreecommitdiff
path: root/community/cuda-toolkit
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2012-02-15 21:04:51 -0600
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2012-02-15 21:04:51 -0600
commitb3ff1c22a93664f083589a10e30e1f96ca2a15af (patch)
tree5c693c0c80a9a5f06f7af0a2330f0bae74179698 /community/cuda-toolkit
parentd562099d4844c7dbd49830bce70524e8eabad0fc (diff)
parentecec4d4d3ca64d7929f1f63857e82268798e066b (diff)
Merge branch 'master' of gitpar:abslibre-mips64el
Diffstat (limited to 'community/cuda-toolkit')
-rw-r--r--community/cuda-toolkit/PKGBUILD50
-rw-r--r--community/cuda-toolkit/cuda-toolkit.conf2
-rw-r--r--community/cuda-toolkit/cuda-toolkit.install8
-rwxr-xr-xcommunity/cuda-toolkit/cuda-toolkit.sh1
4 files changed, 0 insertions, 61 deletions
diff --git a/community/cuda-toolkit/PKGBUILD b/community/cuda-toolkit/PKGBUILD
deleted file mode 100644
index e886b8a88..000000000
--- a/community/cuda-toolkit/PKGBUILD
+++ /dev/null
@@ -1,50 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
-pkgname=cuda-toolkit
-pkgver=4.1.28
-pkgrel=2
-_fedver=14
-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')
-optdepends=('gdb: for cuda-gdb')
-if [ "$CARCH" = "i686" ]; then
- _arch=32
- md5sums=('835d403e86f4b014b348c587ffb23c0d'
- '5af5226b36cd3f9993f762f85b5d236a'
- 'c0781c63e726eaf03e10135b42b85729')
-else
- _arch=64
- md5sums=('c82103da07d0e96f3d65d7b308b74446'
- '5af5226b36cd3f9993f762f85b5d236a'
- 'c0781c63e726eaf03e10135b42b85729')
-fi
-
-install=cuda-toolkit.install
-source=(http://developer.download.nvidia.com/compute/cuda/4_1/rel/toolkit/cudatoolkit_${pkgver}_linux_${_arch}_fedora${_fedver}.run
- cuda-toolkit.sh
- cuda-toolkit.conf)
-
-build() {
- cd "$srcdir"
-}
-
-package() {
- cd "$srcdir"
-
- mkdir -p $pkgdir/opt/cuda-toolkit
- sh cudatoolkit_${pkgver}_linux_${_arch}_fedora${_fedver}.run --keep -- --prefix=$pkgdir/opt/cuda-toolkit
-
- sed -i "/unsupported GNU/d" $pkgdir/opt/cuda-toolkit/include/host_config.h
- sed -i "s|/build/pkg||g" $pkgdir/opt/cuda-toolkit/bin/nvvp
-
- install -Dm755 cuda-toolkit.sh $pkgdir/etc/profile.d/cuda-toolkit.sh
- install -Dm644 cuda-toolkit.conf $pkgdir/etc/ld.so.conf.d/cuda-toolkit.conf
- install -Dm644 $pkgdir/opt/cuda-toolkit/doc/EULA.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE
-
- mkdir -p $pkgdir/usr/lib
- cd $pkgdir/usr/lib
- ln -s /usr/lib/libncurses.so.5 libtinfo.so.5
-}
diff --git a/community/cuda-toolkit/cuda-toolkit.conf b/community/cuda-toolkit/cuda-toolkit.conf
deleted file mode 100644
index 0f55b39a7..000000000
--- a/community/cuda-toolkit/cuda-toolkit.conf
+++ /dev/null
@@ -1,2 +0,0 @@
-/opt/cuda-toolkit/lib64
-/opt/cuda-toolkit/lib
diff --git a/community/cuda-toolkit/cuda-toolkit.install b/community/cuda-toolkit/cuda-toolkit.install
deleted file mode 100644
index 4e1a1a6b7..000000000
--- a/community/cuda-toolkit/cuda-toolkit.install
+++ /dev/null
@@ -1,8 +0,0 @@
-post_install() {
- echo "You need to relogin in order for the cuda-toolkit binaries to appear in your path."
- post_upgrade
-}
-
-post_upgrade() {
- ldconfig -r .
-}
diff --git a/community/cuda-toolkit/cuda-toolkit.sh b/community/cuda-toolkit/cuda-toolkit.sh
deleted file mode 100755
index 737eb1d3e..000000000
--- a/community/cuda-toolkit/cuda-toolkit.sh
+++ /dev/null
@@ -1 +0,0 @@
-export PATH=$PATH:/opt/cuda-toolkit/bin