Skip to content

Commit b30ea9b

Browse files
committed
[Android] Update instructions for build types
User can use `export EXECUTORCH_CMAKE_BUILD_TYPE=Debug` Differential Revision: [D64795144](https://our.internmc.facebook.com/intern/diff/D64795144/) [ghstack-poisoned]
1 parent fe20be9 commit b30ea9b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/demo-apps/android/LlamaDemo/docs/delegates/xnnpack_README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,8 @@ This is running the shell script which configures the required core ExecuTorch,
163163

164164
**Note**: If you are building the Android app mentioned in the next section on a separate machine (i.e. MacOS but building and exporting on Linux), make sure you copy the aar file generated from setup script to “examples/demo-apps/android/LlamaDemo/app/libs” before building the Android app.
165165

166+
**Note**: By default, this generates native libraries with "Release" build. If you want to get debugging information, use "Debug" build by `export EXECUTORCH_CMAKE_BUILD_TYPE=Debug` before running `setup.sh`.
167+
166168
### Alternative: Use prebuilt AAR library
167169
1. Open a terminal window and navigate to the root directory of the executorch.
168170
2. Run the following command to download the prebuilt library

0 commit comments

Comments
 (0)