mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
development/cudatoolkit: Updated for version 8.0.61.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
75f15fd801
commit
489ce29bce
3 changed files with 18 additions and 9 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue