[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Axiomdeveloper] Building Axiom twice
From: 
Gabriel Dos Reis 
Subject: 
Re: [Axiomdeveloper] 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 submakes. The submakes communicate with the
 > master make to ensure that at any given that, there are at most 4
 > submake 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 submakes ae firex almost
 > simultaneously (the difference being the time it takes to initiate a
 > submake).
 >
 > 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: allrecursive
The rule must be something like
all: allax
allax: <list of targets>
 Gaby
 Re: [Axiomdeveloper] Building Axiom twice, (continued)
 Re: [Axiomdeveloper] Building Axiom twice, Gabriel Dos Reis, 2006/11/22
 Re: [Axiomdeveloper] Building Axiom twice, root, 2006/11/22
 Re: [Axiomdeveloper] Building Axiom twice, Gabriel Dos Reis, 2006/11/22
 Re: [Axiomdeveloper] Building Axiom twice, Gabriel Dos Reis, 2006/11/22
 Re: [Axiomdeveloper] Building Axiom twice, Waldek Hebisch, 2006/11/24
 Re: [Axiomdeveloper] Building Axiom twice, Martin Rubey, 2006/11/25
 Re: [Axiomdeveloper] Building Axiom twice, Waldek Hebisch, 2006/11/22
 Re: [Axiomdeveloper] Building Axiom twice, Gabriel Dos Reis, 2006/11/22
 Re: [Axiomdeveloper] Building Axiom twice, Waldek Hebisch, 2006/11/24
 Re: [Axiomdeveloper] Building Axiom twice, Waldek Hebisch, 2006/11/24
 Re: [Axiomdeveloper] Building Axiom twice,
Gabriel Dos Reis <=