-
-
Notifications
You must be signed in to change notification settings - Fork 31.7k
no PGO for built-in modules with make profile-opt
#70495
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
(related to issue bpo-24915)
The action
but, like I said, it's a kludge and it's POSIX-only (-print0 can be avoided since I believe it's guaranteed that there will be no whitespace-containing-filenames). Now, if this road is to be taken, I believe the most cross-platform method available to save the profile-generated files is to use a custom python script (at this point, the local profile-generating python executable is functional) and make a tar file, which will be untared back. However, I don't like it much. I'm willing to provide any necessary patches if someone gives me a "proper" roadmap as to how to handle this issue. |
Thank you for noticing and signaling this issue. Since I proposed the PGO patches, I will fix it in another patch, as I don't want it to break any builds. |
I've added a fix for the PGO builds after the issue pointed out by you. Can you please test it also? |
I've added the patch here also. |
Pinging here. Christos could you test the patch? |
New changeset 7d9cd4a0d488 by Gregory P. Smith in branch '3.5': New changeset bdc7292cf87e by Gregory P. Smith in branch 'default': |
New changeset 75dae0b2ccb3 by Gregory P. Smith in branch '2.7': |
My change means that the build/ directory tree exists but won't have any files other than *.gc?? files in it after a make clean. I doubt this will bother anyone. That felt better for clean than just avoiding the removal of build/ entirely. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: