Skip to content

Commit 310f948

Browse files
Erlend Egeberg Aaslandtiran
Erlend Egeberg Aasland
andauthored
gh-95205: Improve wasm README (#95206)
Co-authored-by: Christian Heimes <[email protected]>
1 parent ea5ed0b commit 310f948

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Tools/wasm/README.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,20 @@ to a repository checkout.
2323
Christian Heimes maintains a container image with Emscripten SDK, Python
2424
build dependencies, WASI-SDK, wasmtime, and several additional tools.
2525

26+
From within your local CPython repo clone, run one of the following commands:
27+
2628
```
2729
# Fedora, RHEL, CentOS
28-
podman run --rm -ti -v $(pwd):/python-wasm/cpython:Z quay.io/tiran/cpythonbuild:emsdk3
30+
podman run --rm -ti -v $(pwd):/python-wasm/cpython:Z -w /python-wasm/cpython quay.io/tiran/cpythonbuild:emsdk3
2931
3032
# other
31-
docker run --rm -ti -v $(pwd):/python-wasm/cpython quay.io/tiran/cpythonbuild:emsdk3
33+
docker run --rm -ti -v $(pwd):/python-wasm/cpython -w /python-wasm/cpython quay.io/tiran/cpythonbuild:emsdk3
3234
```
3335

3436
### Compile a build Python interpreter
3537

38+
From within the container, run the following commands:
39+
3640
```shell
3741
mkdir -p builddir/build
3842
pushd builddir/build

0 commit comments

Comments
 (0)