> From: Paul Smith <psm...@gnu.org>
> Date: Fri, 14 Dec 2012 09:59:31 -0500
> Cc: "Bug-make@gnu.org" <Bug-make@gnu.org>
> 
> This basically says that if you use "-j" with no arguments, make will
> run as many jobs as the _makefile_ allows (defined by your prerequisite
> rules).  It pays no attention to the limits of your system.
> 
> So in an environment (like the Linux kernel) where there are tons of
> source files that need to be compiled and they do not depend on each
> other, using "-j" with no limit means make will attempt to fork all of
> them at the same time.  That could be, in a large codebase, 100's of
> compiles all trying to run at the same time.

Does it even make sense to use -j with no arguments?  Should we
perhaps remove that possibility, or have some internal sane limit,
like twice the number of cores, say?

_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to