[PR #1987] [MERGED] Let gpu.go and gen_linux.sh also find CUDA on Arch Linux #10750

Closed
opened 2026-04-12 23:09:33 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/1987
Author: @xyproto
Created: 1/14/2024
Status: Merged
Merged: 1/18/2024
Merged by: @dhiltgen

Base: mainHead: archlinux


📝 Commits (2)

  • f4bf1d5 Let gpu.go and gen_linux.sh also find CUDA on Arch Linux
  • cbe2adc Merge branch 'main' into archlinux

📊 Changes

2 files changed (+8 additions, -2 deletions)

View changed files

📝 gpu/gpu.go (+1 -0)
📝 llm/generate/gen_linux.sh (+7 -2)

📄 Description

  • Let gpu.go and gen_linux.sh find CUDA on Arch Linux.
  • These changes were needed to let the ollama-cuda package on Arch Linux find CUDA when building.
  • Also, use find instead of ls in gen_linux.sh.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/1987 **Author:** [@xyproto](https://github.com/xyproto) **Created:** 1/14/2024 **Status:** ✅ Merged **Merged:** 1/18/2024 **Merged by:** [@dhiltgen](https://github.com/dhiltgen) **Base:** `main` ← **Head:** `archlinux` --- ### 📝 Commits (2) - [`f4bf1d5`](https://github.com/ollama/ollama/commit/f4bf1d514f537af9166f72fa00feda04556fc3d5) Let gpu.go and gen_linux.sh also find CUDA on Arch Linux - [`cbe2adc`](https://github.com/ollama/ollama/commit/cbe2adc78ab7a34fafebbf4c83582d6c29a461ed) Merge branch 'main' into archlinux ### 📊 Changes **2 files changed** (+8 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `gpu/gpu.go` (+1 -0) 📝 `llm/generate/gen_linux.sh` (+7 -2) </details> ### 📄 Description * Let gpu.go and gen_linux.sh find CUDA on Arch Linux. * These changes were needed to let the [ollama-cuda](https://archlinux.org/packages/extra/x86_64/ollama-cuda/) package on Arch Linux find CUDA when building. * Also, use `find` instead of `ls` in `gen_linux.sh`. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-12 23:09:33 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#10750