Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Disable building test modules that requiredlopen() under WASI SDK 21 #115983

Closed
Labels
OS-wasibuildThe build process and cross-build
@brettcannon

Description

@brettcannon

_testimportmultiple,_testmultiphase,_testsinglephase,xxlimited,xxlimited_35 all get built under WASI SDK 21 thanks todlopen(), but since that function doesn't work normally under WASI we should skip building them.

cpython/configure.ac

Lines 7582 to 7593 in6087315

PY_STDLIB_MOD([_testimportmultiple],[test "$TEST_MODULES" = yes],[test "$ac_cv_func_dlopen" = yes])
PY_STDLIB_MOD([_testmultiphase],[test "$TEST_MODULES" = yes],[test "$ac_cv_func_dlopen" = yes])
PY_STDLIB_MOD([xxsubtype],[test "$TEST_MODULES" = yes])
PY_STDLIB_MOD([_xxtestfuzz],[test "$TEST_MODULES" = yes])
PY_STDLIB_MOD([_ctypes_test],
[test "$TEST_MODULES" = yes],[test "$have_libffi" = yes -a "$ac_cv_func_dlopen" = yes],
[],[$LIBM])
dnl Limited API template modules.
dnl Emscripten does not support shared libraries yet.
PY_STDLIB_MOD([xxlimited],[],[test "$ac_cv_func_dlopen" = yes])
PY_STDLIB_MOD([xxlimited_35],[],[test "$ac_cv_func_dlopen" = yes])

We could either updateTools/wasm/wasi.py to disable test modules, updateconfigure.ac so they don't get compiled under WASI, or see if we can get them compiled in statically.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    OS-wasibuildThe build process and cross-build

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp