]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
cmake : fix KleidiAI install target failure with EXCLUDE_FROM_ALL (#19581)
authorSamareshSingh <redacted>
Sun, 15 Feb 2026 05:22:53 +0000 (23:22 -0600)
committerGitHub <redacted>
Sun, 15 Feb 2026 05:22:53 +0000 (06:22 +0100)
commit3a00c98584e42a20675b6569d81beadb282b0952
treee0b2e4104cc1904b0ffb36a6ed7ce3b0f3c44ce6
parent079feab9e3efee1d6d4ca370eac50f156e2dc6e8
cmake : fix KleidiAI install target failure with EXCLUDE_FROM_ALL (#19581)

* cmake: fix KleidiAI install target failure with EXCLUDE_FROM_ALL

Fix for the bug #19501 by adding EXCLUDE_FROM_ALL to FetchContent_Declare. This properly excludes KleidiAI from both build and install targets, preventing install failures when GGML_CPU_KLEIDIAI=ON is used.

The KleidiAI source files are still compiled into libggml-cpu.so, preserving all functionality.

* addressed code review comments
ggml/src/ggml-cpu/CMakeLists.txt