summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2024-03-13 23:25:50 (GMT)
committerGitHub <noreply@github.com>2024-03-13 23:25:50 (GMT)
commit8c094c3095feb4de2efebd00f67fb6cc3b2bc240 (patch)
tree3accc7eae8d308644eeeeb207398cb95ec99c236
parente39795f2cbad5375536f4be6b3c3906f457992bf (diff)
downloadcpython-8c094c3095feb4de2efebd00f67fb6cc3b2bc240.zip
cpython-8c094c3095feb4de2efebd00f67fb6cc3b2bc240.tar.gz
cpython-8c094c3095feb4de2efebd00f67fb6cc3b2bc240.tar.bz2
GH-115983: skip building shared modules for testing under WASI (GH-116528)
-rw-r--r--Misc/NEWS.d/next/Build/2024-03-08-17-05-15.gh-issue-115983.ZQqk0Q.rst1
-rwxr-xr-xconfigure6
-rw-r--r--configure.ac8
3 files changed, 15 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Build/2024-03-08-17-05-15.gh-issue-115983.ZQqk0Q.rst b/Misc/NEWS.d/next/Build/2024-03-08-17-05-15.gh-issue-115983.ZQqk0Q.rst
new file mode 100644
index 0000000..a8d3992
--- /dev/null
+++ b/Misc/NEWS.d/next/Build/2024-03-08-17-05-15.gh-issue-115983.ZQqk0Q.rst
@@ -0,0 +1 @@
+Skip building test modules that must be built as shared under WASI.
diff --git a/configure b/configure
index 267a518..9b40c48 100755
--- a/configure
+++ b/configure
@@ -28587,9 +28587,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
diff --git a/configure.ac b/configure.ac
index 681d081..02913ce 100644
--- a/configure.ac
+++ b/configure.ac
@@ -7398,11 +7398,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],
)
]
)