Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 541966

Summary: dev-lang/python should offer a profile-opt USE flag
Product: Gentoo Linux Reporter: octoploid <octoploid>
Component: [OLD] DevelopmentAssignee: Python Gentoo Team <python>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description octoploid 2015-03-03 07:53:02 UTC
Python upstream offers a "make profile-opt" target that automatically
first builds an instrumented version (with gcc's -fprofile-generate),
then runs some tests to train it and finally builds on optimized 
version with -fprofile-use.

Offering a use flag for this feature would be nice.
All recent gcc versions should work.

Reproducible: Always
Comment 1 Matt Turner gentoo-dev 2020-03-27 16:33:41 UTC
Marking this as a duplicate because the other bug has patches and more discussion.

*** This bug has been marked as a duplicate of bug 615412 ***