mirror of
https://github.com/python/cpython
synced 2024-09-16 06:45:32 +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
|
@ -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__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_mmap=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
|
||||
|
||||
|
||||
|
|
|
@ -7300,11 +7300,19 @@ AS_CASE([$ac_sys_system],
|
|||
[Emscripten/node*], [],
|
||||
[WASI/*], [
|
||||
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(
|
||||
[_ctypes_test],
|
||||
[_testexternalinspection],
|
||||
[_testimportmultiple],
|
||||
[_testmultiphase],
|
||||
[_testsinglephase],
|
||||
[fcntl],
|
||||
[mmap],
|
||||
[termios],
|
||||
[xxlimited],
|
||||
[xxlimited_35],
|
||||
)
|
||||
]
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue