diff options
author | atomlong | 2021-08-28 11:19:04 +0800 |
---|---|---|
committer | atomlong | 2021-08-28 13:15:13 +0800 |
commit | 89a67c05174951d172252b1db96ff93cc4ec4bcd (patch) | |
tree | d8c39fa79b201cf9aea28c51e7446a252ed8fee4 /0102-squash-CI-use-O2.patch | |
parent | cf8d8d8771493a2aa8370ed323d06dc733a84181 (diff) | |
download | aur-89a67c05174951d172252b1db96ff93cc4ec4bcd.tar.gz |
Update to 3.9.6
Diffstat (limited to '0102-squash-CI-use-O2.patch')
-rw-r--r-- | 0102-squash-CI-use-O2.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/0102-squash-CI-use-O2.patch b/0102-squash-CI-use-O2.patch new file mode 100644 index 000000000000..0814327e35d7 --- /dev/null +++ b/0102-squash-CI-use-O2.patch @@ -0,0 +1,30 @@ +From 16dd9f42f911def97236f58be72d6d6aa023373e Mon Sep 17 00:00:00 2001 +From: Christoph Reiter <reiter.christoph@gmail.com> +Date: Fri, 2 Jul 2021 15:01:54 +0200 +Subject: [PATCH 102/N] [squash] CI: use -O2 + +Without optimizations the stack size increases and tests start to fail +with stack overflow (this is a known problem upstream https://bugs.python.org/issue43271) + +Either we enforce -O2 or we increase the stack size. + +Needs to be merged into the CI setup +--- + .github/workflows/mingw.yml | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/.github/workflows/mingw.yml b/.github/workflows/mingw.yml +index fff5fa5..8486bb4 100644 +--- a/.github/workflows/mingw.yml ++++ b/.github/workflows/mingw.yml +@@ -52,6 +52,7 @@ jobs: + set -ex + pkgver='3.9.5' + _pybasever='3.9' ++ CFLAGS="-O2" + + PREFIX_WIN=$(cygpath -wm ${MINGW_PREFIX}) + if [ ${{ matrix.msystem }} == "CLANG64" ] +-- +2.32.0 + |