mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-05-22 19:47:49 +00:00
Some checks are pending
Python Type-Check / python type-check (push) Waiting to run
* app : add batched-bench, fit-params, quantize & perplexity Signed-off-by: Adrien Gallouët <angt@huggingface.co> * Add missing main.cpp Signed-off-by: Adrien Gallouët <angt@huggingface.co> * Add EOL Signed-off-by: Adrien Gallouët <angt@huggingface.co> --------- Signed-off-by: Adrien Gallouët <angt@huggingface.co>
20 lines
483 B
CMake
20 lines
483 B
CMake
set(TARGET llama-app)
|
|
|
|
add_executable(${TARGET} llama.cpp)
|
|
set_target_properties(${TARGET} PROPERTIES OUTPUT_NAME llama)
|
|
|
|
target_link_libraries(${TARGET} PRIVATE
|
|
llama-server-impl
|
|
llama-cli-impl
|
|
llama-completion-impl
|
|
llama-bench-impl
|
|
llama-batched-bench-impl
|
|
llama-fit-params-impl
|
|
llama-quantize-impl
|
|
llama-perplexity-impl
|
|
)
|
|
target_compile_features(${TARGET} PRIVATE cxx_std_17)
|
|
|
|
if(LLAMA_TOOLS_INSTALL)
|
|
install(TARGETS ${TARGET} RUNTIME)
|
|
endif()
|