[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: parallel make fails
From: |
Thomas Dickey |
Subject: |
Re: parallel make fails |
Date: |
Tue, 15 May 2001 05:11:06 -0400 |
User-agent: |
Mutt/1.2.5i |
On Mon, May 14, 2001 at 07:25:27PM -0700, Mike Castle wrote:
>
> I'm working on trying to use parallel makes to distribute building various
> packages across machines.
>
> Ncurses fails.
>
> Apparently a race condition in the dependencies for names.c. It looks like
> after the cd into the various obj directory, more than one job looks back
> to try to find names.c, sees that it isn't there, and they all try to make
> it. So of course, mulitple jobs create it, then all but one fails in
> trying to clean up (simply using -rm isn't sufficient, of course, because
> the intermidiate files may be in an indeterminate state prior to catting
> them together).
>
> Current fix will be to (cd ncurses ; make names.c) before I do a make -j.
or "make sources", first (names.c isn't the only generated source-file).
> I'll try to look at this soon, but I imagine Tom will solve it before I get
> a chance. :->
I'll take a look (if it's a matter of adding some dependencies, I suppose it's
doable)
--
Thomas E. Dickey <address@hidden>
http://dickey.his.com
ftp://dickey.his.com