mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-10-03 03:25:40 +00:00
restructure some compilation units
This commit is contained in:
parent
983dec9a54
commit
849ec89bad
11 changed files with 139 additions and 55 deletions
|
|
@ -570,7 +570,10 @@ target_link_libraries(embeddings_adapter PRIVATE common2 ggml ${LLAMA_EXTRA_LIBS
|
|||
set_target_properties(embeddings_adapter PROPERTIES POSITION_INDEPENDENT_CODE ON)
|
||||
|
||||
add_library(gpttype_adapter
|
||||
gpttype_adapter.cpp)
|
||||
gpttype_adapter.cpp
|
||||
src/llama.cpp
|
||||
common/chat.cpp
|
||||
src/llama-model.cpp)
|
||||
target_include_directories(gpttype_adapter PUBLIC . ./src ./ggml/include ./ggml/src ./ggml/src/ggml-cpu ./include ./otherarch ./otherarch/tools ./vendor/stb ./vendor/nlohmann ./vendor ./otherarch/sdcpp ./otherarch/sdcpp/thirdparty ./tools ./common)
|
||||
target_compile_features(gpttype_adapter PUBLIC cxx_std_17) # don't bump
|
||||
target_link_libraries(gpttype_adapter PRIVATE common2 ggml ggml_v1 ggml_v2 ggml_v3 ${LLAMA_EXTRA_LIBS})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue