[arch-commits] Commit in cuda/trunk (PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Fri Mar 1 23:31:18 UTC 2019
Date: Friday, March 1, 2019 @ 23:31:18
Author: svenstaro
Revision: 437333
upgpkg: cuda 10.1.105-5
There and back again: The tales of gcc7
Modified:
cuda/trunk/PKGBUILD
----------+
PKGBUILD | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-03-01 23:18:25 UTC (rev 437332)
+++ PKGBUILD 2019-03-01 23:31:18 UTC (rev 437333)
@@ -3,12 +3,12 @@
pkgver=10.1.105
_basever=10.1.105
_driverver=418.39
-pkgrel=4
+pkgrel=5
pkgdesc="NVIDIA's GPU programming toolkit"
arch=('x86_64')
url="http://www.nvidia.com/object/cuda_home.html"
license=('custom:NVIDIA')
-depends=('gcc-libs' 'opencl-nvidia' 'nvidia-utils')
+depends=('gcc7-libs' 'opencl-nvidia' 'nvidia-utils' 'gcc7')
replaces=('cuda-toolkit' 'cuda-sdk')
provides=('cuda-toolkit' 'cuda-sdk')
optdepends=('gdb: for cuda-gdb'
@@ -44,6 +44,10 @@
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++"
+
# 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.
# Best we can do is create all symlinks and hope for the best.
More information about the arch-commits
mailing list