Skip to content

Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

llm: add `GGML_STATIC` flag to windows static lib

jmorganca9ae146993e9e
diff --git a/llm/generate/gen_windows.ps1 b/llm/generate/gen_windows.ps1
index 5c6943502..123c44cc1 100644
--- a/llm/generate/gen_windows.ps1
+++ b/llm/generate/gen_windows.ps1
@@ -204,6 +204,7 @@ function build_static() {
"-DCMAKE_C_COMPILER=gcc.exe",
"-DCMAKE_CXX_COMPILER=g++.exe",
"-DBUILD_SHARED_LIBS=off",
+ "-DGGML_STATIC=on",
"-DGGML_NATIVE=off",
"-DGGML_AVX=off",
"-DGGML_AVX2=off",