axiom-developer
[Top][All Lists]
Advanced

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

Re: [Axiom-developer] Building Axiom twice


From: Waldek Hebisch
Subject: Re: [Axiom-developer] Building Axiom twice
Date: Thu, 23 Nov 2006 13:32:55 +0100 (CET)

Gabriel Dos Reis wrote:
> Waldek Hebisch <address@hidden> writes:
>
> | FYI I changed lsp Makefile to pass '-j 1' to GCL because ATM
> | on my dual core machines build fails using system GCL (it works using
> | bundled GCL, also system GCL on single core machines works fine). 
> 
> We can have the lsp Makefile say .NOTPARALLEL for the GCL targets so
> that GCL is not attempted in parallel.
>

Yes, that would be good for testing parallel builds
 
> | My impression is that you will loose most opportunities for
> | parallelism: recursive logic is seqential and dependence via stamps
> | means that one subdirectory must finish before another starts. 
> 
> Which recursive logic?  
> On purpose I did not write a for loop, rather, I listed the targets.
> Then it is necessary that the dependencies are correct.  
> 

Hmm, I see:

        for subdir in $$list; do \
           echo "Making $$target in $$subdir"; \
....


This is a loop over subdirectories.  So you can do main target in
parallel with dvi target, but subdirectories run sequentially.

I would put this in a diffent way: you have two rules which invoke
make of main target in src subdirectory.  The first is the recursive
rule, the second one is via src stamp.  Currently the second rule
can only fire after the first run has finished.  But if you allow
both rules to run in parallel then you will get a mess in src.

-- 
                              Waldek Hebisch
address@hidden 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]