mirror of
https://github.com/python/cpython.git
synced 2025-09-25 17:59:57 +00:00
[3.12] GH-115983: skip building shared modules for testing under WASI (GH-116528) (#120316)
GH-115983: skip building shared modules for testing under WASI (GH-116528)
(cherry picked from commit 8c094c3095
)
Co-authored-by: Brett Cannon <brett@python.org>
This commit is contained in:
parent
7545b7cb63
commit
a9f2daf1ab
3 changed files with 15 additions and 0 deletions
|
@ -0,0 +1 @@
|
||||||
|
Skip building test modules that must be built as shared under WASI.
|
6
configure
generated
vendored
6
configure
generated
vendored
|
@ -28646,9 +28646,15 @@ case $ac_sys_system in #(
|
||||||
|
|
||||||
|
|
||||||
py_cv_module__ctypes_test=n/a
|
py_cv_module__ctypes_test=n/a
|
||||||
|
py_cv_module__testexternalinspection=n/a
|
||||||
|
py_cv_module__testimportmultiple=n/a
|
||||||
|
py_cv_module__testmultiphase=n/a
|
||||||
|
py_cv_module__testsinglephase=n/a
|
||||||
py_cv_module_fcntl=n/a
|
py_cv_module_fcntl=n/a
|
||||||
py_cv_module_mmap=n/a
|
py_cv_module_mmap=n/a
|
||||||
py_cv_module_termios=n/a
|
py_cv_module_termios=n/a
|
||||||
|
py_cv_module_xxlimited=n/a
|
||||||
|
py_cv_module_xxlimited_35=n/a
|
||||||
py_cv_module_=n/a
|
py_cv_module_=n/a
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -7300,11 +7300,19 @@ AS_CASE([$ac_sys_system],
|
||||||
[Emscripten/node*], [],
|
[Emscripten/node*], [],
|
||||||
[WASI/*], [
|
[WASI/*], [
|
||||||
dnl WASI SDK 15.0 does not support file locking, mmap, and more.
|
dnl WASI SDK 15.0 does not support file locking, mmap, and more.
|
||||||
|
dnl Test modules that must be compiled as shared libraries are not supported
|
||||||
|
dnl (see Modules/Setup.stdlib.in).
|
||||||
PY_STDLIB_MOD_SET_NA(
|
PY_STDLIB_MOD_SET_NA(
|
||||||
[_ctypes_test],
|
[_ctypes_test],
|
||||||
|
[_testexternalinspection],
|
||||||
|
[_testimportmultiple],
|
||||||
|
[_testmultiphase],
|
||||||
|
[_testsinglephase],
|
||||||
[fcntl],
|
[fcntl],
|
||||||
[mmap],
|
[mmap],
|
||||||
[termios],
|
[termios],
|
||||||
|
[xxlimited],
|
||||||
|
[xxlimited_35],
|
||||||
)
|
)
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue