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

Konstantin Gizdov kgizdov at archlinux.org
Wed Mar 27 00:00:36 UTC 2019


    Date: Wednesday, March 27, 2019 @ 00:00:22
  Author: kgizdov
Revision: 443922

switch to GCC 8

Modified:
  cuda/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-26 23:55:32 UTC (rev 443921)
+++ PKGBUILD	2019-03-27 00:00:22 UTC (rev 443922)
@@ -1,14 +1,15 @@
 # Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Co-Maintainer: Konstantin Gizdov <arch at kge.pw>
 pkgname=cuda
 pkgver=10.1.105
 _basever=10.1.105
 _driverver=418.39
-pkgrel=5
+pkgrel=6
 pkgdesc="NVIDIA's GPU programming toolkit"
 arch=('x86_64')
 url="http://www.nvidia.com/object/cuda_home.html"
 license=('custom:NVIDIA')
-depends=('gcc7-libs' 'opencl-nvidia' 'nvidia-utils' 'gcc7')
+depends=('gcc-libs' 'opencl-nvidia' 'nvidia-utils' 'gcc')
 replaces=('cuda-toolkit' 'cuda-sdk')
 provides=('cuda-toolkit' 'cuda-sdk')
 optdepends=('gdb: for cuda-gdb'
@@ -44,9 +45,9 @@
   ln -s lib "${pkgdir}/opt/cuda/lib64"
   ln -s lib "${pkgdir}/opt/cuda/nvvm/lib64"
 
-  # Needs gcc7
-  ln -s /usr/bin/gcc-7 "${pkgdir}/opt/cuda/bin/gcc"
-  ln -s /usr/bin/g++-7 "${pkgdir}/opt/cuda/bin/g++"
+  # Use GCC 8
+  ln -s /usr/bin/gcc "${pkgdir}/opt/cuda/bin/gcc"
+  ln -s /usr/bin/g++ "${pkgdir}/opt/cuda/bin/g++"
 
   # Create soname links.
   # We have to be weird about this since for some reason the ELF SONAME is incorrect or at least partially incorrect for some libs.



More information about the arch-commits mailing list