Skip to content

Commit e4d72ce

Browse files
kirklandsignfacebook-github-bot
authored andcommitted
Update setup.sh for LlamaDemo (#5235)
Summary: Pull Request resolved: #5235 Reviewed By: cmodi-meta, shoumikhin Differential Revision: D62468267 Pulled By: kirklandsign fbshipit-source-id: d64f28cb7c6c97853bbb557af63c1f6937b3626d
1 parent ca889fb commit e4d72ce

File tree

1 file changed

+3
-0
lines changed
  • examples/demo-apps/android/LlamaDemo

1 file changed

+3
-0
lines changed

examples/demo-apps/android/LlamaDemo/setup.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ cmake . -DCMAKE_INSTALL_PREFIX="${CMAKE_OUT}" \
1616
-DEXECUTORCH_BUILD_XNNPACK=ON \
1717
-DEXECUTORCH_BUILD_EXTENSION_DATA_LOADER=ON \
1818
-DEXECUTORCH_BUILD_EXTENSION_MODULE=ON \
19+
-DEXECUTORCH_BUILD_EXTENSION_RUNNER_UTIL=ON \
1920
-DEXECUTORCH_BUILD_EXTENSION_TENSOR=ON \
2021
-DEXECUTORCH_BUILD_KERNELS_OPTIMIZED=ON \
2122
-DEXECUTORCH_BUILD_KERNELS_QUANTIZED=ON \
@@ -37,6 +38,7 @@ cmake examples/models/llama2 \
3738
-DCMAKE_INSTALL_PREFIX="${CMAKE_OUT}" \
3839
-DEXECUTORCH_BUILD_KERNELS_CUSTOM=ON \
3940
-DEXECUTORCH_BUILD_KERNELS_OPTIMIZED=ON \
41+
-DEXECUTORCH_BUILD_EXTENSION_RUNNER_UTIL=ON \
4042
-DEXECUTORCH_BUILD_XNNPACK=ON \
4143
-DCMAKE_BUILD_TYPE=Release \
4244
-B"${CMAKE_OUT}"/examples/models/llama2
@@ -48,6 +50,7 @@ cmake extension/android \
4850
-DANDROID_ABI="${ANDROID_ABI}" \
4951
-DANDROID_PLATFORM=android-23 \
5052
-DCMAKE_INSTALL_PREFIX="${CMAKE_OUT}" \
53+
-DEXECUTORCH_BUILD_EXTENSION_RUNNER_UTIL=ON \
5154
-DEXECUTORCH_BUILD_LLAMA_JNI=ON \
5255
-DCMAKE_BUILD_TYPE=Release \
5356
-B"${CMAKE_OUT}"/extension/android

0 commit comments

Comments
 (0)