mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
gh-71052: Add Android build script and instructions (#116426)
This commit is contained in:
parent
50f9b0b1e0
commit
3ec57307e7
7 changed files with 401 additions and 17 deletions
|
|
@ -211,6 +211,10 @@ struct _ts {
|
|||
# define Py_C_RECURSION_LIMIT 800
|
||||
#elif defined(_WIN32)
|
||||
# define Py_C_RECURSION_LIMIT 3000
|
||||
#elif defined(__ANDROID__)
|
||||
// On an ARM64 emulator, API level 34 was OK with 10000, but API level 21
|
||||
// crashed in test_compiler_recursion_limit.
|
||||
# define Py_C_RECURSION_LIMIT 3000
|
||||
#elif defined(_Py_ADDRESS_SANITIZER)
|
||||
# define Py_C_RECURSION_LIMIT 4000
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue