mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
gh-90473: Increase stack size, disable obmalloc on WASI (GH-92732)
This commit is contained in:
parent
e371d5d5d1
commit
d81d57e959
5 changed files with 44 additions and 10 deletions
25
configure
generated
vendored
25
configure
generated
vendored
|
@ -7922,6 +7922,8 @@ $as_echo "#define _WASI_EMULATED_PROCESS_CLOCKS 1" >>confdefs.h
|
|||
LIBS="$LIBS -lwasi-emulated-signal -lwasi-emulated-getpid -lwasi-emulated-process-clocks"
|
||||
echo "#define _WASI_EMULATED_SIGNAL 1" >> confdefs.h
|
||||
|
||||
as_fn_append LDFLAGS_NODIST " -z stack-size=524288 -Wl,--stack-first -Wl,--initial-memory=10485760"
|
||||
|
||||
;; #(
|
||||
*) :
|
||||
;;
|
||||
|
@ -14231,19 +14233,26 @@ int domain = AF_INET6;
|
|||
_ACEOF
|
||||
if ac_fn_c_try_compile "$LINENO"; then :
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||
$as_echo "yes" >&6; }
|
||||
ipv6=yes
|
||||
|
||||
else
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||
$as_echo "no" >&6; }
|
||||
ipv6=no
|
||||
|
||||
fi
|
||||
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
||||
|
||||
case $ac_sys_system in #(
|
||||
WASI) :
|
||||
ipv6=no
|
||||
;; #(
|
||||
*) :
|
||||
;;
|
||||
esac
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ipv6" >&5
|
||||
$as_echo "$ipv6" >&6; }
|
||||
|
||||
if test "$ipv6" = "yes"; then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RFC2553 API is available" >&5
|
||||
$as_echo_n "checking if RFC2553 API is available... " >&6; }
|
||||
|
@ -14557,6 +14566,8 @@ then
|
|||
case $ac_sys_system in #(
|
||||
Emscripten) :
|
||||
with_pymalloc="no" ;; #(
|
||||
WASI) :
|
||||
with_pymalloc="no" ;; #(
|
||||
*) :
|
||||
with_pymalloc="yes"
|
||||
;;
|
||||
|
@ -22597,6 +22608,12 @@ case $ac_sys_system in #(
|
|||
;; #(
|
||||
WASI/*) :
|
||||
|
||||
|
||||
|
||||
py_cv_module__ctypes_test=n/a
|
||||
py_cv_module_=n/a
|
||||
|
||||
|
||||
;; #(
|
||||
*) :
|
||||
;;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue