From 089860dac0d15120466dc7d9e38041dbaae505eb Mon Sep 17 00:00:00 2001 From: Al Bailey Date: Wed, 28 Mar 2018 08:26:56 -0500 Subject: [PATCH] Make Python Faster --- SPECS/python.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/SPECS/python.spec b/SPECS/python.spec index 94adb05..36289ea 100644 --- a/SPECS/python.spec +++ b/SPECS/python.spec @@ -1301,6 +1301,8 @@ Patch306: 00306-fix-oserror-17-upon-semaphores-creation.patch # above: Patch5000: 05000-autotool-intermediates.patch +Patch9000: Rollup-optimization-commits.patch + # ====================================================== # Additional metadata, and subpackages # ====================================================== @@ -1719,6 +1721,7 @@ find -name "*~" |xargs rm -f %patch5000 -p0 -b .autotool-intermediates %endif +%patch9000 -p1 # ====================================================== # Configuring and building the code: @@ -1849,7 +1852,7 @@ BuildPython debug \ BuildPython optimized \ python \ python%{pybasever} \ - "" \ + "--enable-optimizations --with-computed-gotos" \ true -- 2.7.4