summaryrefslogtreecommitdiff
path: root/development/cudatoolkit/cudatoolkit.SlackBuild
diff options
context:
space:
mode:
authorGiorgio Peron <giorgio.peron@gmail.com>2016-07-28 10:50:47 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-07-30 08:28:31 +0700
commit78535101aedc210013e3572820d4ff391b24ed70 (patch)
tree29409ac5de9eb491eefb7c96af47b05d6b75efae /development/cudatoolkit/cudatoolkit.SlackBuild
parent31e8477084fa37f1d873536921cfdf9bbc31ec30 (diff)
downloadslackbuilds-78535101aedc210013e3572820d4ff391b24ed70.tar.gz
development/cudatoolkit: Updated for version 7.5.18.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
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