File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ if(EXECUTORCH_BUILD_EXTENSION_TRAINING)
151151 target_compile_definitions (executorch_jni PUBLIC EXECUTORCH_BUILD_EXTENSION_TRAINING=1)
152152endif ()
153153
154- if (EXECUTORCH_BUILD_LLAMA_JNI )
154+ if (EXECUTORCH_BUILD_EXTENSION_LLM )
155155 target_sources (executorch_jni PRIVATE jni/jni_layer_llama.cpp jni/log .cpp)
156156 list (APPEND link_libraries llama_runner llava_runner)
157157 target_compile_definitions (executorch_jni PUBLIC EXECUTORCH_BUILD_LLAMA_JNI=1)
Original file line number Diff line number Diff line change @@ -56,7 +56,6 @@ build_android_native_library() {
5656 -DEXECUTORCH_BUILD_KERNELS_OPTIMIZED=ON \
5757 -DEXECUTORCH_BUILD_KERNELS_QUANTIZED=ON \
5858 -DEXECUTORCH_BUILD_KERNELS_LLM=" ${EXECUTORCH_BUILD_EXTENSION_LLM:- ON} " \
59- -DEXECUTORCH_BUILD_LLAMA_JNI=" ${EXECUTORCH_BUILD_EXTENSION_LLM:- ON} " \
6059 -DEXECUTORCH_BUILD_NEURON=" ${EXECUTORCH_BUILD_NEURON} " \
6160 -DNEURON_BUFFER_ALLOCATOR_LIB=" ${NEURON_BUFFER_ALLOCATOR_LIB} " \
6261 -DEXECUTORCH_BUILD_QNN=" ${EXECUTORCH_BUILD_QNN} " \
You can’t perform that action at this time.
0 commit comments