[arch-commits] Commit in cudnn/trunk (PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Thu Dec 6 09:18:29 UTC 2018
Date: Thursday, December 6, 2018 @ 09:18:28
Author: svenstaro
Revision: 411680
upgpkg: cudnn 7.4.1.5-2
Add some symlinks to make this more compatible with all kinds of software
Modified:
cudnn/trunk/PKGBUILD
----------+
PKGBUILD | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-12-06 09:18:26 UTC (rev 411679)
+++ PKGBUILD 2018-12-06 09:18:28 UTC (rev 411680)
@@ -6,7 +6,7 @@
pkgname=cudnn
pkgver=7.4.1.5
_cudaver=10
-pkgrel=1
+pkgrel=2
pkgdesc="NVIDIA CUDA Deep Neural Network library"
arch=('x86_64')
url="https://developer.nvidia.com/cuDNN"
@@ -39,7 +39,14 @@
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
+ # Get rid of some Ubuntu-isms but at the same time still allow for them to
+ # work because nobody is ever quite sure what the right names are.
+ ln -s cudnn_v7.h "${pkgdir}"/usr/include/cudnn.h
+ ln -s libcudnn.so.7 "${pkgdir}"/usr/lib/libcudnn.so
+
+ 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