mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
gh-120507: Double WASI memory (#120648)
Use 16 MiB stack with 40 MiB memory limit, instead of 8 MiB stack with 20 MiB memory limit.
This commit is contained in:
parent
0506f75c53
commit
6acf7776ef
4 changed files with 8 additions and 9 deletions
4
configure
generated
vendored
4
configure
generated
vendored
|
|
@ -7758,7 +7758,7 @@ then :
|
|||
fi
|
||||
;; #(
|
||||
WASI/*) :
|
||||
HOSTRUNNER='wasmtime run --wasm max-wasm-stack=8388608 --wasi preview2 --env PYTHONPATH=/$(shell realpath --relative-to $(abs_srcdir) $(abs_builddir))/$(shell cat pybuilddir.txt):/Lib --dir $(srcdir)::/' ;; #(
|
||||
HOSTRUNNER='wasmtime run --wasm max-wasm-stack=16777216 --wasi preview2 --env PYTHONPATH=/$(shell realpath --relative-to $(abs_srcdir) $(abs_builddir))/$(shell cat pybuilddir.txt):/Lib --dir $(srcdir)::/' ;; #(
|
||||
*) :
|
||||
HOSTRUNNER=''
|
||||
;;
|
||||
|
|
@ -9560,7 +9560,7 @@ then :
|
|||
|
||||
fi
|
||||
|
||||
as_fn_append LDFLAGS_NODIST " -z stack-size=8388608 -Wl,--stack-first -Wl,--initial-memory=20971520"
|
||||
as_fn_append LDFLAGS_NODIST " -z stack-size=16777216 -Wl,--stack-first -Wl,--initial-memory=41943040"
|
||||
|
||||
;; #(
|
||||
*) :
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue