File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ build_android_native_library() {
57
57
-DEXECUTORCH_BUILD_EXTENSION_TENSOR=ON \
58
58
-DEXECUTORCH_BUILD_KERNELS_OPTIMIZED=ON \
59
59
-DEXECUTORCH_BUILD_KERNELS_QUANTIZED=ON \
60
- -DEXECUTORCH_BUILD_KERNELS_CUSTOM=ON \
60
+ -DEXECUTORCH_BUILD_KERNELS_CUSTOM=" ${EXECUTORCH_BUILD_EXTENSION_LLM :- ON} " \
61
61
-DEXECUTORCH_BUILD_NEURON=" ${EXECUTORCH_BUILD_NEURON} " \
62
62
-DNEURON_BUFFER_ALLOCATOR_LIB=" ${NEURON_BUFFER_ALLOCATOR_LIB} " \
63
63
-DEXECUTORCH_BUILD_QNN=" ${EXECUTORCH_BUILD_QNN} " \
@@ -88,8 +88,8 @@ build_android_native_library() {
88
88
-DEXECUTORCH_LOG_LEVEL=Info \
89
89
-DCMAKE_FIND_ROOT_PATH_MODE_PACKAGE=BOTH \
90
90
-DNEURON_BUFFER_ALLOCATOR_LIB=" $NEURON_BUFFER_ALLOCATOR_LIB " \
91
- -DEXECUTORCH_BUILD_KERNELS_CUSTOM=ON \
92
- -DEXECUTORCH_BUILD_LLAMA_JNI=ON \
91
+ -DEXECUTORCH_BUILD_KERNELS_CUSTOM=" ${EXECUTORCH_BUILD_EXTENSION_LLM :- ON} " \
92
+ -DEXECUTORCH_BUILD_LLAMA_JNI=" ${EXECUTORCH_BUILD_EXTENSION_LLM :- ON} " \
93
93
-DCMAKE_BUILD_TYPE=" ${EXECUTORCH_CMAKE_BUILD_TYPE} " \
94
94
-B" ${CMAKE_OUT} " /extension/android
95
95
You can’t perform that action at this time.
0 commit comments