Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
-fprofile-arcs and portage
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
pantherace
Tux's lil' helper
Tux's lil' helper


Joined: 18 Mar 2003
Posts: 79

PostPosted: Sun Apr 20, 2003 5:15 pm    Post subject: -fprofile-arcs and portage Reply with quote

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
View user's profile Send private message
Gnufsh
Guru
Guru


Joined: 28 Dec 2002
Posts: 400
Location: Portland, OR

PostPosted: Mon Apr 21, 2003 11:21 am    Post subject: Reply with quote

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
View user's profile Send private message
Lovechild
Advocate
Advocate


Joined: 17 May 2002
Posts: 2858
Location: Århus, Denmark

PostPosted: Mon Apr 21, 2003 11:51 am    Post subject: Reply with quote

we have a FEATURE flag called keepwork and keeptemp which "should" keep the workdirs, so we can do this.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum