[PR #2656] [MERGED] Windows build + installer adjustments #21493

Closed
opened 2026-04-19 15:40:19 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/2656
Author: @jmorganca
Created: 2/21/2024
Status: Merged
Merged: 2/21/2024
Merged by: @jmorganca

Base: mainHead: jmorganca/windows-buildflags


📝 Commits (2)

  • 7e67483 remove -w -s linker flags on windows
  • 4f473c2 use zip for windows installer compression

📊 Changes

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

View changed files

📝 app/ollama.iss (+1 -1)
📝 scripts/build_windows.ps1 (+2 -2)

📄 Description

This will hopefully reduce the likelihood of #2519

  • Changes installer compression to zip
  • Removes -w -s linker flags for now since that's been reported to have helped

🔄 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/2656 **Author:** [@jmorganca](https://github.com/jmorganca) **Created:** 2/21/2024 **Status:** ✅ Merged **Merged:** 2/21/2024 **Merged by:** [@jmorganca](https://github.com/jmorganca) **Base:** `main` ← **Head:** `jmorganca/windows-buildflags` --- ### 📝 Commits (2) - [`7e67483`](https://github.com/ollama/ollama/commit/7e67483ca03d87c4e52eb8202ef84802188435a4) remove `-w -s` linker flags on windows - [`4f473c2`](https://github.com/ollama/ollama/commit/4f473c26a844934a5c10db5376ff12b0692fef45) use `zip` for windows installer compression ### 📊 Changes **2 files changed** (+3 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `app/ollama.iss` (+1 -1) 📝 `scripts/build_windows.ps1` (+2 -2) </details> ### 📄 Description This will hopefully reduce the likelihood of #2519 * Changes installer compression to `zip` * Removes `-w -s` linker flags for now since that's been [reported to have helped](https://groups.google.com/g/golang-nuts/c/Au1FbtTZzbk?pli=1) --- <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-19 15:40: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#21493