You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Disable building test modules that require dlopen() under WASI SDK 21 #115983
_testimportmultiple, _testmultiphase, _testsinglephase, xxlimited, xxlimited_35 all get built under WASI SDK 21 thanks to dlopen(), but since that function doesn't work normally under WASI we should skip building them.
We could either update Tools/wasm/wasi.py to disable test modules, update configure.ac so they don't get compiled under WASI, or see if we can get them compiled in statically.
Activity
brettcannon commentedon Mar 5, 2024
Might be easiest to set
--disable-test-modules, otherwise for the other modules we need to statically compile the modules.erlend-aasland commentedon Mar 5, 2024
Related:
--disable-test-modulesis supplied #116303brettcannon commentedon Mar 8, 2024
Maybe add a test for WASI?
brettcannon commentedon Mar 8, 2024
The modules we should probably skip building under WASI as they must be built as shared modules:
cpython/Modules/Setup.stdlib.in
Lines 170 to 180 in c951e25
pythonGH-115983: skip building shared modules for testing under WASI
GH-115983: skip building shared modules for testing under WASI (GH-11…
pythonGH-115983: skip building shared modules for testing under WASI (p…
pythonGH-115983: skip building shared modules for testing under WASI (p…
pythonGH-115983: skip building shared modules for testing under WASI (p…
pythonGH-115983: skip building shared modules for testing under WASI (p…
[3.12] GH-115983: skip building shared modules for testing under WASI (…