]> git.djapps.eu Git - pkg/ggml/sources/ggml/commit
cmake: Add ability to pass in GGML_BUILD_NUMBER (#1096)
authorChristian Kastner <redacted>
Mon, 3 Feb 2025 23:17:15 +0000 (00:17 +0100)
committerGitHub <redacted>
Mon, 3 Feb 2025 23:17:15 +0000 (00:17 +0100)
commit5734b97d896ec744ea9ea288571308cca2285149
treedb5d9de0e0069210aa552bac5a6768028b507002
parent498e0ecd2c4f9379439fd413805af10e8e9ff349
cmake: Add ability to pass in GGML_BUILD_NUMBER (#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.
CMakeLists.txt