[arch-commits] Commit in cudnn/trunk (PKGBUILD)

Sven-Hendrik Haase svenstaro at archlinux.org
Sun Jan 31 01:13:44 UTC 2021


    Date: Sunday, January 31, 2021 @ 01:13:44
  Author: svenstaro
Revision: 836854

upgpkg: cudnn 8.1.0.77-1

Modified:
  cudnn/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-01-31 01:12:22 UTC (rev 836853)
+++ PKGBUILD	2021-01-31 01:13:44 UTC (rev 836854)
@@ -4,9 +4,9 @@
 # Contributor: Yunhui Fu <yhfdev at gmail.com>
 
 pkgname=cudnn
-pkgver=8.0.5.39
-_pkgver=8.0.5
-_cudaver=11.1
+pkgver=8.1.0.77
+_pkgver=8.1.0
+_cudaver=11.2
 _majorver=8
 pkgrel=1
 pkgdesc="NVIDIA CUDA Deep Neural Network library"
@@ -14,6 +14,7 @@
 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.
@@ -20,7 +21,7 @@
 # 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=('f704df22336376a9053a7c1f22e650beab61c6829325e0c221416f38a867180a65f9aca7a6f14f5a61c0b450d24a1dff27df47d996d3d26ff1c300b9bedaacc6'
+sha512sums=('855230cf218d3aa22cd2558f8ddeba0c6f06048ddb01370737be9a962128f155957f4ee39ddb8704161dc3542e47c74ff9e130f5c47de14c5581e0aa990555ab'
             '38bbb7eb287914e4d7ba79da20a47222382687832d4ba0290715199a129c08715a23681800cf8d381f40e24202470a7b20505a31c8cea51a78762a740860251b')
 noextract=("cudnn-${_cudaver}-linux-x64-v${pkgver}.tgz")
 
@@ -29,6 +30,7 @@
   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 \



More information about the arch-commits mailing list