diff options
author | Giorgio Peron <giorgio.peron@gmail.com> | 2017-03-06 18:28:41 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-03-11 07:04:25 +0700 |
commit | 489ce29bce2c8bbdd75bfc9b6673b77f555dfe6e (patch) | |
tree | 2387c40eec229cef79ddf6973636545ae5946266 /development/cudatoolkit/cudatoolkit.SlackBuild | |
parent | 75f15fd8012b2ce66b59030b24302e4d76e9f520 (diff) |
development/cudatoolkit: Updated for version 8.0.61.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'development/cudatoolkit/cudatoolkit.SlackBuild')
-rw-r--r-- | development/cudatoolkit/cudatoolkit.SlackBuild | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/development/cudatoolkit/cudatoolkit.SlackBuild b/development/cudatoolkit/cudatoolkit.SlackBuild index 2bab29052840e..d70047400be57 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 |