Re: Parallel building



Le lun 21/04/2003 à 21:28, Michael Meeks a écrit :
> Hi there,
> 
> On Wed, 2003-03-26 at 08:53, Frederic Crozat wrote:
> > Le lun 
> > > On Thu, 2003-03-20 at 15:15, Frederic Crozat wrote:
> > > > and in Makefile.shared:
> > > > %.h %-stubs.c  %-common.c %-imodule.c %-skelimpl.c: $(IDL_DIR)%.idl
> > > > $(IDL_COMPILER)
> > > > ...
> > > > 
> > > > is causing parallel build to fail because make thinks all those
> > > > generated files can be build in parallel, which is completely false..
> 
> 	So I had another go at trying to make this work - this has to be the
> umpteenth time I've wasted an hour or so on this before doing something
> productive.

Who said automake/libtool was easy :)))

> 	I attach my patch; it _appears_ to make 'make -j 3' work for most of
> ORBit2 (HEAD); it fails in test/inhibit for reasons I have no
> understanding of. make -d reveals it totally ignoring the implicit rule
> chain from:
> 
> %.h ... : %.idl_stamp
> %.idl_stamp : %.idl ...
> 
> 	Of course; 'make foo.idl_stamp' works just great. It's really unclear
> to me how to make this work; worse - it's not that clear to me how to
> force the IDL compiled stuff to be built before anything else that
> #includes them in the compiled source although the _OBJECTS hack seems
> to work; and lastly I've no clue how to make this more elegant, the
> Makefile.shared stuff seems to me to be pretty horribly ugly.

Well, it fails here on (2CPU system, make -j2):

make[7]: Entering directory
`/home/gnome/gnome/ORBit2/include/orbit/orb-core'
make[7]: *** No rule to make target `corba-defs.h', needed by `all-am'. 
Stop.


Anyway, thanks for looking into it..

-- 
Frederic Crozat <fcrozat@mandrakesoft.com>
Mandrakesoft




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]