On Mon, Jan 21, 2013 at 10:56:28PM +0100, Mike Hommey wrote:
> On Tue, Jan 22, 2013 at 10:52:39AM +1300, Robert O'Callahan wrote:
> > Exactly what control do we have over what gets PGOed? In particular:
> > 
> > 1) Are we able to exclude particular object files or libraries from PGO
> > when we link libxul, reducing PGO memory usage for the final link? I think
> > you said "yes" on IRC.
> 
> Yes, we can disable PGO for given object files or entire subtrees
> (theoretically).

NO_PROFILE_GUIDED_OPTIMIZE=1 for some files or directories should do it.
Note it's now possible to inherit such configs in subdirectories instead
of adding them to each and every Makefile.in in the subtree: add them in
a defs.mk file in the topmost directory.

Mike
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to