[PR #6780] [MERGED] Fix incremental builds on linux #12225

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/6780
Author: @dhiltgen
Created: 9/13/2024
Status: Merged
Merged: 9/13/2024
Merged by: @dhiltgen

Base: mainHead: goarch


📝 Commits (1)

  • d03328b Fix incremental builds on linux

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 llm/generate/gen_common.sh (+1 -1)

📄 Description

Building in containers worked fine. Building iteratively on a persistent filesystem doesn't. Running the install function twice on a second generate caused an error cp: cannot stat '../build/linux/amd64/cpu/bin/libllama.so': No such file or directory


🔄 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/6780 **Author:** [@dhiltgen](https://github.com/dhiltgen) **Created:** 9/13/2024 **Status:** ✅ Merged **Merged:** 9/13/2024 **Merged by:** [@dhiltgen](https://github.com/dhiltgen) **Base:** `main` ← **Head:** `goarch` --- ### 📝 Commits (1) - [`d03328b`](https://github.com/ollama/ollama/commit/d03328b6ef7b9bd281a08d3035b8875486ff5f23) Fix incremental builds on linux ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `llm/generate/gen_common.sh` (+1 -1) </details> ### 📄 Description Building in containers worked fine. Building iteratively on a persistent filesystem doesn't. Running the install function twice on a second generate caused an error cp: cannot stat '../build/linux/amd64/cpu/bin/libllama.so': No such file or directory --- <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:52:27 -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#12225