1- diff --color=auto -rupN llamacpp-src-original /CMakeLists.txt llamacpp-src -patched/CMakeLists.txt
2- --- llamacpp-src-original /CMakeLists.txt 2026-01-25 21:19:47
3- +++ llamacpp-src -patched/CMakeLists.txt 2026-02-18 13:15:46
4- @@ -212 ,6 +212 ,7 @@ add_subdirectory(src)
1+ diff --color=auto -rupN llama.cpp-b8944 /CMakeLists.txt llama.cpp-b8944 -patched/CMakeLists.txt
2+ --- llama.cpp-b8944 /CMakeLists.txt 2026-04-27 08:30:55
3+ +++ llama.cpp-b8944 -patched/CMakeLists.txt 2026-04-27 13:49:25
4+ @@ -191 ,6 +191 ,7 @@ add_subdirectory(src)
55 #
66
77 add_subdirectory(src)
88+ add_subdirectory(tools/mtmd)
99
1010 #
1111 # utils, programs, examples and tests
12- diff --color=auto -rupN llamacpp-src-original/tools/mtmd/CMakeLists.txt llamacpp-src-patched/tools/mtmd/CMakeLists.txt
13- --- llamacpp-src-original/tools/mtmd/CMakeLists.txt 2026-01-25 21:19:47
14- +++ llamacpp-src-patched/tools/mtmd/CMakeLists.txt 2026-02-18 13:13:40
15- @@ -80,16 +80,3 @@ endif()
12+ diff --color=auto -rupN llama.cpp-b8944/common/ngram-mod.cpp llama.cpp-b8944-patched/common/ngram-mod.cpp
13+ --- llama.cpp-b8944/common/ngram-mod.cpp 2026-04-27 08:30:55
14+ +++ llama.cpp-b8944-patched/common/ngram-mod.cpp 2026-04-30 08:28:08
15+ @@ -1,4 +1,5 @@
16+ #include "ngram-mod.h"
17+ + #include <algorithm>
18+
19+ //
20+ // common_ngram_mod
21+ diff --color=auto -rupN llama.cpp-b8944/tools/mtmd/CMakeLists.txt llama.cpp-b8944-patched/tools/mtmd/CMakeLists.txt
22+ --- llama.cpp-b8944/tools/mtmd/CMakeLists.txt 2026-04-27 08:30:55
23+ +++ llama.cpp-b8944-patched/tools/mtmd/CMakeLists.txt 2026-04-27 13:50:45
24+ @@ -101,20 +101,6 @@ endif()
1625 endif()
1726 endif()
1827
@@ -27,5 +36,9 @@ diff --color=auto -rupN llamacpp-src-original/tools/mtmd/CMakeLists.txt llamacpp
2736- if(LLAMA_TOOLS_INSTALL)
2837- install(TARGETS ${TARGET} RUNTIME)
2938- endif()
30- - target_link_libraries (${TARGET} PRIVATE common mtmd Threads::Threads)
39+ - target_link_libraries (${TARGET} PRIVATE llama- common mtmd Threads::Threads)
3140- target_compile_features(${TARGET} PRIVATE cxx_std_17)
41+ -
42+ # mtmd-debug tool
43+ add_executable(llama-mtmd-debug debug/mtmd-debug.cpp)
44+ set_target_properties(llama-mtmd-debug PROPERTIES OUTPUT_NAME llama-mtmd-debug)
0 commit comments