Skip to content

Commit 9b46940

Browse files
committed
fix flatc
1 parent 3791991 commit 9b46940

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.ci/scripts/build_llama_android.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ install_executorch_and_backend_lib() {
2121
-DANDROID_ABI="${ANDROID_ABI}" \
2222
-DANDROID_PLATFORM=android-23 \
2323
-DCMAKE_INSTALL_PREFIX=cmake-android-out \
24-
-DEXECUTORCH_BUILD_FLATC=OFF \
2524
-DEXECUTORCH_BUILD_EXTENSION_MODULE=ON \
2625
-DEXECUTORCH_BUILD_EXTENSION_DATA_LOADER=ON \
2726
-Bcmake-android-out .
@@ -41,6 +40,6 @@ build_llama_runner() {
4140

4241
cmake --build cmake-android-out/examples/models/llama2 -j4 --config Release
4342
}
44-
43+
install_flatc_from_source
4544
install_executorch_and_backend_lib
4645
build_llama_runner

0 commit comments

Comments
 (0)