Skip to content

Commit ed3d972

Browse files
authored
Add building from source entry in docs (#1181)
## Description Updates the docs by adding a brief section about building from source, pointing out submodule initialization as an important step. ### Introduces a breaking change? - [ ] Yes - [x] No ### Type of change - [ ] Bug fix (change which fixes an issue) - [ ] New feature (change which adds functionality) - [x] Documentation update (improves or adds clarity to existing documentation) - [ ] Other (chores, tests, code style improvements etc.) ### Tested on - [ ] iOS - [ ] Android ### Testing instructions <!-- Provide step-by-step instructions on how to test your changes. Include setup details if necessary. --> ### Screenshots <!-- Add screenshots here, if applicable --> ### Related issues <!-- Link related issues here using #issue-number --> ### Checklist - [ ] I have performed a self-review of my code - [ ] I have commented my code, particularly in hard-to-understand areas - [x] I have updated the documentation accordingly - [ ] My changes generate no new warnings ### Additional notes <!-- Include any additional information, assumptions, or context that reviewers might need to understand this PR. -->
1 parent 7b592c2 commit ed3d972

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

docs/docs/01-fundamentals/01-getting-started.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,19 @@ Running the app with the library:
184184
</TabItem>
185185
</Tabs>
186186

187+
## Building from source
188+
189+
To build the library from source instead, clone the repository and initialize submodules:
190+
191+
```bash
192+
git clone -b release/0.9 https://github.com/software-mansion/react-native-executorch.git
193+
cd react-native-executorch
194+
195+
git submodule update --init --recursive packages/react-native-executorch/third-party/common
196+
197+
yarn
198+
```
199+
187200
## Supporting new models in React Native ExecuTorch
188201

189202
Adding new functionality to the library follows a consistent three-step integration pipeline:

0 commit comments

Comments
 (0)