From 9b58aecd3ebdae05f57613a665fdcf72e3682080 Mon Sep 17 00:00:00 2001 From: jmorganca Date: Sat, 6 Jul 2024 02:50:25 -0400 Subject: [PATCH] llm: build with `GGML_STATIC=on` for static lib --- llm/generate/gen_windows.ps1 | 1 + 1 file changed, 1 insertion(+) 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",