[distcc] .ORDER or similar support in distcc

Martin Pool mbp at sourcefrog.net
Sun Jan 4 01:36:06 GMT 2004


On  2 Jan 2004, Ralf Beckers <ralf.beckers at chipvision.com> wrote:
> Ahoi,
> 
> we have a task (in a huge collection of hierachical Makefiles), which cannot
> be parallelized. Previously we used pmake on solaris, but our development
> shifted to linux some time ago. Now I'm playing with ccache and distcc to
> gaim some speed :)
> 
> With pmake we used the .ORDER feature in Makefiles to specify the order of
> some targets. How can this be done with distcc? I have not found such a
> feature in the documentation. If I'm blind just write RTFM ;)

The order in which targets are built is an issue with Make, not with
distcc.

Perhaps the simplest thing is for you to just keep using pmake on
Linux?  I don't think distcc has any particular dependency on GNU
make.  If it doesn't work with pmake please send a report.

I don't know any GNU Make feature similar to .ORDER, though you can
perhaps get close by running the commands explicitly.

all:
        $(MAKE) target1
        $(MAKE) target2 

-- 
Martin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.samba.org/archive/distcc/attachments/20040104/f1b13cc9/attachment.bin


More information about the distcc mailing list