Re: make -j3 fails
Jordan Sissel <psionic-s/[email protected]>
| Newsgroups | gmane.comp.window-managers.ion.general |
|---|---|
| Message-ID | <[email protected]> |
On 9 July 2007 at 11:51, Matthieu Moy <Matthieu.Moy-wMUr/[email protected]> wrote: > Tuomo Valkonen <[email protected]> writes: > > > On 2007-07-09, Andreas Bernauer <[email protected]> wrote: > >> bug or can you briefly explain it? Googling for this issue turned up > >> only pages (such as > >> http://developers.sun.com/solaris/articles/parallel_make.html) telling > >> me, if parallel make fails, the Makefile is wrong > > > > If parallel make fails, make is too stupid. > > Errr. > > Do you expect also any sequential program to work if you start using > threads, and will you blame the pthread library if it doesn't do > synchronization for you? > > make -j will work if you didn't rely on make being sequential, but > what can make do with something like > > all: target1 target2 > > target1: > some-action > > target2: > some-action that requires target1 to be built. > all: target1 target2 target1: some-action target2: target1 some-action that requires target1 to be built. > ? > > -- > Matthieu >