On 11/27/12 2:35 PM, Gregory Szorc wrote:
I feel the build system should be as fast as possible by default - no
user action necessary. If you find that -j == # cores isn't providing
the fastest builds possible, please present your data and we'll change
the default value.

A gnumake flag that obsessive mozconfig tweakers may want to test is --load-average (-l).

You can specify a maximum load average to throttle the number of make -j jobs that are running simultaneously. You can specify a high -j to have many jobs available (e.g. 2 * # cores), but never run more than -l # cores.

https://www.gnu.org/software/make/manual/make.html#Parallel


chris p.

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

Reply via email to