[PR #11612] [MERGED] win: static link msvc libs #18865

Closed
opened 2026-04-16 06:49:57 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/11612
Author: @dhiltgen
Created: 7/31/2025
Status: Merged
Merged: 8/5/2025
Merged by: @dhiltgen

Base: mainHead: win_build


📝 Commits (1)

  • f5be7b8 win: static link msvc libs

📊 Changes

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

View changed files

📝 CMakePresets.json (+2 -1)

📄 Description

This should help reduce the runtime dependencies on windows.

Reference: https://cmake.org/cmake/help/latest/prop_tgt/MSVC_RUNTIME_LIBRARY.html

Prior to this change, the various ggml-*.dll libraries all depend on MSVCP140.dll and VCRUNTIME140.dll

Fixes #11447
Fixes #11556


🔄 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/11612 **Author:** [@dhiltgen](https://github.com/dhiltgen) **Created:** 7/31/2025 **Status:** ✅ Merged **Merged:** 8/5/2025 **Merged by:** [@dhiltgen](https://github.com/dhiltgen) **Base:** `main` ← **Head:** `win_build` --- ### 📝 Commits (1) - [`f5be7b8`](https://github.com/ollama/ollama/commit/f5be7b86eb05e670e8d225e3fa6aac723c36fca4) win: static link msvc libs ### 📊 Changes **1 file changed** (+2 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `CMakePresets.json` (+2 -1) </details> ### 📄 Description This should help reduce the runtime dependencies on windows. Reference: https://cmake.org/cmake/help/latest/prop_tgt/MSVC_RUNTIME_LIBRARY.html Prior to this change, the various `ggml-*.dll` libraries all depend on MSVCP140.dll and VCRUNTIME140.dll Fixes #11447 Fixes #11556 --- <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-16 06:49:57 -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#18865