[arch-commits] Commit in cuda/trunk (PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Mon Jul 11 21:33:11 UTC 2016
Date: Monday, July 11, 2016 @ 21:33:11
Author: svenstaro
Revision: 182669
upgpkg: cuda 7.5.18-4
Make it use gcc-5
Modified:
cuda/trunk/PKGBUILD
----------+
PKGBUILD | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-07-11 20:46:01 UTC (rev 182668)
+++ PKGBUILD 2016-07-11 21:33:11 UTC (rev 182669)
@@ -2,7 +2,7 @@
# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
pkgname=cuda
pkgver=7.5.18
-pkgrel=3
+pkgrel=4
pkgdesc="NVIDIA's GPU programming toolkit"
arch=('x86_64')
url="http://www.nvidia.com/object/cuda_home.html"
@@ -48,7 +48,9 @@
perl install-sdk-linux.pl -cudaprefix="${pkgdir}/opt/cuda" -prefix="${pkgdir}/opt/cuda/samples" -noprompt
# allow newer gccs to work
- # sed -i "/unsupported GNU/d" $pkgdir/opt/cuda/include/host_config.h
+ sed -i "/unsupported GNU/d" $pkgdir/opt/cuda/include/host_config.h
+ ln -s /usr/bin/gcc-5 "${pkgdir}/opt/cuda/bin/gcc"
+ ln -s /usr/bin/g++-5 "${pkgdir}/opt/cuda/bin/g++"
install -Dm755 "${srcdir}/cuda.sh" "${pkgdir}/etc/profile.d/cuda.sh"
install -Dm644 "${srcdir}/cuda.conf" "${pkgdir}/etc/ld.so.conf.d/cuda.conf"
More information about the arch-commits
mailing list