summaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorGiorgio Peron <giorgio.peron@gmail.com>2020-06-19 09:18:14 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-06-20 07:59:31 +0700
commit540f5d09b7e266a8bfbe45d7fb6e12a275ffb95c (patch)
treeca958480c987a85cce02095c83ef51ea045aab82 /development
parent1da455f73a35faa8e39434a647a8980e6316d7c3 (diff)
downloadslackbuilds-540f5d09b7e266a8bfbe45d7fb6e12a275ffb95c.tar.gz
development/cudatoolkit: Updated for version 10.2.89.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r--development/cudatoolkit/README6
-rw-r--r--development/cudatoolkit/cudatoolkit.SlackBuild94
-rw-r--r--development/cudatoolkit/cudatoolkit.info10
-rw-r--r--development/cudatoolkit/doinst.sh3
-rw-r--r--development/cudatoolkit/files/accinj64.pc9
-rw-r--r--development/cudatoolkit/files/cublas.pc9
-rw-r--r--development/cudatoolkit/files/cuda.pc9
-rw-r--r--development/cudatoolkit/files/cudart.pc9
-rw-r--r--development/cudatoolkit/files/cufft.pc9
-rw-r--r--development/cudatoolkit/files/cufftw.pc9
-rw-r--r--development/cudatoolkit/files/cuinj64.pc9
-rw-r--r--development/cudatoolkit/files/curand.pc9
-rw-r--r--development/cudatoolkit/files/cusolver.pc9
-rw-r--r--development/cudatoolkit/files/cusparse.pc9
-rw-r--r--development/cudatoolkit/files/nppc.pc9
-rw-r--r--development/cudatoolkit/files/nppi.pc9
-rw-r--r--development/cudatoolkit/files/nppial.pc9
-rw-r--r--development/cudatoolkit/files/nppicc.pc9
-rw-r--r--development/cudatoolkit/files/nppicom.pc9
-rw-r--r--development/cudatoolkit/files/nppidei.pc9
-rw-r--r--development/cudatoolkit/files/nppif.pc9
-rw-r--r--development/cudatoolkit/files/nppig.pc9
-rw-r--r--development/cudatoolkit/files/nppim.pc9
-rw-r--r--development/cudatoolkit/files/nppist.pc9
-rw-r--r--development/cudatoolkit/files/nppisu.pc9
-rw-r--r--development/cudatoolkit/files/nppitc.pc9
-rw-r--r--development/cudatoolkit/files/npps.pc9
-rw-r--r--development/cudatoolkit/files/nvToolsExt.pc9
-rw-r--r--development/cudatoolkit/files/nvgraph.pc9
-rw-r--r--development/cudatoolkit/files/nvidia-ml.pc9
-rw-r--r--development/cudatoolkit/files/nvjpeg.pc9
-rw-r--r--development/cudatoolkit/files/nvrtc.pc9
-rw-r--r--development/cudatoolkit/slack-desc2
33 files changed, 331 insertions, 36 deletions
diff --git a/development/cudatoolkit/README b/development/cudatoolkit/README
index 22c80bb678..50f1c78bd9 100644
--- a/development/cudatoolkit/README
+++ b/development/cudatoolkit/README
@@ -3,7 +3,7 @@ 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).
+- the binary file to download is 2,8 Gb;
+- the temporary package file will need 7 Gb;
+- the final package will be around 2 Gb (3 Gb when installed).
Be sure to have enough free space before building this.
diff --git a/development/cudatoolkit/cudatoolkit.SlackBuild b/development/cudatoolkit/cudatoolkit.SlackBuild
index d70047400b..7c8fee2e0e 100644
--- a/development/cudatoolkit/cudatoolkit.SlackBuild
+++ b/development/cudatoolkit/cudatoolkit.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for CUDA Toolkit
-# Copyright 2017 Giorgio Peron <giorgio.peron@gmail.com>, Belluno, Italy
+# Copyright 2020 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,8 @@
PRGNAM=cudatoolkit
FILENAME=cuda
-VERSION=${VERSION:-8.0.61}
+VERSION=${VERSION:-10.2.89}
+DRIVER=${DRIVER:-440.33.01}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -55,52 +56,91 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
mkdir -p $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
+chmod +x $CWD/$FILENAME\_$VERSION\_$DRIVER\_linux.run
+sh $CWD/$FILENAME\_$VERSION\_$DRIVER\_linux.run --target $PRGNAM-$VERSION --noexec
-cd $PRGNAM-$VERSION
-chown -R root:root .
+mkdir -p $PKG/usr/share
+cd $PRGNAM-$VERSION/builds
+cp -r cuda-toolkit "$PKG/usr/share/cuda"
+cp -r cublas/include/* "$PKG/usr/share/cuda/include/"
+mkdir -p $PKG/usr/lib64
+cp -r cublas/lib64/* "$PKG/usr/lib$LIBDIRSUFFIX/"
+cp -r cuda-samples "$PKG/usr/share/cuda/samples"
-# Move the docs to our standard location first
-mkdir -p $PKG/usr/man
-mv doc/man $PKG/usr/
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-mv doc/* $PKG/usr/doc/$PRGNAM-$VERSION
-rm -rf doc
+# Define compilers for CUDA to use.
+# This allows us to use older versions of GCC if we have to.
+# ln -s /usr/bin/gcc-8 "${PKG}/usr/share/cuda/bin/gcc"
+# ln -s /usr/bin/g++-8 "${PKG}/usr/share/cuda/bin/g++"
+# Put man in the standard place
+mv $PKG/usr/share/cuda/doc/man $PKG/usr/
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-# Now move everything else
-mkdir -p $PKG/usr/share/cuda
-mv * $PKG/usr/share/cuda/
+# Put doc in the standard place
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+mv $PKG/usr/share/cuda/doc/* $PKG/usr/doc/$PRGNAM-$VERSION/
+rm -rf $PKG/usr/share/cuda/doc
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+# Create soname links.
+find cuda-toolkit/targets -type f -name '*.so*' ! -path '*stubs/*' -print0 | while read -rd $'\0' _lib; do
+ _base=${_lib%.so.*}
+ _current_soname=$(basename ${_lib%.*})
+ while [[ $_current_soname != $(basename $_base) ]]; do
+ ln -sf ${_lib##*/} ${PKG}/usr/share/cuda/lib$LIBDIRSUFFIX/$_current_soname
+ _current_soname=${_current_soname%.*}
+ done
+done
+
+# Install profile and ld.so.config files
+install -Dm755 "${CWD}/files/cuda.sh" "${PKG}/etc/profile.d/cuda.sh"
+install -Dm755 "${CWD}/files/cuda.csh" "${PKG}/etc/profile.d/cuda.csh"
+
+# Install pkgconfig files
+mkdir -p "$PKG"/usr/lib${LIBDIRSUFFIX}/pkgconfig
+cp "${CWD}"/files/*.pc "${PKG}"/usr/lib${LIBDIRSUFFIX}/pkgconfig
+
+# Remove included copy of java and link to system java 8
+rm -fr "${PKG}/usr/share/cuda/jre"
+sed 's|../jre/bin/java|/usr/bin/java|g' \
+ -i "${PKG}/usr/share/cuda/libnsight/nsight.ini" \
+ -i "${PKG}/usr/share/cuda/libnvvp/nvvp.ini"
+
+# Allow newer compilers to work.
+# See https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#system-requirements
+# for official requirements
+sed -i "/.*unsupported GNU version.*/d" "${PKG}"/usr/share/cuda/targets/x86_64-linux/include/crt/host_config.h
+sed -i "/.*unsupported clang version.*/d" "${PKG}"/usr/share/cuda/targets/x86_64-linux/include/crt/host_config.h
+
+# Fix Makefile paths to CUDA
+for f in $(find "$PKG"/usr/share/cuda -name Makefile); do
+ sed -i "s|/usr/local/cuda|/usr/share/cuda|g" "$f"
+done
# Put libraries in the standard place
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}
-mv $PKG/usr/share/cuda/lib${LIBDIRSUFFIX} $PKG/usr
+mv -fn $PKG/usr/share/cuda/targets/x86_64-linux/lib/* $PKG/usr/lib${LIBDIRSUFFIX}/
+rm -rf $PKG/usr/share/cuda/targets/x86_64-linux/lib
cd $PKG/usr/share/cuda
ln -sf ../../lib${LIBDIRSUFFIX} lib${LIBDIRSUFFIX}
-mkdir -p $PKG/etc/profile.d
-cp $CWD/files/${FILENAME}* $PKG/etc/profile.d
-chmod +x $PKG/etc/profile.d/*
+# Register application NVVP and NSIGHT
mkdir -p $PKG/usr/share/applications
cp $CWD/files/*.desktop $PKG/usr/share/applications
# Put include in the standard place
-mkdir -p $PKG/usr/include/cuda
-mv $PKG/usr/share/cuda/include/* $PKG/usr/include/cuda
-rm -rf $PKG/usr/share/cuda/include
+mkdir -p $PKG/usr/include
+mv -fn $PKG/usr/share/cuda/targets/x86_64-linux/include/* $PKG/usr/include/
+rm -rf $PKG/usr/share/cuda/targets/x86_64-linux/include
cd $PKG/usr/share/cuda/
-ln -sf ../../include/cuda include
+ln -sf ../../include include
+
+rm -rf $PKG/usr/share/cuda/targets
# 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-8.0_Samples -cudaprefix=/usr/share/cuda
-
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/development/cudatoolkit/cudatoolkit.info b/development/cudatoolkit/cudatoolkit.info
index 5404a11343..a2048453cb 100644
--- a/development/cudatoolkit/cudatoolkit.info
+++ b/development/cudatoolkit/cudatoolkit.info
@@ -1,10 +1,10 @@
PRGNAM="cudatoolkit"
-VERSION="8.0.61"
-HOMEPAGE="http://www.nvidia.com/object/cuda_home_new.html"
+VERSION="10.2.89"
+HOMEPAGE="https://developer.nvidia.com/cuda-toolkit"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-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"
+DOWNLOAD_x86_64="http://developer.download.nvidia.com/compute/cuda/10.2/Prod/local_installers/cuda_10.2.89_440.33.01_linux.run"
+MD5SUM_x86_64="3d816c583759efa8567a92c1a2af90db"
+REQUIRES="nvidia-driver openjdk8"
MAINTAINER="Giorgio Peron"
EMAIL="giorgio.peron@gmail.com"
diff --git a/development/cudatoolkit/doinst.sh b/development/cudatoolkit/doinst.sh
new file mode 100644
index 0000000000..ec40b576fe
--- /dev/null
+++ b/development/cudatoolkit/doinst.sh
@@ -0,0 +1,3 @@
+# install GCC 6 and link the compiler in cuda bin folder
+ln -sf usr/bin/gcc-6 usr/share/cuda/bin/gcc
+ln -sf usr/bin/g++-6 usr/share/cuda/bin/g++
diff --git a/development/cudatoolkit/files/accinj64.pc b/development/cudatoolkit/files/accinj64.pc
new file mode 100644
index 0000000000..66736ef996
--- /dev/null
+++ b/development/cudatoolkit/files/accinj64.pc
@@ -0,0 +1,9 @@
+cudaroot=/usr/share/cuda
+libdir=/usr/lib64
+includedir=/usr/include
+
+Name: accinj64
+Description: OpenACC 64-bit Injection Library
+Version: 10.2
+Libs: -L${libdir} -laccinj64
+Cflags: -I${includedir}
diff --git a/development/cudatoolkit/files/cublas.pc b/development/cudatoolkit/files/cublas.pc
new file mode 100644
index 0000000000..43d12d8c8d
--- /dev/null
+++ b/development/cudatoolkit/files/cublas.pc
@@ -0,0 +1,9 @@
+cudaroot=/usr/share/cuda
+libdir=/usr/lib64
+includedir=/usr/include
+
+Name: cublas
+Description: CUDA BLAS Library
+Version: 10.2
+Libs: -L${libdir} -lcublas
+Cflags: -I${includedir}
diff --git a/development/cudatoolkit/files/cuda.pc b/development/cudatoolkit/files/cuda.pc
new file mode 100644
index 0000000000..c932f5b0b4
--- /dev/null
+++ b/development/cudatoolkit/files/cuda.pc
@@ -0,0 +1,9 @@
+cudaroot=/usr/share/cuda
+libdir=/usr/lib64
+includedir=/usr/include
+
+Name: cuda
+Description: CUDA Driver Library
+Version: 10.2
+Libs: -L${libdir} -lcuda
+Cflags: -I${includedir}
diff --git a/development/cudatoolkit/files/cudart.pc b/development/cudatoolkit/files/cudart.pc
new file mode 100644
index 0000000000..a7ccc2d563
--- /dev/null
+++ b/development/cudatoolkit/files/cudart.pc
@@ -0,0 +1,9 @@
+cudaroot=/usr/share/cuda
+libdir=/usr/lib64
+includedir=/usr/include
+
+Name: cudart
+Description: CUDA Runtime Library
+Version: 10.2
+Libs: -L${libdir} -lcudart
+Cflags: -I${includedir}
diff --git a/development/cudatoolkit/files/cufft.pc b/development/cudatoolkit/files/cufft.pc
new file mode 100644
index 0000000000..7d7aa9809d
--- /dev/null
+++ b/development/cudatoolkit/files/cufft.pc
@@ -0,0 +1,9 @@
+cudaroot=/usr/share/cuda
+libdir=/usr/lib64
+includedir=/usr/include
+
+Name: cufft
+Description: CUDA Fast Fourier Transform
+Version: 10.2
+Libs: -L${libdir} -lcufft
+Cflags: -I${includedir}
diff --git a/development/cudatoolkit/files/cufftw.pc b/development/cudatoolkit/files/cufftw.pc
new file mode 100644
index 0000000000..66e5895855
--- /dev/null
+++ b/development/cudatoolkit/files/cufftw.pc
@@ -0,0 +1,9 @@
+cudaroot=/usr/share/cuda
+libdir=/usr/lib64
+includedir=/usr/include
+
+Name: cufftw
+Description: CUDA Fast Fourier Transform Wide
+Version: 10.2
+Libs: -L${libdir} -lcufftw
+Cflags: -I${includedir}
diff --git a/development/cudatoolkit/files/cuinj64.pc b/development/cudatoolkit/files/cuinj64.pc
new file mode 100644
index 0000000000..c397c3e47f
--- /dev/null
+++ b/development/cudatoolkit/files/cuinj64.pc
@@ -0,0 +1,9 @@
+cudaroot=/usr/share/cuda
+libdir=/usr/lib64
+includedir=/usr/include
+
+Name: cuinj64
+Description: CUDA 64-bit Injection Library
+Version: 10.2
+Libs: -L${libdir} -lcuinj64
+Cflags: -I${includedir}
diff --git a/development/cudatoolkit/files/curand.pc b/development/cudatoolkit/files/curand.pc
new file mode 100644
index 0000000000..11038f0576
--- /dev/null
+++ b/development/cudatoolkit/files/curand.pc
@@ -0,0 +1,9 @@
+cudaroot=/usr/share/cuda
+libdir=/usr/lib64
+includedir=/usr/include
+
+Name: curand
+Description: CUDA Random Number Generation Library
+Version: 10.2
+Libs: -L${libdir} -lcurand
+Cflags: -I${includedir}
diff --git a/development/cudatoolkit/files/cusolver.pc b/development/cudatoolkit/files/cusolver.pc
new file mode 100644
index 0000000000..9b8917cdc6
--- /dev/null
+++ b/development/cudatoolkit/files/cusolver.pc
@@ -0,0 +1,9 @@
+cudaroot=/usr/share/cuda
+libdir=/usr/lib64
+includedir=/usr/include
+
+Name: cusolver
+Description: A LAPACK-like library on dense and sparse linear algebra
+Version: 10.2
+Libs: -L${libdir} -lcusolver
+Cflags: -I${includedir}
diff --git a/development/cudatoolkit/files/cusparse.pc b/development/cudatoolkit/files/cusparse.pc
new file mode 100644
index 0000000000..4ca0495ed8
--- /dev/null
+++ b/development/cudatoolkit/files/cusparse.pc
@@ -0,0 +1,9 @@
+cudaroot=/usr/share/cuda
+libdir=/usr/lib64
+includedir=/usr/include
+
+Name: cusparse
+Description: CUDA Sparse Matrix Library
+Version: 10.2
+Libs: -L${libdir} -lcusparse
+Cflags: -I${includedir}
diff --git a/development/cudatoolkit/files/nppc.pc b/development/cudatoolkit/files/nppc.pc
new file mode 100644
index 0000000000..bc817e73db
--- /dev/null
+++ b/development/cudatoolkit/files/nppc.pc
@@ -0,0 +1,9 @@
+cudaroot=/usr/share/cuda
+libdir=/usr/lib64
+includedir=/usr/include
+
+Name: nppc
+Description: NVIDIA Performance Primitives - Core
+Version: 10.2
+Libs: -L${libdir} -lnppc
+Cflags: -I${includedir}
diff --git a/development/cudatoolkit/files/nppi.pc b/development/cudatoolkit/files/nppi.pc
new file mode 100644
index 0000000000..5999377817
--- /dev/null
+++ b/development/cudatoolkit/files/nppi.pc
@@ -0,0 +1,9 @@
+cudaroot=/usr/share/cuda
+libdir=/usr/lib64
+includedir=/usr/include
+
+Name: nppi
+Description: NVIDIA Performance Primitives - Image Processing
+Version: 10.2
+Libs: -L${libdir} -lnppi
+Cflags: -I${includedir}
diff --git a/development/cudatoolkit/files/nppial.pc b/development/cudatoolkit/files/nppial.pc
new file mode 100644
index 0000000000..d85bdd0f34
--- /dev/null
+++ b/development/cudatoolkit/files/nppial.pc
@@ -0,0 +1,9 @@
+cudaroot=/usr/share/cuda
+libdir=/usr/lib64
+includedir=/usr/include
+
+Name: nppial
+Description: NVIDIA Performance Primitives - Image Processing - Arithmetic and Logic
+Version: 10.2
+Libs: -L${libdir} -lnppial
+Cflags: -I${includedir}
diff --git a/development/cudatoolkit/files/nppicc.pc b/development/cudatoolkit/files/nppicc.pc
new file mode 100644
index 0000000000..4c4a9070f2
--- /dev/null
+++ b/development/cudatoolkit/files/nppicc.pc
@@ -0,0 +1,9 @@
+cudaroot=/usr/share/cuda
+libdir=/usr/lib64
+includedir=/usr/include
+
+Name: nppicc
+Description: NVIDIA Performance Primitives - Image Processing - Color Conversion
+Version: 10.2
+Libs: -L${libdir} -lnppicc
+Cflags: -I${includedir}
diff --git a/development/cudatoolkit/files/nppicom.pc b/development/cudatoolkit/files/nppicom.pc
new file mode 100644
index 0000000000..c81f47c5b5
--- /dev/null
+++ b/development/cudatoolkit/files/nppicom.pc
@@ -0,0 +1,9 @@
+cudaroot=/usr/share/cuda
+libdir=/usr/lib64
+includedir=/usr/include
+
+Name: nppicom
+Description: NVIDIA Performance Primitives - Image Processing - Compression
+Version: 10.2
+Libs: -L${libdir} -lnppicom
+Cflags: -I${includedir}
diff --git a/development/cudatoolkit/files/nppidei.pc b/development/cudatoolkit/files/nppidei.pc
new file mode 100644
index 0000000000..c4451075fd
--- /dev/null
+++ b/development/cudatoolkit/files/nppidei.pc
@@ -0,0 +1,9 @@
+cudaroot=/usr/share/cuda
+libdir=/usr/lib64
+includedir=/usr/include
+
+Name: nppidei
+Description: NVIDIA Performance Primitives - Image Processing - DEI
+Version: 10.2
+Libs: -L${libdir} -lnppidei
+Cflags: -I${includedir}
diff --git a/development/cudatoolkit/files/nppif.pc b/development/cudatoolkit/files/nppif.pc
new file mode 100644
index 0000000000..70a4a0d516
--- /dev/null
+++ b/development/cudatoolkit/files/nppif.pc
@@ -0,0 +1,9 @@
+cudaroot=/usr/share/cuda
+libdir=/usr/lib64
+includedir=/usr/include
+
+Name: nppif
+Description: NVIDIA Performance Primitives - Image Processing - Filters
+Version: 10.2
+Libs: -L${libdir} -lnppif
+Cflags: -I${includedir}
diff --git a/development/cudatoolkit/files/nppig.pc b/development/cudatoolkit/files/nppig.pc
new file mode 100644
index 0000000000..0d36270644
--- /dev/null
+++ b/development/cudatoolkit/files/nppig.pc
@@ -0,0 +1,9 @@
+cudaroot=/usr/share/cuda
+libdir=/usr/lib64
+includedir=/usr/include
+
+Name: nppig
+Description: NVIDIA Performance Primitives - Image Processing - Geometry
+Version: 10.2
+Libs: -L${libdir} -lnppig
+Cflags: -I${includedir}
diff --git a/development/cudatoolkit/files/nppim.pc b/development/cudatoolkit/files/nppim.pc
new file mode 100644
index 0000000000..9441dd7652
--- /dev/null
+++ b/development/cudatoolkit/files/nppim.pc
@@ -0,0 +1,9 @@
+cudaroot=/usr/share/cuda
+libdir=/usr/lib64
+includedir=/usr/include
+
+Name: nppim
+Description: NVIDIA Performance Primitives - Image Processing - Morphological
+Version: 10.2
+Libs: -L${libdir} -lnppim
+Cflags: -I${includedir}
diff --git a/development/cudatoolkit/files/nppist.pc b/development/cudatoolkit/files/nppist.pc
new file mode 100644
index 0000000000..6dcb15ad47
--- /dev/null
+++ b/development/cudatoolkit/files/nppist.pc
@@ -0,0 +1,9 @@
+cudaroot=/usr/share/cuda
+libdir=/usr/lib64
+includedir=/usr/include
+
+Name: nppist
+Description: NVIDIA Performance Primitives - Image Processing - Statistic and Linear
+Version: 10.2
+Libs: -L${libdir} -lnppist
+Cflags: -I${includedir}
diff --git a/development/cudatoolkit/files/nppisu.pc b/development/cudatoolkit/files/nppisu.pc
new file mode 100644
index 0000000000..226bbc11d6
--- /dev/null
+++ b/development/cudatoolkit/files/nppisu.pc
@@ -0,0 +1,9 @@
+cudaroot=/usr/share/cuda
+libdir=/usr/lib64
+includedir=/usr/include
+
+Name: nppisu
+Description: NVIDIA Performance Primitives - Image Processing - Support and Data Exchange
+Version: 10.2
+Libs: -L${libdir} -lnppisu
+Cflags: -I${includedir}
diff --git a/development/cudatoolkit/files/nppitc.pc b/development/cudatoolkit/files/nppitc.pc
new file mode 100644
index 0000000000..427e6a9f2c
--- /dev/null
+++ b/development/cudatoolkit/files/nppitc.pc
@@ -0,0 +1,9 @@
+cudaroot=/usr/share/cuda
+libdir=/usr/lib64
+includedir=/usr/include
+
+Name: nppitc
+Description: NVIDIA Performance Primitives - Image Processing - Threshold and Compare
+Version: 10.2
+Libs: -L${libdir} -lnppitc
+Cflags: -I${includedir}
diff --git a/development/cudatoolkit/files/npps.pc b/development/cudatoolkit/files/npps.pc
new file mode 100644
index 0000000000..34bc109a05
--- /dev/null
+++ b/development/cudatoolkit/files/npps.pc
@@ -0,0 +1,9 @@
+cudaroot=/usr/share/cuda
+libdir=/usr/lib64
+includedir=/usr/include
+
+Name: npps
+Description: NVIDIA Performance Primitives - Signal Processing
+Version: 10.2
+Libs: -L${libdir} -lnpps
+Cflags: -I${includedir}
diff --git a/development/cudatoolkit/files/nvToolsExt.pc b/development/cudatoolkit/files/nvToolsExt.pc
new file mode 100644
index 0000000000..a7d6bad314
--- /dev/null
+++ b/development/cudatoolkit/files/nvToolsExt.pc
@@ -0,0 +1,9 @@
+cudaroot=/usr/share/cuda
+libdir=/usr/lib64
+includedir=/usr/include
+
+Name: nvToolsExt
+Description: NVIDIA Tools Extension
+Version: 10.2
+Libs: -L${libdir} -lnvToolsExt
+Cflags: -I${includedir}
diff --git a/development/cudatoolkit/files/nvgraph.pc b/development/cudatoolkit/files/nvgraph.pc
new file mode 100644
index 0000000000..7f150d4d44
--- /dev/null
+++ b/development/cudatoolkit/files/nvgraph.pc
@@ -0,0 +1,9 @@
+cudaroot=/usr/share/cuda
+libdir=/usr/lib64
+includedir=/usr/include
+
+Name: nvgraph
+Description: NVIDIA Accelerated Graph Analytics
+Version: 10.2
+Libs: -L${libdir} -lnvgraph
+Cflags: -I${includedir}
diff --git a/development/cudatoolkit/files/nvidia-ml.pc b/development/cudatoolkit/files/nvidia-ml.pc
new file mode 100644
index 0000000000..7e1490492d
--- /dev/null
+++ b/development/cudatoolkit/files/nvidia-ml.pc
@@ -0,0 +1,9 @@
+cudaroot=/usr/share/cuda
+libdir=/usr/lib64
+includedir=/usr/include
+
+Name: nvidia-ml
+Description: NVML
+Version: 10.2
+Libs: -L${libdir}/stubs -lnvidia-ml
+Cflags: -I${includedir}
diff --git a/development/cudatoolkit/files/nvjpeg.pc b/development/cudatoolkit/files/nvjpeg.pc
new file mode 100644
index 0000000000..a9aebee783
--- /dev/null
+++ b/development/cudatoolkit/files/nvjpeg.pc
@@ -0,0 +1,9 @@
+cudaroot=/usr/share/cuda
+libdir=/usr/lib64
+includedir=/usr/include
+
+Name: nvjpeg
+Description: NVIDIA JPEG Library
+Version: 10.2
+Libs: -L${libdir} -lnvjpeg
+Cflags: -I${includedir}
diff --git a/development/cudatoolkit/files/nvrtc.pc b/development/cudatoolkit/files/nvrtc.pc
new file mode 100644
index 0000000000..26057d8d6f
--- /dev/null
+++ b/development/cudatoolkit/files/nvrtc.pc
@@ -0,0 +1,9 @@
+cudaroot=/usr/share/cuda
+libdir=/usr/lib64
+includedir=/usr/include
+
+Name: nvrtc
+Description: A runtime compilation library for CUDA C++
+Version: 10.2
+Libs: -L${libdir} -lnvrtc
+Cflags: -I${includedir}
diff --git a/development/cudatoolkit/slack-desc b/development/cudatoolkit/slack-desc
index 59f746aa7b..8bd73744be 100644
--- a/development/cudatoolkit/slack-desc
+++ b/development/cudatoolkit/slack-desc
@@ -12,7 +12,7 @@ cudatoolkit: CUDA is NVIDIA's parallel computing architecture. It enables dramat
cudatoolkit: increases in computing performance by harnessing the power of
cudatoolkit: the GPU.
cudatoolkit:
-cudatoolkit: Homepage http://www.nvidia.com/object/cuda_home_new.html
+cudatoolkit: Homepage https://developer.nvidia.com/cuda-toolkit
cudatoolkit:
cudatoolkit:
cudatoolkit: