Re: Parallel building



Hi Frederic,

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..

	Heh ;-) It's strange isn't it. It seems to clearly say to me that all
those files are generated from the IDL.

	Is the problem that it runs 5 copies of the IDL compiler ? it's really
good that you're looking at this though - it's annoyed me for some time.

> I've been able to workaround the problem in orb-core, by using a simple
> dependency on corba-ops-stubs.c (instead of $(OPS_IDLOUT)), which
> serialize the build (since all the files are generated at the same time
> by the IDL compiler..)

	What line did you add to create the dependency ?

> However, I haven't been able yet to fix the problem in Makefile.shared,
> because it is using pattern matching.. 

	I'm not sure; clearly we want to be able to build the generated source
in parallel; but block on the IDL compilation process; it's not
altogether clear to me why that doesn't work now, although it clearly
doesn't.

	Regards,

		Michael.

-- 
 mmeeks@gnu.org  <><, Pseudo Engineer, itinerant idiot




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