Skip to content

Commit 629b625

Browse files
committed
merge ane first, temp rm app support
1 parent 54258e9 commit 629b625

File tree

4 files changed

+0
-557
lines changed

4 files changed

+0
-557
lines changed

tools/mtmd/CMakeLists.txt

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ add_library(mtmd
1414
clip-impl.h
1515
mtmd-helper.cpp
1616
mtmd-helper.h
17-
mtmd-ios.cpp
18-
mtmd-ios.h
1917
)
2018

2119
# Add ANE related files when enabled
@@ -62,7 +60,6 @@ endif()
6260
set(MTMD_PUBLIC_HEADERS
6361
${CMAKE_CURRENT_SOURCE_DIR}/mtmd.h
6462
${CMAKE_CURRENT_SOURCE_DIR}/mtmd-helper.h
65-
${CMAKE_CURRENT_SOURCE_DIR}/mtmd-ios.h
6663
)
6764

6865
# Add ANE public headers when enabled
@@ -99,33 +96,3 @@ set_target_properties (${TARGET} PROPERTIES OUTPUT_NAME llama-mtmd-cli)
9996
install (TARGETS ${TARGET} RUNTIME BUNDLE DESTINATION .)
10097
target_link_libraries (${TARGET} PRIVATE common mtmd Threads::Threads)
10198
target_compile_features(${TARGET} PRIVATE cxx_std_17)
102-
103-
# iOS interface testing
104-
set(TARGET_IOS llama-mtmd-ios-test)
105-
add_executable (${TARGET_IOS} mtmd-ios-example.cpp)
106-
set_target_properties (${TARGET_IOS} PROPERTIES OUTPUT_NAME llama-mtmd-ios-test)
107-
target_include_directories(${TARGET_IOS} PRIVATE .)
108-
target_include_directories(${TARGET_IOS} PRIVATE ../..)
109-
target_include_directories(${TARGET_IOS} PRIVATE ../../common)
110-
target_include_directories(${TARGET_IOS} PRIVATE ../../include)
111-
target_include_directories(${TARGET_IOS} PRIVATE ../../ggml/include)
112-
target_include_directories(${TARGET_IOS} PRIVATE ../../src)
113-
target_include_directories(${TARGET_IOS} PRIVATE ../../vendor)
114-
target_link_libraries (${TARGET_IOS} PRIVATE mtmd common llama ggml Threads::Threads)
115-
target_compile_features(${TARGET_IOS} PRIVATE cxx_std_17)
116-
117-
# Ensure dependent libraries are built first
118-
add_dependencies(${TARGET_IOS} mtmd)
119-
if (TARGET common)
120-
add_dependencies(${TARGET_IOS} common)
121-
endif()
122-
123-
# Add additional linking settings for iOS testing when ANE is enabled
124-
if(ENABLE_ANE)
125-
target_link_libraries(${TARGET_IOS} PRIVATE
126-
"-framework Foundation"
127-
"-framework CoreML"
128-
"-framework Accelerate"
129-
"-ObjC"
130-
)
131-
endif()

tools/mtmd/mtmd-ios-example.cpp

Lines changed: 0 additions & 121 deletions
This file was deleted.

0 commit comments

Comments
 (0)