[Python-checkins] cpython (2.7): Fixes issue26307: The profile-opt build now applys PGO to the built-in modules.

gregory.p.smith python-checkins at python.org
Tue Sep 6 21:06:19 EDT 2016


https://hg.python.org/cpython/rev/75dae0b2ccb3
changeset:   103193:75dae0b2ccb3
branch:      2.7
parent:      103189:ec537f9f468f
user:        Gregory P. Smith <greg at krypto.org> [Google Inc.]
date:        Wed Sep 07 01:05:59 2016 +0000
summary:
  Fixes issue26307: The profile-opt build now applys PGO to the built-in modules.

files:
  Makefile.pre.in |  2 +-
  Misc/NEWS       |  2 ++
  2 files changed, 3 insertions(+), 1 deletions(-)


diff --git a/Makefile.pre.in b/Makefile.pre.in
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -1393,7 +1393,7 @@
 	find build -name 'fficonfig.h' -exec rm -f {} ';' || true
 	find build -name 'fficonfig.py' -exec rm -f {} ';' || true
 	-rm -f Lib/lib2to3/*Grammar*.pickle
-	-rm -rf build
+	-find build -type f -a ! -name '*.gc??' -exec rm -f {} ';'
 
 profile-removal:
 	find . -name '*.gc??' -exec rm -f {} ';'
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -10,6 +10,8 @@
 Core and Builtins
 -----------------
 
+- Issue #26307: The profile-opt build now applys PGO to the built-in modules.
+
 - Issue #27870: A left shift of zero by a large integer no longer attempts
   to allocate large amounts of memory.
 

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list