Skip to content
Snippets Groups Projects
Unverified Commit df95ad3d authored by Miss Islington (bot)'s avatar Miss Islington (bot) Committed by GitHub
Browse files

gh-95205: Improve wasm README (GH-95206)



Co-authored-by: default avatarChristian Heimes <christian@python.org>
(cherry picked from commit 310f9487)

Co-authored-by: default avatarErlend Egeberg Aasland <erlend.aasland@innova.no>
parent 3ec139fa
No related branches found
No related tags found
No related merge requests found
...@@ -23,16 +23,20 @@ ## wasm32-emscripten build ...@@ -23,16 +23,20 @@ ## wasm32-emscripten build
Christian Heimes maintains a container image with Emscripten SDK, Python Christian Heimes maintains a container image with Emscripten SDK, Python
build dependencies, WASI-SDK, wasmtime, and several additional tools. build dependencies, WASI-SDK, wasmtime, and several additional tools.
From within your local CPython repo clone, run one of the following commands:
``` ```
# Fedora, RHEL, CentOS # Fedora, RHEL, CentOS
podman run --rm -ti -v $(pwd):/python-wasm/cpython:Z quay.io/tiran/cpythonbuild:emsdk3 podman run --rm -ti -v $(pwd):/python-wasm/cpython:Z -w /python-wasm/cpython quay.io/tiran/cpythonbuild:emsdk3
# other # other
docker run --rm -ti -v $(pwd):/python-wasm/cpython quay.io/tiran/cpythonbuild:emsdk3 docker run --rm -ti -v $(pwd):/python-wasm/cpython -w /python-wasm/cpython quay.io/tiran/cpythonbuild:emsdk3
``` ```
### Compile a build Python interpreter ### Compile a build Python interpreter
From within the container, run the following commands:
```shell ```shell
mkdir -p builddir/build mkdir -p builddir/build
pushd builddir/build pushd builddir/build
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment