summaryrefslogtreecommitdiff
path: root/development/cudatoolkit
diff options
context:
space:
mode:
Diffstat (limited to 'development/cudatoolkit')
-rw-r--r--development/cudatoolkit/README6
-rw-r--r--development/cudatoolkit/cudatoolkit.SlackBuild15
-rw-r--r--development/cudatoolkit/cudatoolkit.info6
3 files changed, 18 insertions, 9 deletions
diff --git a/development/cudatoolkit/README b/development/cudatoolkit/README
index f127aae613..22c80bb678 100644
--- a/development/cudatoolkit/README
+++ b/development/cudatoolkit/README
@@ -1,3 +1,9 @@
CUDA Toolkit CUDA is NVIDIA's parallel computing architecture. It
enables dramatic increases in computing performance by harnessing the
power of the GPU.
+
+NOTE:
+- the binary file to download is 1,4 Gb;
+- the temporary package file will need 3,5 Gb;
+- the final package will be around 1 Gb (2,2 Gb when installed).
+Be sure to have enough free space before building this.
diff --git a/development/cudatoolkit/cudatoolkit.SlackBuild b/development/cudatoolkit/cudatoolkit.SlackBuild
index 2bab290528..d70047400b 100644
--- a/development/cudatoolkit/cudatoolkit.SlackBuild
+++ b/development/cudatoolkit/cudatoolkit.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for CUDA Toolkit
-# Copyright 2016 Giorgio Peron <giorgio.peron@gmail.com>, Belluno, Italy
+# Copyright 2017 Giorgio Peron <giorgio.peron@gmail.com>, Belluno, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
PRGNAM=cudatoolkit
FILENAME=cuda
-VERSION=${VERSION:-7.5.18}
+VERSION=${VERSION:-8.0.61}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -55,9 +55,9 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
mkdir -p $PRGNAM-$VERSION
-chmod +x $CWD/$FILENAME\_$VERSION\_linux.run
-$CWD/$FILENAME\_$VERSION\_linux.run -extract=/tmp
-/tmp/$FILENAME-linux64*-$VERSION-*.run -noprompt -nosymlink -prefix=$TMP/$PRGNAM-$VERSION
+chmod +x $CWD/$FILENAME\_$VERSION\_375.26\_linux-run
+$CWD/$FILENAME\_$VERSION\_375.26\_linux-run -extract=$TMP
+$TMP/$FILENAME-linux64*-$VERSION-*.run -noprompt -nosymlink -prefix=$TMP/$PRGNAM-$VERSION
cd $PRGNAM-$VERSION
chown -R root:root .
@@ -95,8 +95,11 @@ rm -rf $PKG/usr/share/cuda/include
cd $PKG/usr/share/cuda/
ln -sf ../../include/cuda include
+# These are already in the nvidia-driver package
+rm -f $PKG/usr/lib${LIBDIRSUFFIX}/libOpenCL.s*
+
# install samples
-/tmp/$FILENAME-samples*-$VERSION-*.run -noprompt -prefix=$PKG/usr/doc/$PRGNAM-$VERSION/NVIDIA_CUDA-6.5_Samples -cudaprefix=/usr/share/cuda
+$TMP/$FILENAME-samples*-$VERSION-*.run -noprompt -prefix=$PKG/usr/doc/$PRGNAM-$VERSION/NVIDIA_CUDA-8.0_Samples -cudaprefix=/usr/share/cuda
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/development/cudatoolkit/cudatoolkit.info b/development/cudatoolkit/cudatoolkit.info
index c75e7daace..5404a11343 100644
--- a/development/cudatoolkit/cudatoolkit.info
+++ b/development/cudatoolkit/cudatoolkit.info
@@ -1,10 +1,10 @@
PRGNAM="cudatoolkit"
-VERSION="7.5.18"
+VERSION="8.0.61"
HOMEPAGE="http://www.nvidia.com/object/cuda_home_new.html"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="http://developer.download.nvidia.com/compute/cuda/7.5/Prod/local_installers/cuda_7.5.18_linux.run"
-MD5SUM_x86_64="4b3bcecf0dfc35928a0898793cf3e4c6"
+DOWNLOAD_x86_64="https://developer.nvidia.com/compute/cuda/8.0/Prod2/local_installers/cuda_8.0.61_375.26_linux-run"
+MD5SUM_x86_64="33e1bd980e91af4e55f3ef835c103f9b"
REQUIRES="nvidia-driver jdk"
MAINTAINER="Giorgio Peron"
EMAIL="giorgio.peron@gmail.com"