[PR #11612] win: static link msvc libs #13594

Closed
opened 2026-04-13 00:30:51 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/ollama/ollama/pull/11612

State: closed
Merged: Yes


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

**Original Pull Request:** https://github.com/ollama/ollama/pull/11612 **State:** closed **Merged:** Yes --- 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
GiteaMirror added the pull-request label 2026-04-13 00:30:51 -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#13594