Jakub Klinkovský pushed to branch main at Arch Linux / Packaging / Packages / cuda
Commits: a426a261 by Jakub Klinkovský at 2024-05-22T00:31:50+02:00 upgpkg: 12.5.0-1: upstream release CUDA 12.5 added a new way to set the default host compiler with a dedicated NVCC_CCBIN environment variable: https://docs.nvidia.com/cuda/cuda-compiler-driver-nvcc/index.html#nvcc-environment-variables - - - - - 3 changed files: - .SRCINFO - PKGBUILD - cuda.sh Changes: ===================================== .SRCINFO ===================================== @@ -1,7 +1,7 @@ pkgbase = cuda pkgdesc = NVIDIA's GPU programming toolkit - pkgver = 12.4.1 - pkgrel = 4 + pkgver = 12.5.0 + pkgrel = 1 url = https://developer.nvidia.com/cuda-zone install = cuda.install arch = x86_64 @@ -12,7 +12,7 @@ pkgbase = cuda options = !strip options = !debug options = staticlibs - source = https://developer.download.nvidia.com/compute/cuda/12.4.1/local_installers/cuda_12.4.1_550.54.15_linux.run + source = https://developer.download.nvidia.com/compute/cuda/12.5.0/local_installers/cuda_12.5.0_555.42.02_linux.run source = cuda.sh source = cuda.conf source = accinj64.pc @@ -43,8 +43,8 @@ pkgbase = cuda source = nvjpeg.pc source = nvrtc.pc source = nvToolsExt.pc - sha512sums = 340fab9aad2f3e03fb773c2ec1d4f2c3b1428b350c2072b02263f68f3c521b7ec42086ae7b5e66594a0b91862cc165d8519e4c92e428268bc1e98adcfe106d42 - sha512sums = 56a85e8a0b9ae5d4c4132a778af0d8f13589e68e0ac2def05fb5cb99e09da90f104c00debb072f7d689d8abd030b80898c361d902000e59a7b938776c6112cd8 + sha512sums = 84fa3ad278217a0fbea97d2d880f625e7e7074a12e98d50d664daaf8298d7d8dd7b222c6f5815636e484df8f1e75c062c70c09f744d139652d960ca8c064114e + sha512sums = 3cac229e13762e09032c60b10c01d1af8da15871ec7ef76606fc69780c5d5e0410bf65c6b94230787fd9bb18c9d92083b3f65da36db97bbc8edb7a027c45a5be sha512sums = 714d973bc79446f73bebe85306b3566fe25b554bcbcba2fcbe76709a3eca71fb5d183ab4da2d3b5e9326cb9cd8d13a93f6d4a005ea5a41f7ef8e6c6e81e06b5e sha512sums = a4b3b03682801a98a1d8c1d14c084fd35efd384d92d497e230e3a28e0bd97b1fa48a93ccb2150f892f0b4154ca4ea2d66f5484a6a59b5c9b49963de42ecf1736 sha512sums = d69d3ec0e270648f55d8c3e420f89d056b120eca5b25e9e7fc1cca799d1a252909ee31ff399c137223eca57cdf82b856221a251b6ff1daf5d6f75c1a582b1e32 ===================================== PKGBUILD ===================================== @@ -4,9 +4,9 @@ pkgname=(cuda cuda-tools) pkgbase=cuda -pkgver=12.4.1 -_driverver=550.54.15 -pkgrel=4 +pkgver=12.5.0 +_driverver=555.42.02 +pkgrel=1 pkgdesc="NVIDIA's GPU programming toolkit" arch=('x86_64') url="https://developer.nvidia.com/cuda-zone" @@ -45,8 +45,8 @@ source=(https://developer.download.nvidia.com/compute/cuda/${pkgver}/local_insta nvjpeg.pc nvrtc.pc nvToolsExt.pc) -sha512sums=('340fab9aad2f3e03fb773c2ec1d4f2c3b1428b350c2072b02263f68f3c521b7ec42086ae7b5e66594a0b91862cc165d8519e4c92e428268bc1e98adcfe106d42' - '56a85e8a0b9ae5d4c4132a778af0d8f13589e68e0ac2def05fb5cb99e09da90f104c00debb072f7d689d8abd030b80898c361d902000e59a7b938776c6112cd8' +sha512sums=('84fa3ad278217a0fbea97d2d880f625e7e7074a12e98d50d664daaf8298d7d8dd7b222c6f5815636e484df8f1e75c062c70c09f744d139652d960ca8c064114e' + '3cac229e13762e09032c60b10c01d1af8da15871ec7ef76606fc69780c5d5e0410bf65c6b94230787fd9bb18c9d92083b3f65da36db97bbc8edb7a027c45a5be' '714d973bc79446f73bebe85306b3566fe25b554bcbcba2fcbe76709a3eca71fb5d183ab4da2d3b5e9326cb9cd8d13a93f6d4a005ea5a41f7ef8e6c6e81e06b5e' 'a4b3b03682801a98a1d8c1d14c084fd35efd384d92d497e230e3a28e0bd97b1fa48a93ccb2150f892f0b4154ca4ea2d66f5484a6a59b5c9b49963de42ecf1736' 'd69d3ec0e270648f55d8c3e420f89d056b120eca5b25e9e7fc1cca799d1a252909ee31ff399c137223eca57cdf82b856221a251b6ff1daf5d6f75c1a582b1e32' @@ -102,14 +102,6 @@ build() { # Delete some unnecessary files rm -r "${_prepdir}"/opt/cuda/bin/cuda-uninstaller - # Define compilers for CUDA to use. - # This allows us to use older versions of GCC if we have to. - # 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-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" install -Dm644 "${srcdir}/cuda.conf" "${_prepdir}/etc/ld.so.conf.d/cuda.conf" ===================================== cuda.sh ===================================== @@ -5,7 +5,7 @@ append_path '/opt/cuda/nsight_systems/bin' export PATH -# This line used to not be required but it somehow is with cuda 12.3. -# We reported this as a bug to NVIDIA. For now, this seems like a viable -# workaround. -export NVCC_PREPEND_FLAGS='-ccbin /opt/cuda/bin' +# Set the default host compiler for nvcc. This will need to be switched back +# and forth between the latest and previous GCC version, whatever nvcc +# currently supports. +export NVCC_CCBIN='/usr/bin/g++-13' View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/cuda/-/commit/a426a261434e71313f2efa05c816326068d34939 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/cuda/-/commit/a426a261434e71313f2efa05c816326068d34939 You're receiving this email because of your account on gitlab.archlinux.org.