Torsten Keßler pushed to branch main at Arch Linux / Packaging / Packages / cuda


Commits:
121d1b36 by Torsten Keßler at 2024-05-08T11:48:57+02:00
upgpkg: 12.4.1-4

Use gcc13

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,14 +1,14 @@
 pkgbase = cuda
        pkgdesc = NVIDIA's GPU programming toolkit
        pkgver = 12.4.1
-       pkgrel = 3
+       pkgrel = 4
        url = https://developer.nvidia.com/cuda-zone
        install = cuda.install
        arch = x86_64
        license = LicenseRef-NVIDIA-CUDA
        depends = opencl-nvidia
        depends = python
-       depends = gcc
+       depends = gcc13
        options = !strip
        options = !debug
        options = staticlibs


=====================================
PKGBUILD
=====================================
@@ -6,12 +6,12 @@ pkgname=(cuda cuda-tools)
 pkgbase=cuda
 pkgver=12.4.1
 _driverver=550.54.15
-pkgrel=3
+pkgrel=4
 pkgdesc="NVIDIA's GPU programming toolkit"
 arch=('x86_64')
 url="https://developer.nvidia.com/cuda-zone";
 license=(LicenseRef-NVIDIA-CUDA)
-depends=('opencl-nvidia' 'python' 'gcc')
+depends=('opencl-nvidia' 'python' 'gcc13')
 options=(!strip !debug staticlibs)
 install=cuda.install
 
source=(https://developer.download.nvidia.com/compute/cuda/${pkgver}/local_installers/cuda_${pkgver}_${_driverver}_linux.run
@@ -107,8 +107,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 "${_prepdir}/opt/cuda/bin/gcc"
-  ln -s /usr/bin/g++ "${_prepdir}/opt/cuda/bin/g++"
+  ln -s /usr/bin/gcc-13 "${_prepdir}/opt/cuda/bin/gcc"
+  ln -s /usr/bin/g++-13 "${_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/121d1b36bf7cd77c2c545d554a34cb3d37f7bcb9

-- 
This project does not include diff previews in email notifications.
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/cuda/-/commit/121d1b36bf7cd77c2c545d554a34cb3d37f7bcb9
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to