From b333b06772c89d96aacb5490d6a219fba7c09cc6 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Thu, 12 Feb 2026 20:57:17 +0100 Subject: Engage! --- llama.cpp/tools/imatrix/CMakeLists.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 llama.cpp/tools/imatrix/CMakeLists.txt (limited to 'llama.cpp/tools/imatrix/CMakeLists.txt') diff --git a/llama.cpp/tools/imatrix/CMakeLists.txt b/llama.cpp/tools/imatrix/CMakeLists.txt new file mode 100644 index 0000000..5af6263 --- /dev/null +++ b/llama.cpp/tools/imatrix/CMakeLists.txt @@ -0,0 +1,13 @@ +set(TARGET llama-imatrix) +add_executable(${TARGET} imatrix.cpp) +target_link_libraries(${TARGET} PRIVATE common llama ${CMAKE_THREAD_LIBS_INIT}) +target_compile_features(${TARGET} PRIVATE cxx_std_17) + +if(LLAMA_TOOLS_INSTALL) + install(TARGETS ${TARGET} RUNTIME) +endif() + +if (CMAKE_SYSTEM_NAME MATCHES "AIX") + # AIX's flock() function comes from libbsd.a + target_link_libraries(${TARGET} PRIVATE -lbsd) +endif() -- cgit v1.2.3