# Maintainer: Sven-Hendrik Haase # Contributor: Adria Arrufat # Contributor: Sami B. # Contributor: Yunhui Fu pkgname=cudnn pkgver=8.9.0.131 _cudaver=12 pkgrel=1 pkgdesc="NVIDIA CUDA Deep Neural Network library" arch=('x86_64') url="https://developer.nvidia.com/cuDNN" license=('custom') depends=('cuda>='"${_cudaver}") 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 # or https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/ source=("https://developer.download.nvidia.com/compute/cudnn/redist/cudnn/linux-x86_64/cudnn-linux-x86_64-${pkgver}_cuda${_cudaver}-archive.tar.xz" "NVIDIA_SLA+cuDNN_Supp_Feb2017_release.pdf") b2sums=('804ba0afb5d969c53d3f1d548adab58ece57601cdafb7b3d02d0ff62b6faef99dee26622bfe7025f1d15736dc485232e6bd7b62bec1bda6e0965504d1458e7ee' '222e3d3640808a130dfc339fa8e48ea396f784af77d09d90fae1e5550de8272e643d9a765d832b3d950234a3f7a8706a12191d49717f732cff190e5fd920ed52') package() { cd cudnn-linux-x86_64-${pkgver}_cuda${_cudaver}-archive mkdir "$pkgdir"/usr cp -r lib include "$pkgdir"/usr install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE install -Dm644 \ "${srcdir}"/NVIDIA_SLA+cuDNN_Supp_Feb2017_release.pdf \ "${pkgdir}"/usr/share/licenses/"${pkgname}"/NVIDIA_SLA+cuDNN_Supp_Feb2017_release.pdf } # vim: ts=2 sw=2 et