[arch-commits] Commit in cuda/trunk (PKGBUILD)

Konstantin Gizdov kgizdov at archlinux.org
Thu Apr 11 09:53:27 UTC 2019


    Date: Thursday, April 11, 2019 @ 09:53:26
  Author: kgizdov
Revision: 451029

make sure symlinks to lib are good

Modified:
  cuda/trunk/PKGBUILD

----------+
 PKGBUILD |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-11 09:47:16 UTC (rev 451028)
+++ PKGBUILD	2019-04-11 09:53:26 UTC (rev 451029)
@@ -43,10 +43,8 @@
   cp -r cublas/include/* "${pkgdir}/opt/cuda/include/"
   cp -r cublas/lib64/* "${pkgdir}/opt/cuda/lib64/"
   cp -r cuda-samples "${pkgdir}/opt/cuda/samples"
-  cd "${pkgdir}/opt/cuda"
-  ln -s "${pkgdir}/opt/cuda/lib64" lib
-  cd "${pkgdir}/opt/cuda/nvvm"
-  ln -s "${pkgdir}/opt/cuda/nvvm/lib64" lib
+  ln -s /opt/cuda/targets/x86_64-linux/lib "${pkgdir}/opt/cuda/lib"
+  ln -s /opt/cuda/nvvm/lib64 "${pkgdir}/opt/cuda/nvvm/lib"
 
   # Use GCC 8
   ln -s /usr/bin/gcc "${pkgdir}/opt/cuda/bin/gcc"


More information about the arch-commits mailing list