]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
cmake: Add ability to pass in GGML_BUILD_NUMBER (ggml/1096)
authorChristian Kastner <redacted>
Mon, 3 Feb 2025 23:17:15 +0000 (00:17 +0100)
committerGeorgi Gerganov <redacted>
Tue, 4 Feb 2025 10:59:15 +0000 (12:59 +0200)
commit8f8290ada96194138bb3d4dc6958323bc728ef83
tree7c1c09bfc0767f8b3d7cbf0431e4a7313362fdf2
parentb34aedd558dcf67f7e96b0260d6b554877bd3499
cmake: Add ability to pass in GGML_BUILD_NUMBER (ggml/1096)

This makes git as a dependency optional, and is useful in the case where
ggml is built not from git, but from a tarball, or a distribution source
package.

This conditional also affects GGML_BUILD_COMMIT. Nothing seems to be
using it, though, so there doesn't seem much value factor it out, or
even require it.
ggml/CMakeLists.txt