llm: add GGML_STATIC flag to windows static lib

This commit is contained in:
jmorganca 2024-07-06 03:27:05 -04:00
parent e0348d3fe8
commit 9ae146993e

View file

@ -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",