Some checks are pending
Copilot Setup Steps / copilot-setup-steps (push) Waiting to run
Check Pre-Tokenizer Hashes / pre-tokenizer-hashes (push) Waiting to run
Python check requirements.txt / check-requirements (push) Waiting to run
Python Type-Check / python type-check (push) Waiting to run
Update Operations Documentation / update-ops-docs (push) Waiting to run
14 lines
422 B
CMake
14 lines
422 B
CMake
set(TARGET llama-imatrix)
|
|
add_executable(${TARGET} imatrix.cpp)
|
|
target_link_libraries(${TARGET} PRIVATE llama-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()
|