[Top][All Lists]

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

Re: [Axiom-developer] Building Axiom twice

From: Gabriel Dos Reis
Subject: Re: [Axiom-developer] Building Axiom twice
Date: 24 Nov 2006 00:35:30 +0100

Waldek Hebisch <address@hidden> writes:

| Gabriel Dos Reis wrote:
| > Let me clarify this.  Assume you say "make -j 4".  Make creates a
| > jobserver and spawn sub-makes.  The sub-makes communicate with the
| > master make to ensure that at any given that, there are at most 4
| > sub-make processes running.  And that count does not include the
| > target firing recursive makes.  Furthermore, there is no
| > synchronisation in that loop that suggest that the directories will be
| > made sequentially. As a consequence, the sub-makes ae firex almost
| > simultaneously (the difference being the time it takes to initiate a
| > sub-make). 
| > 
| > That is how you see make fails in src/graph long before src/boot
| > completed. 
| >
| Gaby, you are writing here about src/Makefile.  AFAICS src/Makefile
| does not use the recursive loop (it just sits unused at the end
| of the Makefile).

I spoke nonsense earlier -- there is no bug here.  Sorry.

The directories in src are not all independent, therefore the rule
cannot be

    all: all-recursive

The rule must be something like

    all: all-ax
    all-ax: <list of targets>

-- Gaby

reply via email to

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