]> granicus.if.org Git - python/commitdiff
Fixes issue26307: The profile-opt build now applys PGO to the built-in modules.
authorGregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) <greg@krypto.org>
Wed, 7 Sep 2016 01:05:59 +0000 (01:05 +0000)
committerGregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) <greg@krypto.org>
Wed, 7 Sep 2016 01:05:59 +0000 (01:05 +0000)
Makefile.pre.in
Misc/NEWS

index 3aafca892ab205daa3ee2f2e748bb6aae74109fe..484077582798615a34c3d152f816f22f0d37cd80 100644 (file)
@@ -1393,7 +1393,7 @@ clean: pycremoval
        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 {} ';'
index 1eae2bb0b2a2b5c39d5e3ed01235d2b774b3d2f6..423f5db90d69b7e9d2608696be2905c7d6eca0c1 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -10,6 +10,8 @@ What's New in Python 2.7.13?
 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.