]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
cmake : remove STATIC from impl libraries, enable LLAMA_BUILD_APP by default (#23462)
authorGeorgi Gerganov <redacted>
Thu, 21 May 2026 18:13:59 +0000 (21:13 +0300)
committerGitHub <redacted>
Thu, 21 May 2026 18:13:59 +0000 (21:13 +0300)
commitbb28c1fe246b72276ee1d00ce89306be7b865766
tree3d8cd4a341ffe484ae54e9888454c0c0f1437154
parentee7c30578a3bf3d8244cefe83b3f44c15df7768c
cmake : remove STATIC from impl libraries, enable LLAMA_BUILD_APP by default (#23462)

* cmake : remove STATIC from impl libraries, allow BUILD_SHARED_LIBS control

Remove explicit STATIC from all -impl libraries (server, cli, completion, bench,
batched-bench, fit-params, quantize, perplexity) so BUILD_SHARED_LIBS controls
shared vs static linkage.

Add WINDOWS_EXPORT_ALL_SYMBOLS ON for proper DLL export on Windows.

Assisted-by: llama.cpp:local pi
* cmake : enable LLAMA_BUILD_APP by default

Assisted-by: llama.cpp:local pi
* ci : disable app in build-cmake-pkg.yml
.github/workflows/build-cmake-pkg.yml
CMakeLists.txt
tools/batched-bench/CMakeLists.txt
tools/cli/CMakeLists.txt
tools/completion/CMakeLists.txt
tools/fit-params/CMakeLists.txt
tools/llama-bench/CMakeLists.txt
tools/perplexity/CMakeLists.txt
tools/quantize/CMakeLists.txt
tools/server/CMakeLists.txt