File tree 3 files changed +2
-10
lines changed 3 files changed +2
-10
lines changed Original file line number Diff line number Diff line change 9
9
# define _POSIX_THREADS 1
10
10
#endif
11
11
12
- /* Minimal pthread stubs for CPython
12
+ /* Minimal pthread stubs for CPython.
13
13
*
14
14
* The stubs implement the minimum pthread API for CPython.
15
15
* - pthread_create() fails.
Original file line number Diff line number Diff line change @@ -232,8 +232,7 @@ WASI builds require [WASI SDK](https://github.com/WebAssembly/wasi-sdk) 16.0+.
232
232
233
233
The script `` wasi-env `` sets necessary compiler and linker flags as well as
234
234
`` 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 `` .
237
236
238
237
``` shell
239
238
mkdir -p builddir/wasi
Original file line number Diff line number Diff line change 31
31
32
32
WASI_SDK_PATH=" ${WASI_SDK_PATH:-/ opt/ wasi-sdk} "
33
33
WASI_SYSROOT=" ${WASI_SDK_PATH} /share/wasi-sysroot"
34
- WASIX_PATH=" ${WASIX_PATH:-/ opt/ wasix} "
35
34
36
35
if ! test -x " ${WASI_SDK_PATH} /bin/clang" ; then
37
36
echo " Error: ${WASI_SDK_PATH} /bin/clang does not exist." >&2
@@ -65,12 +64,6 @@ PKG_CONFIG_PATH=""
65
64
PKG_CONFIG_LIBDIR=" ${WASI_SYSROOT} /lib/pkgconfig:${WASI_SYSROOT} /share/pkgconfig"
66
65
PKG_CONFIG_SYSROOT_DIR=" ${WASI_SYSROOT} "
67
66
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
-
74
67
PATH=" ${WASI_SDK_PATH} /bin:${PATH} "
75
68
76
69
export WASI_SDK_PATH WASI_SYSROOT
You can’t perform that action at this time.
0 commit comments