[arch-commits] Commit in cuda/trunk (PKGBUILD)
Konstantin Gizdov
kgizdov at archlinux.org
Tue Sep 29 09:37:05 UTC 2020
Date: Tuesday, September 29, 2020 @ 09:37:05
Author: kgizdov
Revision: 713712
add a symlink for libcudart with broken SONAME
Modified:
cuda/trunk/PKGBUILD
----------+
PKGBUILD | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-09-29 09:28:19 UTC (rev 713711)
+++ PKGBUILD 2020-09-29 09:37:05 UTC (rev 713712)
@@ -4,7 +4,7 @@
pkgver=11.1.0
_driverver=455.23.05
_reqdriverver=455.23
-pkgrel=1
+pkgrel=2
pkgdesc="NVIDIA's GPU programming toolkit"
arch=('x86_64')
url="https://developer.nvidia.com/cuda-zone"
@@ -103,6 +103,10 @@
for f in $(find "$pkgdir"/opt/cuda -name Makefile); do
sed -i "s|/usr/local/cuda|/opt/cuda|g" "$f"
done
+
+ # NVIDIA has trouble with counting and numbering
+ # as well as the elusive concept of a SONAME so...
+ ln -s /opt/cuda/targets/x86_64-linux/lib/libcudart.so.11.1.74 "${pkgdir}/opt/cuda/targets/x86_64-linux/lib/libcudart.so.11.1"
}
# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list