]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fixes issue26307: The profile-opt build now applys PGO to the built-in
authorGregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) <greg@krypto.org>
Tue, 6 Sep 2016 23:56:54 +0000 (23:56 +0000)
committerGregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) <greg@krypto.org>
Tue, 6 Sep 2016 23:56:54 +0000 (23:56 +0000)
modules.

Makefile.pre.in
Misc/NEWS

index c9aa13a7a0d98dfec52da83c7c9ea4aa2fc61877..f07c282822913570c6ef9c2c01c18c562ef681eb 100644 (file)
@@ -1595,7 +1595,7 @@ clean: pycremoval
        -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 {} ';'
index 816e426bcbfd64ccedc165f6e009859459ab7b56..7c62a15bd834c63edf62ea1eed6dccf36f1b6374 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -10,6 +10,8 @@ Release date: TBA
 Core and Builtins
 -----------------
 
+- Issue #26307: The profile-opt build now applys PGO to the built-in modules.
+
 - Issue #27812: Properly clear out a generator's frame's backreference to the
   generator to prevent crashes in frame.clear().