summaryrefslogtreecommitdiff
path: root/core/python/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-12-27 17:12:43 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2021-12-27 17:12:43 +0100
commit89f571b2713a6dd71000d74e30f99cc2dfbcde5c (patch)
tree2b50705b9582827c92f5169a0dfc9ce02d9c4fb0 /core/python/PKGBUILD
parentc9c3c5d1b0db46ae3a88471a1d3d3c4377833ca8 (diff)
downloadpackages-89f571b2713a6dd71000d74e30f99cc2dfbcde5c.tar.xz
core/python: building again for a bootstrapping version
Diffstat (limited to 'core/python/PKGBUILD')
-rw-r--r--core/python/PKGBUILD20
1 files changed, 20 insertions, 0 deletions
diff --git a/core/python/PKGBUILD b/core/python/PKGBUILD
index 1880d300..a15bcc7c 100644
--- a/core/python/PKGBUILD
+++ b/core/python/PKGBUILD
@@ -51,3 +51,23 @@ eval "$(
/-uall/ s/;\?$/ -x test_posix -x test_gdb -x test_socket -x test_cmath -x test_math -x test_turtle \\|\\| true/g
"
)"
+
+# enable ensurepip
+eval "$(
+ declare -f build | \
+ sed "
+ s/--without-ensurepip/--with-ensurepip/
+ "
+)"
+
+# LTO, PDO takes too long
+eval "$(
+ declare -f build | \
+ sed "
+ s/--with-lto/--without-lto/
+ s/--enable-optimizations/--disable-optimizations/
+ "
+)"
+
+# for now disable testing
+unset check