File tree Expand file tree Collapse file tree 1 file changed +1
-20
lines changed
Expand file tree Collapse file tree 1 file changed +1
-20
lines changed Original file line number Diff line number Diff line change @@ -168,27 +168,8 @@ endif()
168168
169169if (EXECUTORCH_BUILD_LLAMA_JNI)
170170 target_sources (executorch_jni PRIVATE jni/jni_layer_llama.cpp jni/log .cpp)
171- list (APPEND link_libraries llama_runner llava_runner )
171+ list (APPEND link_libraries extension_llm_runner )
172172 target_compile_definitions (executorch_jni PUBLIC EXECUTORCH_BUILD_LLAMA_JNI=1)
173- add_subdirectory (
174- ${EXECUTORCH_ROOT} /examples/models/llava/runner
175- ${CMAKE_CURRENT_BINARY_DIR} /../../examples/models/llava/runner
176- )
177-
178- add_subdirectory (
179- ${EXECUTORCH_ROOT} /examples/models/llama/runner
180- ${CMAKE_CURRENT_BINARY_DIR} /../../examples/models/llama/runner
181- )
182-
183- target_sources (
184- executorch_jni
185- PRIVATE ${EXECUTORCH_ROOT} /extension/llm/runner/llm_runner_helper.cpp
186- )
187-
188- target_include_directories (
189- executorch_jni PRIVATE ${EXECUTORCH_ROOT} /extension/llm/runner
190- )
191-
192173 if (QNN_SDK_ROOT)
193174 target_sources (
194175 executorch_jni
You can’t perform that action at this time.
0 commit comments