diff options
author | Zach van Rijn <me@zv.io> | 2022-01-11 14:32:28 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2022-05-01 17:05:43 -0500 |
commit | dacbd300cf451c07f4195083f52356e1ad4b8219 (patch) | |
tree | b7c293650ba813c3aff7467491a5593d0e366212 /system/python3/APKBUILD | |
parent | 5c5f97caca3c9a038732f2732f704d839665ef4e (diff) | |
download | packages-dacbd300cf451c07f4195083f52356e1ad4b8219.tar.gz packages-dacbd300cf451c07f4195083f52356e1ad4b8219.tar.bz2 packages-dacbd300cf451c07f4195083f52356e1ad4b8219.tar.xz packages-dacbd300cf451c07f4195083f52356e1ad4b8219.zip |
system/python3: increase stack size on ppc64. fixes #451.
Diffstat (limited to 'system/python3/APKBUILD')
-rw-r--r-- | system/python3/APKBUILD | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/system/python3/APKBUILD b/system/python3/APKBUILD index b3d971c8e..a4a44e6fb 100644 --- a/system/python3/APKBUILD +++ b/system/python3/APKBUILD @@ -95,7 +95,11 @@ build() { # set thread stack size to 1MB so we don't segfault before we hit # sys.getrecursionlimit() - make EXTRA_CFLAGS="$CFLAGS -DTHREAD_STACK_SIZE=0x100000" + stacksize=0x100000; + case "$CARCH" in + ppc64) stacksize=0x200000;; + esac + make EXTRA_CFLAGS="$CFLAGS -DTHREAD_STACK_SIZE=$stacksize" } check() { |