summaryrefslogtreecommitdiffstats
path: root/Tools/wasm/README.md
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2022-07-27 13:30:36 (GMT)
committerGitHub <noreply@github.com>2022-07-27 13:30:36 (GMT)
commit2833f3798dc3647e850b303a4d0fa00609a0ae9b (patch)
tree500348e1b6a18d1f9b81eeb259a9e4605f66f517 /Tools/wasm/README.md
parent2361908a9d5553102f2b2294af44852a76d2ab03 (diff)
downloadcpython-2833f3798dc3647e850b303a4d0fa00609a0ae9b.zip
cpython-2833f3798dc3647e850b303a4d0fa00609a0ae9b.tar.gz
cpython-2833f3798dc3647e850b303a4d0fa00609a0ae9b.tar.bz2
gh-95174: Move WASIX logic into wasi-env (GH-95320)
wasi-env now sets WASIX flags. This allows us to control all build parameter for wasm32-wasi buildbot from CPython repository. Also export and improve SYSROOT parameter.
Diffstat (limited to 'Tools/wasm/README.md')
-rw-r--r--Tools/wasm/README.md5
1 files changed, 2 insertions, 3 deletions
diff --git a/Tools/wasm/README.md b/Tools/wasm/README.md
index 37bd395..d08e807 100644
--- a/Tools/wasm/README.md
+++ b/Tools/wasm/README.md
@@ -234,15 +234,14 @@ compatibility stubs.
The script ``wasi-env`` sets necessary compiler and linker flags as well as
``pkg-config`` overrides. The script assumes that WASI-SDK is installed in
-``/opt/wasi-sdk`` or ``$WASI_SDK_PATH``.
+``/opt/wasi-sdk`` or ``$WASI_SDK_PATH`` and WASIX is installed in
+``/opt/wasix`` or ``$WASIX_PATH``.
```shell
mkdir -p builddir/wasi
pushd builddir/wasi
CONFIG_SITE=../../Tools/wasm/config.site-wasm32-wasi \
- CFLAGS="-isystem /opt/wasix/include" \
- LDFLAGS="-L/opt/wasix/lib -lwasix" \
../../Tools/wasm/wasi-env ../../configure -C \
--host=wasm32-unknown-wasi \
--build=$(../../config.guess) \