]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
cmake: add ggml find package (#11369)
authorbandoti <redacted>
Sun, 26 Jan 2025 16:07:48 +0000 (12:07 -0400)
committerGitHub <redacted>
Sun, 26 Jan 2025 16:07:48 +0000 (12:07 -0400)
commit19f65187cbf009801288861133267ee5573ceead
treed26e22617a444b12224bdfc9d453832021aa17f8
parent1d8ee06000ecdd274e7f0a0465d6bf26ad2b3491
cmake: add ggml find package (#11369)

* Add initial ggml cmake package

* Add build numbers to ggml find-package

* Expand variables with GGML_ prefix

* Guard against adding to cache variable twice

* Add git to msys2 workflow

* Handle ggml-cpu-* variants

* Link ggml/ggml-base libraries to their targets

* Replace main-cmake-pkg with simple-cmake-pkg

* Interface features require c_std_90

* Fix typo

* Removed unnecessary bracket from status message

* Update examples/simple-cmake-pkg/README.md

Co-authored-by: Georgi Gerganov <redacted>
* Update examples/simple-cmake-pkg/README.md

Co-authored-by: Georgi Gerganov <redacted>
---------

Co-authored-by: Georgi Gerganov <redacted>
12 files changed:
.github/workflows/build.yml
CMakeLists.txt
cmake/llama-config.cmake.in
examples/main-cmake-pkg/.gitignore [deleted file]
examples/main-cmake-pkg/CMakeLists.txt [deleted file]
examples/main-cmake-pkg/README.md [deleted file]
examples/simple-cmake-pkg/.gitignore [new file with mode: 0644]
examples/simple-cmake-pkg/CMakeLists.txt [new file with mode: 0644]
examples/simple-cmake-pkg/README.md [new file with mode: 0644]
ggml/CMakeLists.txt
ggml/cmake/ggml-config.cmake.in [new file with mode: 0644]
ggml/src/CMakeLists.txt