Skip to content

Commit

Permalink
[3.12] pythonGH-115983: skip building shared modules for testing unde…
Browse files Browse the repository at this point in the history
…r WASI (pythonGH-116528) (python#120316)

pythonGH-115983: skip building shared modules for testing under WASI (pythonGH-116528)
(cherry picked from commit 8c094c3)

Co-authored-by: Brett Cannon <brett@python.org>
  • Loading branch information
miss-islington and brettcannon authored Jun 10, 2024
1 parent 7545b7c commit a9f2daf
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Skip building test modules that must be built as shared under WASI.
6 changes: 6 additions & 0 deletions configure

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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],
)
]
)
Expand Down

0 comments on commit a9f2daf

Please sign in to comment.