Hi PLUG gurus,

I'm building an application that's built from different packages (each from
a CVS module) with the dependency map shown in the attached PDF file.

Each package is built with gmake (with some extra command line arguments).
 So normally, I'd first build package A, then open several terminals to run
packages B, C, D, E at the same time, then F, then G+H, I, and J+K
simultaneously.  Then finally I build the application APP.

I wrote a script like this:

cd A && cvs up -A && gmake options_for_A && \
cd B && cvs up -A && gmake options_for_B && \
... and so on ...
cd APP && cvs up -A && gmake options_for_AA

However, this will build the packages in a series and takes too long for me,
so I want to be able to build in parallel, with the dependent packages built
only after its dependencies are built.  Could you give me ideas on how to do
it best?

Thanks in advance,
Allister

Attachment: app-deps.pdf
Description: Adobe PDF document

_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph

Reply via email to