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

Sven-Hendrik Haase svenstaro at archlinux.org
Mon Apr 6 02:21:53 UTC 2020


    Date: Monday, April 6, 2020 @ 02:21:52
  Author: svenstaro
Revision: 612023

upgpkg: cuda 10.2.89-4: Allow clang to work (FS#66075)

Modified:
  cuda/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-06 00:46:07 UTC (rev 612022)
+++ PKGBUILD	2020-04-06 02:21:52 UTC (rev 612023)
@@ -3,7 +3,7 @@
 pkgname=cuda
 pkgver=10.2.89
 _driverver=440.33.01
-pkgrel=3
+pkgrel=4
 pkgdesc="NVIDIA's GPU programming toolkit"
 arch=('x86_64')
 url="https://developer.nvidia.com/cuda-zone"
@@ -75,8 +75,12 @@
     -i "${pkgdir}/opt/cuda/libnsight/nsight.ini" \
     -i "${pkgdir}/opt/cuda/libnvvp/nvvp.ini"
 
-  # Allow GCC 9 to work
+  # Allow newer compilers to work. This is not officially supported in the Arch package but
+  # if users want to try, let them try.
+  # See https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#system-requirements
+  # for official requirements
   sed -i "/.*unsupported GNU version.*/d" "${pkgdir}"/opt/cuda/targets/x86_64-linux/include/crt/host_config.h
+  sed -i "/.*unsupported clang version.*/d" "${pkgdir}"/opt/cuda/targets/x86_64-linux/include/crt/host_config.h
 
   # Fix Makefile paths to CUDA
   for f in $(find "$pkgdir"/opt/cuda -name Makefile); do



More information about the arch-commits mailing list