Re: [TEST] make -j patch [take 2]

From: Ruslan Ermilov <ru_at_FreeBSD.org>
Date: Sat, 13 Nov 2004 09:40:00 +0200
On Fri, Nov 12, 2004 at 04:09:49PM -0800, Don Lewis wrote:
> On 12 Nov, Ruslan Ermilov wrote:
> 
> > "make universe" builds 6 worlds today.  By starting it with
> > "make -j12", you build 6 worlds in parallel, and another 6
> > jobs are made available for building these worlds.  When one
> > world finishes, 7 jobs will be available for building 5 other
> > worlds, etc.  This is fine as long as you're interested in
> > the final result of "make universe".
> > 
> > When testing a commit candidate change with "make universe",
> > I want to detect the breakage as early as possible.  This can
> > be achieved by building less worlds in parallel, and giving
> > more parallelism to individual world builds.  The overall
> > time of "make universe" won't change significantly.
> 
> Another interesting case would be to build some number of worlds in
> parallel, but not parallelize the build of any given world.  Doing it
> this way has the advantage of generating the log files in an unscrambled
> order so that the cause of any errors can be more easily determined from
> the log file.
> 
This was and is possible.

	make -j3 universe JFLAG=-B

Will build three worlds in parallel, each world with a single
job.


Cheers,
-- 
Ruslan Ermilov
ru_at_FreeBSD.org
FreeBSD committer

Received on Sat Nov 13 2004 - 06:40:02 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:22 UTC