View previous topic :: View next topic |
Author |
Message |
pantherace Tux's lil' helper
Joined: 18 Mar 2003 Posts: 79
|
Posted: Sun Apr 20, 2003 5:15 pm Post subject: -fprofile-arcs and portage |
|
|
given how gentoo seems to be used by many for the optimizations (as well as nice things like ease of most everything, IMO)
What about adding a USE flag or something which causes portage to enable the -fprofile-arcs and then a few days later, using that data, remerge the program?
Alas, I don't know python, so i don't know how difficult it would be to do,and I am sure it could cause all sorts of problem.
Comments are hoped for. |
|
Back to top |
|
|
Gnufsh Guru
Joined: 28 Dec 2002 Posts: 400 Location: Portland, OR
|
Posted: Mon Apr 21, 2003 11:21 am Post subject: |
|
|
I've been contemplatig this, but I don't know anywhere near enough to impliment it. You would havve to copy the files generated by programs compiled with -fprofile-arcs back into the temporary directory when you compile with -fbranch-probabilities. It might be best implimented on a ebuild by ebuild basis, with a USE flag. |
|
Back to top |
|
|
Lovechild Advocate
Joined: 17 May 2002 Posts: 2858 Location: Århus, Denmark
|
Posted: Mon Apr 21, 2003 11:51 am Post subject: |
|
|
we have a FEATURE flag called keepwork and keeptemp which "should" keep the workdirs, so we can do this. |
|
Back to top |
|
|
|