Skip to content

Commit

Permalink
Update building-from-sources documentation to mention git submodules (p…
Browse files Browse the repository at this point in the history
…yodide#5220)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
hoodmane and pre-commit-ci[bot] authored Nov 24, 2024
1 parent 9e5e2ff commit 3122d94
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docs/development/building-from-sources.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3122d94

Please sign in to comment.