[arch-commits] Commit in cudnn/trunk (PKGBUILD)
Konstantin Gizdov
kgizdov at gemini.archlinux.org
Mon Sep 13 19:05:32 UTC 2021
Date: Monday, September 13, 2021 @ 19:05:32
Author: kgizdov
Revision: 1014708
upgpkg: cudnn 8.2.4.15-1
Modified:
cudnn/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-09-13 17:52:07 UTC (rev 1014707)
+++ PKGBUILD 2021-09-13 19:05:32 UTC (rev 1014708)
@@ -4,8 +4,8 @@
# Contributor: Yunhui Fu <yhfdev at gmail.com>
pkgname=cudnn
-pkgver=8.2.2.26
-_pkgver=8.2.2
+pkgver=8.2.4.15
+_pkgver=8.2.4
_cudaver=11.4
_majorver=8
pkgrel=1
@@ -13,15 +13,16 @@
arch=('x86_64')
url="https://developer.nvidia.com/cuDNN"
license=('custom')
-depends=('cuda>=11')
+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/redist/cudnn/v${_pkgver}/cudnn-${_cudaver}-linux-x64-v${pkgver}.tgz"
"NVIDIA_SLA+cuDNN_Supp_Feb2017_release.pdf")
-sha512sums=('e74e4f9bb54f778a2e764d737967b0af90a0f68e9d2eb8216b45a7e44c6fb5865e6ee7f7cc89d606b7e5a879e7cad405e88bd867721bfcb43681aca8188b63ea'
+sha512sums=('3a9438952be0396f68703dc5ccb77b38445589e4f2c2ce3fb628533d0a78e425958f7825558086873f93ee8dcdcb31329e2362f6427aec5ec797e78e280f470b'
'38bbb7eb287914e4d7ba79da20a47222382687832d4ba0290715199a129c08715a23681800cf8d381f40e24202470a7b20505a31c8cea51a78762a740860251b')
noextract=("cudnn-${_cudaver}-linux-x64-v${pkgver}.tgz")
@@ -30,7 +31,10 @@
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
+ 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 \
"${srcdir}"/NVIDIA_SLA+cuDNN_Supp_Feb2017_release.pdf \
More information about the arch-commits
mailing list