Skip to content

Commit cb23842

Browse files
committed
Deactivate non-compiling mtmd components
1 parent 94e2cad commit cb23842

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ option(LLAMA_BUILD_COMMON "llama: build common utils library" ${LLAMA_STANDALONE
7979
option(LLAMA_BUILD_TESTS "llama: build tests" ${LLAMA_STANDALONE})
8080
option(LLAMA_BUILD_TOOLS "llama: build tools" ${LLAMA_STANDALONE})
8181
option(LLAMA_BUILD_EXAMPLES "llama: build examples" ${LLAMA_STANDALONE})
82-
option(LLAMA_BUILD_SERVER "llama: build server example" ${LLAMA_STANDALONE})
82+
option(LLAMA_BUILD_SERVER "llama: build server example" OFF)
8383

8484
# specific extras
8585
option(LLAMA_MTMD "llama: multimodal support" OFF)

tests/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,9 +211,9 @@ if (NOT GGML_BACKEND_DL)
211211
endif()
212212

213213
# libmtmd
214-
set(LLAMA_TEST_NAME test-mtmd-c-api)
215-
llama_build_and_test(test-mtmd-c-api.c)
216-
target_link_libraries(${LLAMA_TEST_NAME} PRIVATE mtmd)
214+
# set(LLAMA_TEST_NAME test-mtmd-c-api)
215+
# llama_build_and_test(test-mtmd-c-api.c)
216+
# target_link_libraries(${LLAMA_TEST_NAME} PRIVATE mtmd)
217217

218218
# dummy executable - not installed
219219
get_filename_component(TEST_TARGET test-c.c NAME_WE)

0 commit comments

Comments
 (0)