Skip to content

Commit 94f4035

Browse files
committed
Drop last occurence of WASIX
1 parent 6dc0dbd commit 94f4035

File tree

3 files changed

+2
-10
lines changed

3 files changed

+2
-10
lines changed

Include/cpython/pthread_stubs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# define _POSIX_THREADS 1
1010
#endif
1111

12-
/* Minimal pthread stubs for CPython
12+
/* Minimal pthread stubs for CPython.
1313
*
1414
* The stubs implement the minimum pthread API for CPython.
1515
* - pthread_create() fails.

Tools/wasm/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,8 +232,7 @@ WASI builds require [WASI SDK](https://github.com/WebAssembly/wasi-sdk) 16.0+.
232232

233233
The script ``wasi-env`` sets necessary compiler and linker flags as well as
234234
``pkg-config`` overrides. The script assumes that WASI-SDK is installed in
235-
``/opt/wasi-sdk`` or ``$WASI_SDK_PATH`` and WASIX is installed in
236-
``/opt/wasix`` or ``$WASIX_PATH``.
235+
``/opt/wasi-sdk`` or ``$WASI_SDK_PATH``.
237236

238237
```shell
239238
mkdir -p builddir/wasi

Tools/wasm/wasi-env

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ fi
3131

3232
WASI_SDK_PATH="${WASI_SDK_PATH:-/opt/wasi-sdk}"
3333
WASI_SYSROOT="${WASI_SDK_PATH}/share/wasi-sysroot"
34-
WASIX_PATH="${WASIX_PATH:-/opt/wasix}"
3534

3635
if ! test -x "${WASI_SDK_PATH}/bin/clang"; then
3736
echo "Error: ${WASI_SDK_PATH}/bin/clang does not exist." >&2
@@ -65,12 +64,6 @@ PKG_CONFIG_PATH=""
6564
PKG_CONFIG_LIBDIR="${WASI_SYSROOT}/lib/pkgconfig:${WASI_SYSROOT}/share/pkgconfig"
6665
PKG_CONFIG_SYSROOT_DIR="${WASI_SYSROOT}"
6766

68-
# add WASIX (POSIX stubs for WASI) if WASIX is installed
69-
if test -f "${WASIX_PATH}/lib/libwasix.a"; then
70-
CFLAGS="${CFLAGS} -isystem ${WASIX_PATH}/include"
71-
LDFLAGS="${LDFLAGS} -L${WASIX_PATH}/lib -lwasix"
72-
fi
73-
7467
PATH="${WASI_SDK_PATH}/bin:${PATH}"
7568

7669
export WASI_SDK_PATH WASI_SYSROOT

0 commit comments

Comments
 (0)