Skip to content

Commit 57b9ae1

Browse files
committed
fix building from source
1 parent 412b93b commit 57b9ae1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/source/using-executorch-building-from-source.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Or alternatively, [install conda on your machine](https://conda.io/projects/cond
6363
./install_executorch.sh
6464
```
6565

66-
Use the [`--pybind` flag](https://github.com/pytorch/executorch/blob/main/install_executorch.sh#L26-L29) to install with pybindings and dependencies for other backends.
66+
Use the [`--pybind` flag](https://github.com/pytorch/executorch/blob/release/0.6/install_executorch.sh#L26-L29) to install with pybindings and dependencies for other backends.
6767
```bash
6868
./install_executorch.sh --pybind <coreml | mps | xnnpack>
6969

@@ -166,7 +166,7 @@ To further optimize the release build for size, use both:
166166
-DOPTIMIZE_SIZE=ON
167167
```
168168
169-
See [CMakeLists.txt](https://github.com/pytorch/executorch/blob/main/CMakeLists.txt)
169+
See [CMakeLists.txt](https://github.com/pytorch/executorch/blob/release/0.6/CMakeLists.txt)
170170
171171
### Build the runtime components
172172
@@ -230,7 +230,7 @@ Assuming Android NDK is available, run:
230230
mkdir cmake-android-out && cd cmake-android-out
231231
232232
# point -DCMAKE_TOOLCHAIN_FILE to the location where ndk is installed
233-
cmake -DCMAKE_TOOLCHAIN_FILE=/Users/{user_name}/Library/Android/sdk/ndk/27.2.12479018/build/cmake/android.toolchain.cmake -DANDROID_ABI=arm64-v8a ..
233+
cmake -DCMAKE_TOOLCHAIN_FILE=$ANDROID_NDK/build/cmake/android.toolchain.cmake -DANDROID_ABI=arm64-v8a ..
234234
235235
cd ..
236236
cmake --build cmake-android-out -j9

0 commit comments

Comments
 (0)