Update building-from-sources documentation to mention git submodules (#5220)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
Hood Chatham 2024-11-24 07:17:01 +01:00 committed by GitHub
parent 9e5e2ff089
commit 3122d9465a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 17 additions and 0 deletions

View File

@ -24,6 +24,23 @@ Pyodide can be built from sources on different platforms,
## Build instructions
The Pyodide repository has a git submodule called `pyodide-build`. Make sure to
do a recursive clone:
```bash
git clone --recursive https://github.com/pyodide/pyodide
```
or if you have already cloned the Pyodide repository without the `--recursive`
flag, you may initialize the submodule with:
```bash
git submodule update --init
```
If you change git branches, make sure you update `pyodide-build` with
`git submodule update`.
### Using Docker
We provide a Debian-based x86_64 Docker image