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

Sven-Hendrik Haase svenstaro at archlinux.org
Tue Oct 3 00:05:20 UTC 2017


    Date: Tuesday, October 3, 2017 @ 00:05:19
  Author: svenstaro
Revision: 261340

upgpkg: cuda 9.0.176-3

Fix sed path

Modified:
  cuda/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-10-02 22:37:28 UTC (rev 261339)
+++ PKGBUILD	2017-10-03 00:05:19 UTC (rev 261340)
@@ -2,7 +2,7 @@
 # Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
 pkgname=cuda
 pkgver=9.0.176
-pkgrel=2
+pkgrel=3
 pkgdesc="NVIDIA's GPU programming toolkit"
 arch=('x86_64')
 url="http://www.nvidia.com/object/cuda_home.html"
@@ -62,7 +62,7 @@
   sed -i "1 i#define _BITS_FLOATN_H" "${pkgdir}/opt/cuda/include/host_defines.h"
 
   # Hack for gcc7
-  sed -i "/unsupported GNU version/d" "${pkgdir}/opt/cuda/include/host_defines.h"
+  sed -i "/.*unsupported GNU version.*/d" "${pkgdir}/opt/cuda/include/crt/host_config.h"
 
   # Install profile and ld.so.config files
   install -Dm755 "${srcdir}/cuda.sh" "${pkgdir}/etc/profile.d/cuda.sh"



More information about the arch-commits mailing list