Date: Thursday, April 29, 2021 @ 21:16:07 Author: svenstaro Revision: 925271
archrelease: copy trunk to community-staging-x86_64 Added: cudnn/repos/community-staging-x86_64/ cudnn/repos/community-staging-x86_64/NVIDIA_SLA+cuDNN_Supp_Feb2017_release.pdf (from rev 925270, cudnn/trunk/NVIDIA_SLA+cuDNN_Supp_Feb2017_release.pdf) cudnn/repos/community-staging-x86_64/PKGBUILD (from rev 925270, cudnn/trunk/PKGBUILD) ----------+ PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) Copied: cudnn/repos/community-staging-x86_64/NVIDIA_SLA+cuDNN_Supp_Feb2017_release.pdf (from rev 925270, cudnn/trunk/NVIDIA_SLA+cuDNN_Supp_Feb2017_release.pdf) =================================================================== (Binary files differ) Copied: cudnn/repos/community-staging-x86_64/PKGBUILD (from rev 925270, cudnn/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-04-29 21:16:07 UTC (rev 925271) @@ -0,0 +1,42 @@ +# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> +# Contributor: Adria Arrufat <adria.arrufat AT protonmail+aur DOT com> +# Contributor: Sami B. <spiderma...@free.fr> +# Contributor: Yunhui Fu <yhf...@gmail.com> + +pkgname=cudnn +pkgver=8.2.0.53 +_pkgver=8.2.0 +_cudaver=11.3 +_majorver=8 +pkgrel=1 +pkgdesc="NVIDIA CUDA Deep Neural Network library" +arch=('x86_64') +url="https://developer.nvidia.com/cuDNN" +license=('custom') +depends=('cuda>=11') +options=(!strip staticlibs) +# 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=('53d3499e2b1b6c8af6f680f1a6a858f0f1f339c3e9ee02b2b6a0281cd8761a9a2c9b8b78e4e58a3043ce0323081d4a115426b13deaaf5c1d58121012a215372b' + '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 + chmod 644 "${pkgdir}"/usr/lib/libcudnn_static_v8.a + + 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