]> git.djapps.eu Git - pkg/ggml/sources/ggml/commit
cmake : fix KleidiAI install target failure with EXCLUDE_FROM_ALL (llama/19581)
authorSamareshSingh <redacted>
Sun, 15 Feb 2026 05:22:53 +0000 (23:22 -0600)
committerGeorgi Gerganov <redacted>
Wed, 25 Feb 2026 10:32:13 +0000 (12:32 +0200)
commitee937d5758d5582f6ce9489c4c638bcb1e8218f8
treefc464205504e9579324b08fed62db52e2b496711
parent37a19206645bf6f1fd5efc5141bdfdc6e8f04234
cmake : fix KleidiAI install target failure with EXCLUDE_FROM_ALL (llama/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
src/ggml-cpu/CMakeLists.txt