[arch-commits] Commit in cudnn/repos/community-x86_64 (4 files)

Konstantin Gizdov kgizdov at gemini.archlinux.org
Mon Aug 8 08:24:01 UTC 2022


    Date: Monday, August 8, 2022 @ 08:24:01
  Author: kgizdov
Revision: 1260613

archrelease: copy trunk to community-x86_64

Added:
  cudnn/repos/community-x86_64/NVIDIA_SLA+cuDNN_Supp_Feb2017_release.pdf
    (from rev 1260612, cudnn/trunk/NVIDIA_SLA+cuDNN_Supp_Feb2017_release.pdf)
  cudnn/repos/community-x86_64/PKGBUILD
    (from rev 1260612, cudnn/trunk/PKGBUILD)
Deleted:
  cudnn/repos/community-x86_64/NVIDIA_SLA+cuDNN_Supp_Feb2017_release.pdf
  cudnn/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   95 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 49 insertions(+), 46 deletions(-)

Deleted: NVIDIA_SLA+cuDNN_Supp_Feb2017_release.pdf
===================================================================
(Binary files differ)

Copied: cudnn/repos/community-x86_64/NVIDIA_SLA+cuDNN_Supp_Feb2017_release.pdf (from rev 1260612, cudnn/trunk/NVIDIA_SLA+cuDNN_Supp_Feb2017_release.pdf)
===================================================================
(Binary files differ)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-08 08:23:51 UTC (rev 1260612)
+++ PKGBUILD	2022-08-08 08:24:01 UTC (rev 1260613)
@@ -1,46 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-# Contributor: Adria Arrufat <adria.arrufat AT protonmail+aur DOT com>
-# Contributor: Sami B. <spidermario at free.fr>
-# Contributor: Yunhui Fu <yhfdev at gmail.com>
-
-pkgname=cudnn
-pkgver=8.4.1.50
-_pkgver=8.4.1
-_cudaver=11.6
-_majorver=8
-_archive="cudnn-linux-x86_64-${pkgver}_cuda${_cudaver}-archive.tar.xz"
-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/redist/cudnn/v${_pkgver}/local_installers/${_cudaver}/${_archive}"
-        "NVIDIA_SLA+cuDNN_Supp_Feb2017_release.pdf")
-sha512sums=('bf2069edf5c73db325d4ef27e3976169b9bd32afc49f012bd1e6f7d9bd374179dd9312538e7be7b0f8d5da0f2edd79b6788868e183f00f8b99fda185302d07c3'
-            '38bbb7eb287914e4d7ba79da20a47222382687832d4ba0290715199a129c08715a23681800cf8d381f40e24202470a7b20505a31c8cea51a78762a740860251b')
-noextract=("${_archive}")
-
-package() {
-  mkdir -p "${pkgdir}"/usr/share/licenses/
-  tar xf "${_archive}" --strip-components 1 -C "${pkgdir}/usr"
-
-  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 \
-      "${pkgdir}"/usr/share/licenses/"${pkgname}"/NVIDIA_SLA+cuDNN_Supp_Feb2017_release.pdf
-
-  mv "${pkgdir}"/usr/LICENSE "${pkgdir}"/usr/share/licenses/"${pkgname}"/LICENSE
-}
-
-# vim: ts=2 sw=2 ft=sh syn=sh et

Copied: cudnn/repos/community-x86_64/PKGBUILD (from rev 1260612, cudnn/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-08-08 08:24:01 UTC (rev 1260613)
@@ -0,0 +1,49 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Adria Arrufat <adria.arrufat AT protonmail+aur DOT com>
+# Contributor: Sami B. <spidermario at free.fr>
+# Contributor: Yunhui Fu <yhfdev at gmail.com>
+
+pkgname=cudnn
+pkgver=8.4.1.50
+_pkgver=8.4.1
+_cudaver=11.6
+_majorver=8
+_archive="cudnn-linux-x86_64-${pkgver}_cuda${_cudaver}-archive.tar.xz"
+pkgrel=2
+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/redist/cudnn/v${_pkgver}/local_installers/${_cudaver}/${_archive}"
+        "NVIDIA_SLA+cuDNN_Supp_Feb2017_release.pdf")
+sha512sums=('bf2069edf5c73db325d4ef27e3976169b9bd32afc49f012bd1e6f7d9bd374179dd9312538e7be7b0f8d5da0f2edd79b6788868e183f00f8b99fda185302d07c3'
+            '38bbb7eb287914e4d7ba79da20a47222382687832d4ba0290715199a129c08715a23681800cf8d381f40e24202470a7b20505a31c8cea51a78762a740860251b')
+noextract=("${_archive}")
+
+package() {
+  mkdir -p "${pkgdir}"/usr/share/licenses/
+  tar xf "${_archive}" --strip-components 1 -C "${pkgdir}/usr"
+
+  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 \
+      "${pkgdir}"/usr/share/licenses/"${pkgname}"/NVIDIA_SLA+cuDNN_Supp_Feb2017_release.pdf
+
+  mv "${pkgdir}"/usr/LICENSE "${pkgdir}"/usr/share/licenses/"${pkgname}"/LICENSE
+
+  # fix permissions
+  chown -R root:root "${pkgdir}"/*
+}
+
+# vim: ts=2 sw=2 ft=sh syn=sh et



More information about the arch-commits mailing list