Date: Saturday, December 10, 2022 @ 09:54:19
  Author: svenstaro
Revision: 1357312

upgpkg: cuda 12.0.0-2: Remove dependency on gcc11

cuda 12 is now compatible with gcc 12 :D

Modified:
  cuda/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-12-10 08:35:24 UTC (rev 1357311)
+++ PKGBUILD    2022-12-10 09:54:19 UTC (rev 1357312)
@@ -4,12 +4,12 @@
 pkgbase=cuda
 pkgver=12.0.0
 _driverver=525.60.13
-pkgrel=1
+pkgrel=2
 pkgdesc="NVIDIA's GPU programming toolkit"
 arch=('x86_64')
 url="https://developer.nvidia.com/cuda-zone";
 license=('custom:NVIDIA')
-depends=('gcc11' 'opencl-nvidia' 'nvidia-utils' 'python')
+depends=('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-11 "${_prepdir}/opt/cuda/bin/gcc"
-  ln -s /usr/bin/g++-11 "${_prepdir}/opt/cuda/bin/g++"
+  ln -s /usr/bin/gcc "${_prepdir}/opt/cuda/bin/gcc"
+  ln -s /usr/bin/g++ "${_prepdir}/opt/cuda/bin/g++"
 
   # Install profile and ld.so.config files
   install -Dm755 "${srcdir}/cuda.sh" "${_prepdir}/etc/profile.d/cuda.sh"

Reply via email to