Date: Tuesday, December 4, 2018 @ 19:27:13 Author: svenstaro Revision: 411212
archrelease: copy trunk to community-x86_64 Added: cudnn/repos/community-x86_64/NVIDIA_SLA+cuDNN_Supp_Feb2017_release.pdf (from rev 411211, cudnn/trunk/NVIDIA_SLA+cuDNN_Supp_Feb2017_release.pdf) cudnn/repos/community-x86_64/PKGBUILD (from rev 411211, cudnn/trunk/PKGBUILD) Deleted: cudnn/repos/community-x86_64/NVIDIA_SLA+cuDNN_Supp_Feb2017_release.pdf cudnn/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 80 ++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 45 insertions(+), 35 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 411211, cudnn/trunk/NVIDIA_SLA+cuDNN_Supp_Feb2017_release.pdf) =================================================================== (Binary files differ) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-12-04 19:27:07 UTC (rev 411211) +++ PKGBUILD 2018-12-04 19:27:13 UTC (rev 411212) @@ -1,35 +0,0 @@ -# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> -# Contributor: Adria Arrufat <adria.arrufat AT protonmail+aur DOT com> -# Contributor: Sami B. <spiderma...@free.fr> -# Contributor: Yunhui Fu <yhf...@gmail.com> - -pkgname=cudnn -pkgver=7.3.0 -_pkgver=7.3.0.29 -_cudaver=10.0 -pkgrel=1 -pkgdesc="NVIDIA CUDA Deep Neural Network library" -arch=('x86_64') -url="https://developer.nvidia.com/cuDNN" -license=('proprietary') -depends=('cuda>=10') -# 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-${_cudaver}-linux-x64-v${_pkgver}.tgz" - "NVIDIA_SLA+cuDNN_Supp_Feb2017_release.pdf") -sha512sums=('0c95b7080e0457afed485b351f681addd3266e60030e00ee5da45b8556309d0442f9136f6854ce638a2ca8ae74d5913e6d0e294213a831024719e651533112ed' - '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 Copied: cudnn/repos/community-x86_64/PKGBUILD (from rev 411211, cudnn/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-12-04 19:27:13 UTC (rev 411212) @@ -0,0 +1,45 @@ +# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> +# Contributor: Adria Arrufat <adria.arrufat AT protonmail+aur DOT com> +# Contributor: Sami B. <spiderma...@free.fr> +# Contributor: Yunhui Fu <yhf...@gmail.com> + +pkgname=cudnn +pkgver=7.4.1.5 +_cudaver=10 +pkgrel=1 +pkgdesc="NVIDIA CUDA Deep Neural Network library" +arch=('x86_64') +url="https://developer.nvidia.com/cuDNN" +license=('custom') +depends=('cuda>=10') +# To figure out these URLs, check out the Dockerfiles at +# https://gitlab.com/nvidia/cuda/tree/centos7 for the appropriate cuda version. +source=("https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64/libcudnn7-dev_${pkgver}-1+cuda${_cudaver}.0_amd64.deb" + "https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64/libcudnn7_${pkgver}-1+cuda${_cudaver}.0_amd64.deb" + "NVIDIA_SLA+cuDNN_Supp_Feb2017_release.pdf") +sha512sums=('b2eb16fd2f00eb064fe7a4c5c13f72e3218c5535b6d32f6a9c7d990f4ef4c1b8322112d1475a07b7d8d286a60acaad47b3b5d614a9fd7174cab8d1bf5e260c00' + '5f455149d659b38551808ac56013631baccaef11632eb51e75381c04d0a662988be047903d8a3d827c56d151c55ebb76db205344322e0ca1c9df2aa482787195' + '38bbb7eb287914e4d7ba79da20a47222382687832d4ba0290715199a129c08715a23681800cf8d381f40e24202470a7b20505a31c8cea51a78762a740860251b') +noextract=("libcudnn7-dev_${pkgver}-1+cuda${_cudaver}.0_amd64.deb" + "libcudnn7_${pkgver}-1+cuda${_cudaver}.0_amd64.deb") + +package() { + mkdir -p "${pkgdir}"/usr/{lib,include} + + mkdir libcudnn7-dev + cd libcudnn7-dev + ar xv "${srcdir}"/libcudnn7-dev_${pkgver}-1+cuda${_cudaver}.0_amd64.deb + tar xf data.tar.xz + cp -a usr/include/x86_64-linux-gnu/* "${pkgdir}"/usr/include/ + cp -a usr/lib/x86_64-linux-gnu/* "${pkgdir}"/usr/lib/ + + mkdir libcudnn7 + cd libcudnn7 + ar xv "${srcdir}"/libcudnn7_${pkgver}-1+cuda${_cudaver}.0_amd64.deb + tar xf data.tar.xz + cp -a usr/lib/x86_64-linux-gnu/* "${pkgdir}"/usr/lib/ + + 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