[m-rev.] diff: improve parallel mmake support for building the compiler

Simon Taylor stayl at cs.mu.OZ.AU
Wed Nov 21 16:43:50 AEDT 2001


On 21-Nov-2001, Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
> On 02-Sep-2001, Simon Taylor <stayl at cs.mu.OZ.AU> wrote:
> > 
> > Estimated hours taken: 0.25
> > 
> > Mmakefile:
> > tests/Mmakefile:
> > tests/debugger/Mmakefile:
> > tests/general/Mmakefile:
> > tests/hard_coded/Mmakefile:
> > tests/invalid/Mmakefile:
> > 	Prefix commands which recursively invoke mmake with `+'.
> 
> Shouldn't that also be done in the toplevel `Makefile'?

The top-level Makefile passes the `-jn' option explicitly to mmake.
It would be possible to change it to use GNU make's jobserver (which
would allow users to type `make -j2' rather than `make PARALLEL=-j2'),
but that wouldn't work for older versions of GNU make.

Simon.
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list