char-fork/llama.cpp

git clone https://git.t4t.associates/char-fork/llama.cpp

Jonathan Clohessykleidiai: Rework KleidiAI Build System/Integration (#26077)d222767c7

char/aliceai-t5-moe
417 B14 linesraw
1set(BUILD_SHARED_LIBS OFF)
2set(CMAKE_SKIP_INSTALL_RULES TRUE)
3
4add_subdirectory("${KLEIDIAI_SRC}" "${KLEIDIAI_BIN}" EXCLUDE_FROM_ALL)
5
6if (NOT TARGET kleidiai)
7    message(FATAL_ERROR "KleidiAI target was not created")
8endif()
9
10if (MSVC)
11    target_compile_options(kleidiai PRIVATE $<$<COMPILE_LANGUAGE:C,CXX>:/WX->)
12else()
13    target_compile_options(kleidiai PRIVATE $<$<COMPILE_LANGUAGE:C,CXX>:-Wno-error>)
14endif()