Skip to content

Commit 719114a

Browse files
kirklandsignfacebook-github-bot
authored andcommitted
Update instructions for build types (#6995)
Summary: Pull Request resolved: #6995 User can use `export EXECUTORCH_CMAKE_BUILD_TYPE=Debug` Reviewed By: helunwencser Differential Revision: D64795144
1 parent 711f1c2 commit 719114a

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
@@ -158,6 +158,8 @@ This is running the shell script which configures the required core ExecuTorch,
158158

159159
**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.
160160

161+
**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`.
162+
161163
### Alternative: Use prebuilt AAR library
162164
1. Open a terminal window and navigate to the root directory of the executorch.
163165
2. Run the following command to download the prebuilt library

0 commit comments

Comments
 (0)