Back to feed

b8056

Feb 15, 2026
Meta/llama.cppCLIvb8056

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

macOS/iOS:

Linux:

Windows:

openEuler: