summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO14
-rwxr-xr-xPKGBUILD24
2 files changed, 38 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..026e964f4eb6
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = cudnn8-cuda11.1
+ pkgdesc = NVIDIA CUDA Deep Neural Network library
+ pkgver = 8.0.5.39
+ pkgrel = 1
+ url = https://developer.nvidia.com/cuDNN
+ arch = x86_64
+ license = custom
+ depends = cuda11.1
+ conflicts = cudnn
+ noextract = cudnn-11.1-linux-x64-v8.0.5.39.tgz
+ source = https://developer.download.nvidia.com/compute/redist/cudnn/v8.0.5/cudnn-11.1-linux-x64-v8.0.5.39.tgz
+ sha256sums = 1d046bfa79399dabcc6f6cb1507918754439442ea0ca9e0fbecdd446f9b00cce
+
+pkgname = cudnn8-cuda11.1
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100755
index 000000000000..57c122c952e1
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: gilcu3
+
+pkgname=cudnn8-cuda11.1
+pkgver=8.0.5.39
+_pkgver=8.0.5
+_cudaver=11.1
+_majorver=8
+pkgrel=1
+pkgdesc="NVIDIA CUDA Deep Neural Network library"
+arch=('x86_64')
+url="https://developer.nvidia.com/cuDNN"
+license=('custom')
+conflicts=('cudnn')
+depends=(cuda${_cudaver})
+source=("https://developer.download.nvidia.com/compute/redist/cudnn/v${_pkgver}/cudnn-${_cudaver}-linux-x64-v${pkgver}.tgz")
+noextract=("cudnn-${_cudaver}-linux-x64-v${pkgver}.tgz")
+
+package() {
+ mkdir -p "${pkgdir}"/usr/
+ tar xf cudnn-${_cudaver}-linux-x64-v${pkgver}.tgz --strip-components 1 -C "${pkgdir}/usr"
+
+ mv "${pkgdir}"/usr/lib64 "${pkgdir}"/usr/lib
+}
+sha256sums=('1d046bfa79399dabcc6f6cb1507918754439442ea0ca9e0fbecdd446f9b00cce')