[TEST] make -j patch [take 2]
Ruslan Ermilov
ru at FreeBSD.org
Fri Nov 12 23:40:02 PST 2004
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20041113/444b7c35/attachment.bin
More information about the freebsd-current
mailing list