[Top][All Lists]

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

parallel make fails

From: Mike Castle
Subject: parallel make fails
Date: Mon, 14 May 2001 19:25:27 -0700
User-agent: Mutt/1.3.6i

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.

I'll try to look at this soon, but I imagine Tom will solve it before I get
a chance.  :->

       Mike Castle       Life is like a clock:  You can work constantly
  address@hidden  and be right all the time, or not work at all
www.netcom.com/~dalgoda/ and be right at least twice a day.  -- mrc
    We are all of us living in the shadow of Manhattan.  -- Watchmen

reply via email to

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