diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-06-24 11:17:21 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-24 11:17:21 (GMT) |
commit | 4d2c972ff7d84ec75b23dcdda478714655538d34 (patch) | |
tree | 990b168b89315824f42b5679510b33be4c68bb2c /configure | |
parent | e4d72d1863fa846f984c4e8f1ace937a30e11bf4 (diff) | |
download | cpython-4d2c972ff7d84ec75b23dcdda478714655538d34.zip cpython-4d2c972ff7d84ec75b23dcdda478714655538d34.tar.gz cpython-4d2c972ff7d84ec75b23dcdda478714655538d34.tar.bz2 |
gh-84461: Fix ctypes and test_ctypes on Emscripten (GH-94142)
- c_longlong and c_longdouble need experimental WASM bigint.
- Skip tests that need threading
- Define ``CTYPES_MAX_ARGCOUNT`` for Emscripten. libffi-emscripten 2022-06-23 supports up to 1000 args.
(cherry picked from commit 8625802d854ec0152177a6ff0ac092e0e3ff98a5)
Co-authored-by: Christian Heimes <christian@python.org>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -6775,13 +6775,11 @@ then case $ac_sys_system/$ac_sys_emscripten_target in #( Emscripten/node*) : + # bigint for ctypes c_longlong, c_longdouble + HOSTRUNNER="node --experimental-wasm-bigint" if test "x$enable_wasm_pthreads" = xyes; then : - HOSTRUNNER='node --experimental-wasm-threads --experimental-wasm-bulk-memory' - -else - - HOSTRUNNER='node' + HOSTRUNNER="$HOSTRUNNER --experimental-wasm-threads --experimental-wasm-bulk-memory" fi ;; #( |