blob: 06af8f799ebca1e1c1a7a266a0ff8f2646407db8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Maintainer: Kostas Georgiadis <kot+aur at cons dot gr>
pkgname=cudnn8-cuda11.0
pkgver=8.0.3.33
_pkgver=8.0.3
_cudaver=11.0
_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=11.0')
# To figure out these URLs, check out the Dockerfiles at
# https://gitlab.com/nvidia/container-images/cuda/-/tree/master/dist for the appropriate cuda version
# or make an NVIDIA Developer account.
# Alternatively, check https://github.com/pytorch/builder/blob/master/common/install_cuda.sh
source=("https://developer.download.nvidia.com/compute/redist/cudnn/v${_pkgver}/cudnn-${_cudaver}-linux-x64-v${pkgver}.tgz"
"NVIDIA_SLA+cuDNN_Supp_Feb2017_release.pdf")
sha512sums=('3d7e1c40f6424ab6a720a7bfb74c30d1b44b93dcf90fbe7051679172939664b84f7fcd466bdf66141a897872b03322ab7317b5c6641a4adfd3fe169358df70a7'
'38bbb7eb287914e4d7ba79da20a47222382687832d4ba0290715199a129c08715a23681800cf8d381f40e24202470a7b20505a31c8cea51a78762a740860251b')
noextract=("cudnn-${_cudaver}-linux-x64-v${pkgver}.tgz")
package() {
mkdir -p "${pkgdir}"/usr/share/licenses/
tar xf cudnn-${_cudaver}-linux-x64-v${pkgver}.tgz --strip-components 1 -C "${pkgdir}/usr"
mv "${pkgdir}"/usr/lib64 "${pkgdir}"/usr/lib
install -Dm644 \
"${srcdir}"/NVIDIA_SLA+cuDNN_Supp_Feb2017_release.pdf \
"${pkgdir}"/usr/share/licenses/${pkgname}/NVIDIA_SLA+cuDNN_Supp_Feb2017_release.pdf
mv "${pkgdir}"/usr/NVIDIA_SLA_cuDNN_Support.txt "${pkgdir}"/usr/share/licenses/${pkgname}/NVIDIA_SLA_cuDNN_Support.txt
}
# vim: ts=2 sw=2 ft=sh syn=sh et
|