[Python-checkins] cpython (merge 3.5 -> default): 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 19:58:41 EDT 2016


https://hg.python.org/cpython/rev/bdc7292cf87e
changeset:   103176:bdc7292cf87e
parent:      103174:8b56a2c71250
parent:      103175:7d9cd4a0d488
user:        Gregory P. Smith <greg at krypto.org> [Google Inc.]
date:        Tue Sep 06 23:58:32 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
@@ -1593,7 +1593,7 @@
 	-rm -f pybuilddir.txt
 	-rm -f Lib/lib2to3/*Grammar*.pickle
 	-rm -f Programs/_testembed Programs/_freeze_importlib
-	-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 #27078: Added BUILD_STRING opcode.  Optimized f-strings evaluation.
 
 - Issue #17884: Python now requires systems with inttypes.h and stdint.h

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


More information about the Python-checkins mailing list