-
Notifications
You must be signed in to change notification settings - Fork 96
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
-fipa-pta
drastically increases compilation time
#854
Comments
What -fipa-pta does: |
@TheMBL09898 Thanks, but I feel that doesn't answer the question I was asking. |
Has this option been benchmarked? If the compilation times are hit so hard it better give a significant performance boost. |
Maybe you should disable the flag with package.cflags for the packages that are giving you trouble.
But if it were me I'd just leave it on and perform the compilation overnight, as it supposedly "improves performance". |
I just compiled renderdoc-1.20-r1 with the default parameters from gentooLTO in less than 2 minutes. |
@mccarverone did you enable qt and python in the use flags? |
Now I did and it actually did fail compiling at [283/288]. |
Looks like cc1plus ate too much memory. Does it compile without |
Yes it does. So |
@mccarverone i am more wondering if |
Can't answer about that, sorry |
I noticed this when building renderdoc. With
-fipa-pta
, the build lasted more than 8 hours, and I had to interrupt it. Without it, the build finished in a couple of minutes.There are other examples, not as dramatic, usually it's single digit minutes -> half an hour-ish.
How much does
-fipa-pta
help performance? Is it worthwhile?The text was updated successfully, but these errors were encountered: