Jakub Klinkovský pushed to branch main at Arch Linux / Packaging / Packages / 
cuda


Commits:
ee31f952 by memchr at 2026-09-15T06:06:40+00:00
Add fish shell profile

- - - - -


4 changed files:

- .SRCINFO
- PKGBUILD
- REUSE.toml
- + cuda.fish


Changes:

=====================================
.SRCINFO
=====================================
@@ -14,6 +14,7 @@ pkgbase = cuda
        options = !debug
        options = staticlibs
        source = cuda.sh
+       source = cuda.fish
        source = cuda.conf
        source = cublas.pc
        source = cuda.pc
@@ -43,6 +44,7 @@ pkgbase = cuda
        source = nvjpeg.pc
        source = nvrtc.pc
        sha512sums = 
93a52c9d1272aafc04ba07a74a41c1c3b3722107048cc1b40409406b4c9ba76cda8a8dc83c30d4a77996ef398732d5fb9615a4d47e3225d4a7ba6af82915b926
+       sha512sums = 
58f627f86af53971c4697c2298d1ba460e55cb604fc6bd533849a99555b7b691ff6718903a349c9dac93990424b52a901300888faee5ef3ae05659166da7c77c
        sha512sums = 
3ef1d31adef59aaac464441aa1b8d92e706323492347e8ffec4ba1419576d3889791c8c13e8903dd79ceefc164cf473aef650105d1927cdb6676c936b66b2e45
        sha512sums = 
183ec13594c4c380a5691bdb11f080f6a2f5d9bd9f360989be4a97506d6c4e079964db7b09ebed4b35d19030aedfe0c5565a9d77ebee2eea5c4e9fab7d9a6208
        sha512sums = 
64c7532b3808a09b816da516e3336900b02514b462ba04edceb0065e47e5affaddc2123c4a7807c82452219a95a0de1c05426a89938e10b7a53f8efef6b2413e


=====================================
PKGBUILD
=====================================
@@ -25,6 +25,7 @@ 
source_x86_64=(https://developer.download.nvidia.com/compute/cuda/${pkgver}/loca
 
source_aarch64=(https://developer.download.nvidia.com/compute/cuda/${pkgver}/local_installers/cuda_${pkgver}_linux_sbsa.run)
 source=(
         cuda.sh
+       cuda.fish
         cuda.conf
         cublas.pc
         cuda.pc
@@ -55,6 +56,7 @@ source=(
         nvrtc.pc
 )
 
sha512sums=('93a52c9d1272aafc04ba07a74a41c1c3b3722107048cc1b40409406b4c9ba76cda8a8dc83c30d4a77996ef398732d5fb9615a4d47e3225d4a7ba6af82915b926'
+            
'58f627f86af53971c4697c2298d1ba460e55cb604fc6bd533849a99555b7b691ff6718903a349c9dac93990424b52a901300888faee5ef3ae05659166da7c77c'
             
'3ef1d31adef59aaac464441aa1b8d92e706323492347e8ffec4ba1419576d3889791c8c13e8903dd79ceefc164cf473aef650105d1927cdb6676c936b66b2e45'
             
'183ec13594c4c380a5691bdb11f080f6a2f5d9bd9f360989be4a97506d6c4e079964db7b09ebed4b35d19030aedfe0c5565a9d77ebee2eea5c4e9fab7d9a6208'
             
'64c7532b3808a09b816da516e3336900b02514b462ba04edceb0065e47e5affaddc2123c4a7807c82452219a95a0de1c05426a89938e10b7a53f8efef6b2413e'
@@ -176,6 +178,7 @@ package_cuda() {
 
   # Install profile and ld.so.config files
   install -vDm 644 "${srcdir}"/cuda.sh -t "${pkgdir}"/etc/profile.d/
+  install -vDm 644 "${srcdir}"/cuda.fish -t 
"${pkgdir}"/usr/share/fish/vendor_conf.d/
   install -vDm 644 "${srcdir}"/cuda.conf -t "${pkgdir}"/etc/ld.so.conf.d/
 
   # Licenses


=====================================
REUSE.toml
=====================================
@@ -19,6 +19,7 @@ path = [
     "*.hook",
     "*.pc",
     "cuda.sh",
+    "cuda.fish",
     "cuda.conf",
 ]
 SPDX-FileCopyrightText = "Arch Linux contributors"


=====================================
cuda.fish
=====================================
@@ -0,0 +1,7 @@
+set --export --global CUDA_PATH /opt/cuda
+fish_add_path --append --global /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.
+set --export --global NVCC_CCBIN /usr/bin/g++



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

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/cuda/-/commit/ee31f952373c1ebba11a6d7b3b6ede6c611d8b1d
You're receiving this email because of your account on gitlab.archlinux.org. 
Manage all notifications: https://gitlab.archlinux.org/-/profile/notifications 
| Help: https://gitlab.archlinux.org/help


Reply via email to