[PR #1781] [MERGED] Fix CPU only builds #10672

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/1781
Author: @dhiltgen
Created: 1/4/2024
Status: Merged
Merged: 1/4/2024
Merged by: @dhiltgen

Base: mainHead: cpu_only_build


📝 Commits (1)

📊 Changes

2 files changed (+6 additions, -3 deletions)

View changed files

📝 llm/llama.cpp/gen_linux.sh (+3 -0)
📝 llm/shim_ext_server.go (+3 -3)

📄 Description

Go embed doesn't like when there's no matching files, so put a dummy placeholder in to allow building without any GPU support If no "server" library is found, it's safely ignored at runtime.


🔄 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/1781 **Author:** [@dhiltgen](https://github.com/dhiltgen) **Created:** 1/4/2024 **Status:** ✅ Merged **Merged:** 1/4/2024 **Merged by:** [@dhiltgen](https://github.com/dhiltgen) **Base:** `main` ← **Head:** `cpu_only_build` --- ### 📝 Commits (1) - [`ddbfa6f`](https://github.com/ollama/ollama/commit/ddbfa6fe31c4fc1894dbfdf77df53590dfdf5119) Fix CPU only builds ### 📊 Changes **2 files changed** (+6 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `llm/llama.cpp/gen_linux.sh` (+3 -0) 📝 `llm/shim_ext_server.go` (+3 -3) </details> ### 📄 Description Go embed doesn't like when there's no matching files, so put a dummy placeholder in to allow building without any GPU support If no "server" library is found, it's safely ignored at runtime. --- <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:07:04 -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#10672