Skip to content

Commit a3bc2f1

Browse files
authored
Add editable mode in Building from source file (#8882)
* Add editable mode in Building from source file * Update using-executorch-building-from-source.md
1 parent 40e80e4 commit a3bc2f1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,14 @@ portability details.
8080
./install_executorch.sh --pybind off
8181
```
8282

83+
For development, install the package in `--editable` mode, which allows to modify Python source code and see changes reflected immediately.
84+
```
85+
./install_executorch.sh --editable [--pybind xnnpack]
86+
87+
# Or you can directly do the following if dependencies are already installed.
88+
pip install -e .
89+
```
90+
8391
> **_NOTE:_** Cleaning the build system
8492
>
8593
> When fetching a new version of the upstream repo (via `git fetch` or `git

0 commit comments

Comments
 (0)