[arch-commits] Commit in cuda/trunk (PKGBUILD)
Sven-Hendrik Haase
svenstaro at gemini.archlinux.org
Sun May 15 03:33:14 UTC 2022
Date: Sunday, May 15, 2022 @ 03:33:14
Author: svenstaro
Revision: 1206037
upgpkg: cuda 11.7.0-2: Use gcc11 as host compiler
Modified:
cuda/trunk/PKGBUILD
----------+
PKGBUILD | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-05-15 03:33:01 UTC (rev 1206036)
+++ PKGBUILD 2022-05-15 03:33:14 UTC (rev 1206037)
@@ -4,12 +4,12 @@
pkgbase=cuda
pkgver=11.7.0
_driverver=515.43.04
-pkgrel=1
+pkgrel=2
pkgdesc="NVIDIA's GPU programming toolkit"
arch=('x86_64')
url="https://developer.nvidia.com/cuda-zone"
license=('custom:NVIDIA')
-depends=('gcc' 'opencl-nvidia' 'nvidia-utils' 'python')
+depends=('gcc11' 'opencl-nvidia' 'nvidia-utils' 'python')
options=(!strip staticlibs)
install=cuda.install
source=(https://developer.download.nvidia.com/compute/cuda/${pkgver}/local_installers/cuda_${pkgver}_${_driverver}_linux.run
@@ -102,8 +102,8 @@
# Define compilers for CUDA to use.
# This allows us to use older versions of GCC if we have to.
- ln -s /usr/bin/gcc "${_prepdir}/opt/cuda/bin/gcc"
- ln -s /usr/bin/g++ "${_prepdir}/opt/cuda/bin/g++"
+ ln -s /usr/bin/gcc-11 "${_prepdir}/opt/cuda/bin/gcc"
+ ln -s /usr/bin/g++-11 "${_prepdir}/opt/cuda/bin/g++"
# Install profile and ld.so.config files
install -Dm755 "${srcdir}/cuda.sh" "${_prepdir}/etc/profile.d/cuda.sh"
More information about the arch-commits
mailing list