[arch-commits] Commit in cudnn/repos (3 files)

Sven-Hendrik Haase svenstaro at archlinux.org
Wed Dec 13 05:46:46 UTC 2017


    Date: Wednesday, December 13, 2017 @ 05:46:45
  Author: svenstaro
Revision: 274127

archrelease: copy trunk to community-testing-x86_64

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

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

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

Copied: cudnn/repos/community-testing-x86_64/PKGBUILD (from rev 274126, cudnn/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2017-12-13 05:46:45 UTC (rev 274127)
@@ -0,0 +1,33 @@
+# 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=7.0.4
+pkgrel=2
+pkgdesc="NVIDIA CUDA Deep Neural Network library"
+arch=('x86_64')
+url="https://developer.nvidia.com/cuDNN"
+license=('proprietary')
+depends=('cuda')
+# To figure out these URLs, check out the Dockerfiles at
+# https://gitlab.com/nvidia/cuda/tree/centos7 for the appropriate cuda version.
+source=("${pkgname}-${pkgver}::https://developer.download.nvidia.com/compute/redist/cudnn/v${pkgver}/cudnn-9.0-linux-x64-v7.tgz"
+        "NVIDIA_SLA+cuDNN_Supp_Feb2017_release.pdf")
+sha512sums=('a465990ae6bf35745635798ff337802778960e9cbbda4071fb6151c5f5733a00cf2da9496ee70e6207d2b02159a35c97cdaac184e4dda95137465fd731ab6b20'
+            '38bbb7eb287914e4d7ba79da20a47222382687832d4ba0290715199a129c08715a23681800cf8d381f40e24202470a7b20505a31c8cea51a78762a740860251b')
+
+package() {
+  mkdir -p "${pkgdir}/opt"
+  mkdir -p "${pkgdir}/etc"
+
+  cp -r cuda "${pkgdir}/opt"
+
+  install -d ${pkgdir}/etc/ld.so.conf.d
+  echo "/opt/cuda/lib64/" > ${pkgdir}/etc/ld.so.conf.d/cudnn.conf
+
+  install -Dm644 ${srcdir}/NVIDIA_SLA+cuDNN_Supp_Feb2017_release.pdf ${pkgdir}/usr/share/licenses/${pkgname}/NVIDIA_SLA+cuDNN_Supp_Feb2017_release.pdf
+}
+
+# vim: ft=sh syn=sh et



More information about the arch-commits mailing list