Sven-Hendrik Haase pushed to branch main at Arch Linux / Packaging / Packages / 
cuda


Commits:
c9160c04 by Sven-Hendrik Haase at 2024-03-06T00:13:14+01:00
upgpkg: 12.4.0-2: Use gcc 13

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = cuda
        pkgdesc = NVIDIA's GPU programming toolkit
        pkgver = 12.4.0
-       pkgrel = 1
+       pkgrel = 2
        url = https://developer.nvidia.com/cuda-zone
        install = cuda.install
        arch = x86_64
@@ -9,7 +9,7 @@ pkgbase = cuda
        depends = opencl-nvidia
        depends = nvidia-utils
        depends = python
-       depends = gcc12
+       depends = gcc
        options = !strip
        options = staticlibs
        source = 
https://developer.download.nvidia.com/compute/cuda/12.4.0/local_installers/cuda_12.4.0_550.54.14_linux.run


=====================================
PKGBUILD
=====================================
@@ -4,12 +4,12 @@ pkgname=(cuda cuda-tools)
 pkgbase=cuda
 pkgver=12.4.0
 _driverver=550.54.14
-pkgrel=1
+pkgrel=2
 pkgdesc="NVIDIA's GPU programming toolkit"
 arch=('x86_64')
 url="https://developer.nvidia.com/cuda-zone";
 license=(LicenseRef-NVIDIA-CUDA)
-depends=('opencl-nvidia' 'nvidia-utils' 'python' 'gcc12')
+depends=('opencl-nvidia' 'nvidia-utils' 'python' 'gcc')
 options=(!strip staticlibs)
 install=cuda.install
 
source=(https://developer.download.nvidia.com/compute/cuda/${pkgver}/local_installers/cuda_${pkgver}_${_driverver}_linux.run
@@ -105,8 +105,8 @@ build() {
   # NOTE: As of cuda 12.3, this appears to be broken on its own.
   # It worked with cuda 12.2. Due to this bug. we now additionally need an
   # entry in cuda.sh for this to be recognized.
-  ln -s /usr/bin/gcc-12 "${_prepdir}/opt/cuda/bin/gcc"
-  ln -s /usr/bin/g++-12 "${_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 -Dm644 "${srcdir}/cuda.sh" "${_prepdir}/etc/profile.d/cuda.sh"



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/cuda/-/commit/c9160c04a411bcc32107bc32ffcf0c8dfd2fd656

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/cuda/-/commit/c9160c04a411bcc32107bc32ffcf0c8dfd2fd656
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to