summaryrefslogtreecommitdiff
path: root/development/cudatoolkit/cudatoolkit.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/cudatoolkit/cudatoolkit.SlackBuild')
-rw-r--r--development/cudatoolkit/cudatoolkit.SlackBuild14
1 files changed, 4 insertions, 10 deletions
diff --git a/development/cudatoolkit/cudatoolkit.SlackBuild b/development/cudatoolkit/cudatoolkit.SlackBuild
index 81ccf373ed..2bab290528 100644
--- a/development/cudatoolkit/cudatoolkit.SlackBuild
+++ b/development/cudatoolkit/cudatoolkit.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for CUDA Toolkit
-# Copyright 2014 Giorgio Peron Campodarsego, PD, Italy giorgio.peron@gmail.com
+# Copyright 2016 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:-6.5.14}
+VERSION=${VERSION:-7.5.18}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -44,12 +44,6 @@ set -e
if [ "$ARCH" = "x86_64" ]; then
LIBDIRSUFFIX="64"
- CUDAARCH="64"
- break
-elif [ "$ARCH" = "i386" ]; then
- LIBDIRSUFFIX=""
- CUDAARCH="32"
- break
else
printf "\n\n$ARCH is not supported... \n"
exit 1
@@ -61,8 +55,8 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
mkdir -p $PRGNAM-$VERSION
-chmod +x $CWD/$FILENAME\_$VERSION\_linux_$CUDAARCH.run
-$CWD/$FILENAME\_$VERSION\_linux_$CUDAARCH.run -extract=/tmp
+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
cd $PRGNAM-$VERSION