gh-71052: Add Android build script and instructions (#116426)

This commit is contained in:
Malcolm Smith 2024-03-21 23:52:29 +00:00 • committed by GitHub
parent 50f9b0b1e0
commit 3ec57307e7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 401 additions and 17 deletions

View file

@ -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