]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/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>
Fri, 27 Feb 2026 18:57:58 +0000 (20:57 +0200)
commit7ee772ab2becef7adbba13b53e74dd8d4a481583
treeb48255d444059ac9b353741ce6df8e299e7cfb89
parent4bea3cd329fa141bdce3819d91f4c20075850ec0
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
ggml/src/ggml-cpu/CMakeLists.txt