diff options
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 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 |