]> git.djapps.eu Git - pkg/ggml/sources/whisper.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 11:03:03 +0000 (13:03 +0200)
commit16245b35e4e8c511eb4760d3475760fd3eaf425e
treef09cc3e33b488bd4bf0d22acee4eb3a70b25d74c
parent898c0cb9d11bf25376d02d943b1887aff1a2342f
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