From 0ff50cd550e3440ce35750051a8a58ee234e797b Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Mon, 10 Jun 2024 11:37:30 +0200 Subject: [PATCH] gh-120154: On WASI, don't build test modules On WASI, test modules, such as _testimportmultiple or xxlimited, are no longer built. --- .../Build/2024-06-10-11-42-13.gh-issue-120154.QL4kai.rst | 2 ++ configure | 6 ++++++ configure.ac | 6 ++++++ 3 files changed, 14 insertions(+) create mode 100644 Misc/NEWS.d/next/Build/2024-06-10-11-42-13.gh-issue-120154.QL4kai.rst diff --git a/Misc/NEWS.d/next/Build/2024-06-10-11-42-13.gh-issue-120154.QL4kai.rst b/Misc/NEWS.d/next/Build/2024-06-10-11-42-13.gh-issue-120154.QL4kai.rst new file mode 100644 index 00000000000000..1b5734dcf49f8d --- /dev/null +++ b/Misc/NEWS.d/next/Build/2024-06-10-11-42-13.gh-issue-120154.QL4kai.rst @@ -0,0 +1,2 @@ +On WASI, test modules, such as ``_testimportmultiple`` or ``xxlimited``, are no +longer built. Patch by Victor Stinner. diff --git a/configure b/configure index 9b400038b21d65..d151475f257a98 100755 --- 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 diff --git a/configure.ac b/configure.ac index 475a6140960d42..8f047cdf2136f4 100644 --- a/configure.ac +++ b/configure.ac @@ -7302,9 +7302,15 @@ AS_CASE([$ac_sys_system], dnl WASI SDK 15.0 does not support file locking, mmap, and more. PY_STDLIB_MOD_SET_NA( [_ctypes_test], + [_testexternalinspection], + [_testimportmultiple], + [_testmultiphase], + [_testsinglephase], [fcntl], [mmap], [termios], + [xxlimited], + [xxlimited_35], ) ] )