Heh, reminds me of portage.

You could write a makefile that includes all of them, then run make
with -jN, where N is the number of parallel builds you want.

On Thu, Mar 18, 2010 at 6:18 PM, Allister Levi Sanchez
<[email protected]> wrote:
> 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
> _________________________________________________
> Philippine Linux Users' Group (PLUG) Mailing List
> http://lists.linux.org.ph/mailman/listinfo/plug
> Searchable Archives: http://archives.free.net.ph
>



-- 
This email is:    [ ] actionable   [ ] fyi        [ ] social
Response needed:  [ ] yes          [ ] up to you  [ ] no
Time-sensitive:   [ ] immediate    [ ] soon       [ ] none
_________________________________________________
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