[PR #5072] [MERGED] Move libraries out of users path #11670

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/5072
Author: @dhiltgen
Created: 6/15/2024
Status: Merged
Merged: 6/19/2024
Merged by: @dhiltgen

Base: mainHead: windows_path


📝 Commits (1)

  • b2799f1 Move libraries out of users path

📊 Changes

6 files changed (+41 additions, -26 deletions)

View changed files

📝 app/ollama.iss (+6 -1)
📝 gpu/gpu.go (+8 -2)
📝 llm/generate/gen_windows.ps1 (+18 -14)
📝 llm/payload.go (+2 -2)
📝 llm/server.go (+2 -2)
📝 scripts/build_windows.ps1 (+5 -5)

📄 Description

We update the PATH on windows to get the CLI mapped, but this has an unintended side effect of causing other apps that may use our bundled DLLs to get terminated when we upgrade.

Fixes #5050


🔄 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/5072 **Author:** [@dhiltgen](https://github.com/dhiltgen) **Created:** 6/15/2024 **Status:** ✅ Merged **Merged:** 6/19/2024 **Merged by:** [@dhiltgen](https://github.com/dhiltgen) **Base:** `main` ← **Head:** `windows_path` --- ### 📝 Commits (1) - [`b2799f1`](https://github.com/ollama/ollama/commit/b2799f111b6b662690ec3f705f4ab95a7f5d7df4) Move libraries out of users path ### 📊 Changes **6 files changed** (+41 additions, -26 deletions) <details> <summary>View changed files</summary> 📝 `app/ollama.iss` (+6 -1) 📝 `gpu/gpu.go` (+8 -2) 📝 `llm/generate/gen_windows.ps1` (+18 -14) 📝 `llm/payload.go` (+2 -2) 📝 `llm/server.go` (+2 -2) 📝 `scripts/build_windows.ps1` (+5 -5) </details> ### 📄 Description We update the PATH on windows to get the CLI mapped, but this has an unintended side effect of causing other apps that may use our bundled DLLs to get terminated when we upgrade. Fixes #5050 --- <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:35:19 -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#11670