]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] GH-115983: skip building shared modules for testing under WASI (GH-116528...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 10 Jun 2024 13:27:04 +0000 (15:27 +0200)
committerGitHub <noreply@github.com>
Mon, 10 Jun 2024 13:27:04 +0000 (13:27 +0000)
GH-115983: skip building shared modules for testing under WASI (GH-116528)
(cherry picked from commit 8c094c3095feb4de2efebd00f67fb6cc3b2bc240)

Co-authored-by: Brett Cannon <brett@python.org>
Misc/NEWS.d/next/Build/2024-03-08-17-05-15.gh-issue-115983.ZQqk0Q.rst [new file with mode: 0644]
configure
configure.ac

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 (file)
index 0000000..a8d3992
--- /dev/null
@@ -0,0 +1 @@
+Skip building test modules that must be built as shared under WASI.
index 9b400038b21d65b1e88546b54e11e0f66f666a92..d151475f257a98f751aa337e10bf158621b97a7f 100755 (executable)
--- a/configure
+++ b/configure
@@ -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
 
 
index 475a6140960d42cde7005b9f5e8f25581274b193..6df37e29f922dcf5b71a110de52a0a165a547768 100644 (file)
@@ -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],
         )
       ]
     )