]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
cmake : enable building llama.cpp using system libggml (llama/12321)
authorChristian Kastner <redacted>
Mon, 17 Mar 2025 09:05:23 +0000 (10:05 +0100)
committerGeorgi Gerganov <redacted>
Thu, 27 Mar 2025 09:06:03 +0000 (11:06 +0200)
commit4917f122d49d7880398e6b345f17c57c95710224
tree2bfe6faaf4a572841081ee3b86aebba3c2890c8d
parent16a1b772498e03e50fd55de600e6d050f4bd0c95
cmake : enable building llama.cpp using system libggml (llama/12321)

* cmake: Factor out compiler flag function from ggml

llama.cpps's build requires it, too, and we may want to make use of it
without add_subdirectory(ggml).

* cmake: Enable building against system ggml

This facilitates package maintenance for Linux distributions, where the
libggml library most likely will be shipped as an individual package
upon which a llama.cpp package depends.
ggml/src/CMakeLists.txt