Skip to content
Snippets Groups Projects
Commit 82acf895 authored by Konstantin Gizdov's avatar Konstantin Gizdov
Browse files

upgpkg: 8.2.4.15-1

parent 77f98a6b
No related branches found
No related tags found
No related merge requests found
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
# Contributor: Yunhui Fu <yhfdev@gmail.com> # Contributor: Yunhui Fu <yhfdev@gmail.com>
pkgname=cudnn pkgname=cudnn
pkgver=8.2.2.26 pkgver=8.2.4.15
_pkgver=8.2.2 _pkgver=8.2.4
_cudaver=11.4 _cudaver=11.4
_majorver=8 _majorver=8
pkgrel=1 pkgrel=1
...@@ -13,15 +13,16 @@ pkgdesc="NVIDIA CUDA Deep Neural Network library" ...@@ -13,15 +13,16 @@ pkgdesc="NVIDIA CUDA Deep Neural Network library"
arch=('x86_64') arch=('x86_64')
url="https://developer.nvidia.com/cuDNN" url="https://developer.nvidia.com/cuDNN"
license=('custom') license=('custom')
depends=('cuda>=11') depends=('cuda>='"${_cudaver}")
options=(!strip staticlibs) options=(!strip staticlibs)
# To figure out these URLs, check out the Dockerfiles at # 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 # https://gitlab.com/nvidia/container-images/cuda/-/tree/master/dist for the appropriate cuda version
# or make an NVIDIA Developer account. # or make an NVIDIA Developer account.
# Alternatively, check https://github.com/pytorch/builder/blob/master/common/install_cuda.sh # 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/redist/cudnn/v${_pkgver}/cudnn-${_cudaver}-linux-x64-v${pkgver}.tgz" 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") "NVIDIA_SLA+cuDNN_Supp_Feb2017_release.pdf")
sha512sums=('e74e4f9bb54f778a2e764d737967b0af90a0f68e9d2eb8216b45a7e44c6fb5865e6ee7f7cc89d606b7e5a879e7cad405e88bd867721bfcb43681aca8188b63ea' sha512sums=('3a9438952be0396f68703dc5ccb77b38445589e4f2c2ce3fb628533d0a78e425958f7825558086873f93ee8dcdcb31329e2362f6427aec5ec797e78e280f470b'
'38bbb7eb287914e4d7ba79da20a47222382687832d4ba0290715199a129c08715a23681800cf8d381f40e24202470a7b20505a31c8cea51a78762a740860251b') '38bbb7eb287914e4d7ba79da20a47222382687832d4ba0290715199a129c08715a23681800cf8d381f40e24202470a7b20505a31c8cea51a78762a740860251b')
noextract=("cudnn-${_cudaver}-linux-x64-v${pkgver}.tgz") noextract=("cudnn-${_cudaver}-linux-x64-v${pkgver}.tgz")
...@@ -30,7 +31,10 @@ package() { ...@@ -30,7 +31,10 @@ package() {
tar xf cudnn-${_cudaver}-linux-x64-v${pkgver}.tgz --strip-components 1 -C "${pkgdir}/usr" tar xf cudnn-${_cudaver}-linux-x64-v${pkgver}.tgz --strip-components 1 -C "${pkgdir}/usr"
mv "${pkgdir}"/usr/lib64 "${pkgdir}"/usr/lib mv "${pkgdir}"/usr/lib64 "${pkgdir}"/usr/lib
chmod 644 "${pkgdir}"/usr/lib/libcudnn_static_v8.a find "${pkgdir}/usr/lib" -type f \( -iname "*.a" -or -iname "*.a.*" \) -print0 | while read -rd $'\0' _so_file; do
# make sure static libraries have proper permissions
chmod 644 "${_so_file}"
done
install -Dm644 \ install -Dm644 \
"${srcdir}"/NVIDIA_SLA+cuDNN_Supp_Feb2017_release.pdf \ "${srcdir}"/NVIDIA_SLA+cuDNN_Supp_Feb2017_release.pdf \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment