FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[2.7] bpo-29243: Fix Makefile with respect to --enable-optimizations … by torsava · Pull Request #1522 · python/cpython · GitHub

Repository navigation

[2.7] bpo-29243: Fix Makefile with respect to --enable-optimizations … - #1522

Merged
vstinner merged 1 commit into
python:2.7from
torsava:backport-a1054c3-2.7
May 9, 2017
Merged

vstinner merged 1 commit into
python:2.7from
torsava:backport-a1054c3-2.7

Conversation

torsava commented May 9, 2017

Copy link
Copy Markdown
Contributor

…(GH-1478)

  • bpo-29243: Fix Makefile with respect to --enable-optimizations

When using the Profile Guided Optimization (./configure --enable-optimizations)
Python is built not only during make but rebuilt again during make test,
make install and others. This patch fixes the issue.

Note that this fix produces no change at all in the Makefile if configure is
run witout --enable-optimizations.

  • !squash.
    (cherry picked from commit a1054c3)

…ythonGH-1478)

* bpo-29243: Fix Makefile with respect to --enable-optimizations

When using the Profile Guided Optimization (./configure --enable-optimizations)
Python is built not only during `make` but rebuilt again during `make test`,
`make install` and others. This patch fixes the issue.

Note that this fix produces no change at all in the Makefile if configure is
run witout --enable-optimizations.

* !squash.
(cherry picked from commit a1054c3)

torsava commented May 9, 2017

Copy link
Copy Markdown
Contributor Author

Differences with the 3.x branch:

  • memtest: also got @DEF_MAKE_RULE@ instead of all
  • patchcheck: does not have all in the prerequisites, so it was net changed

vstinner merged commit a473a73 into python:2.7 May 9, 2017

vstinner commented May 9, 2017

Copy link
Copy Markdown
Member

Thank you! It seems like the bug is now fixed in all maintained branches!

torsava commented May 9, 2017

Copy link
Copy Markdown
Contributor Author

I believe so. Thanks for the help!

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL