Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit df95ad3

Browse files
miss-islingtonErlend Egeberg Aasland
andauthored
gh-95205: Improve wasm README (GH-95206)
Co-authored-by: Christian Heimes <[email protected]> (cherry picked from commit 310f948) Co-authored-by: Erlend Egeberg Aasland <[email protected]>
1 parent 3ec139f commit df95ad3

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

Tools/wasm/README.md

Lines changed: 6 additions & 2 deletions
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)