]> git.djapps.eu Git - pkg/ggml/sources/ggml/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 07:35:24 +0000 (09:35 +0200)
commitbeb645e5730309406dbe84b67ae038c686b4af8c
treecf2455f6ab7cde8f4f074a3c6d7642bed0b9c01d
parent5640240c2f6754b1305c54d02798555f1d994fb7
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.
src/CMakeLists.txt