[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
race condition with paralel make
From: |
Stepan Kasal |
Subject: |
race condition with paralel make |
Date: |
Fri, 22 Oct 2004 15:28:50 +0200 |
User-agent: |
Mutt/1.4.1i |
Hello,
Akim has noticed a problem in texinfo/info/Makefile.am:
> > $(generated_sources): makedoc$(EXEEXT) $(cmd_sources)
> > rm -f $(generated_sources)
> > $(top_builddir)/$(native_tools)/info/makedoc $(cmd_sources)
>
> Warning: Read the node `Multiple Outputs' in Automake.texi.
I've read the node and I think that the problem will be solved by
merely adding the following:
------
# We need a linear ordering to prevent race condition in parallel make.
# See the node ``(automake)Multiple Outputs'' for an explanation.
doc.c: key.c
key.c: funs.h
------
A patch is attached. It adds these four lines and moves some parts of
info/Makefile.am, so that the code concerning the generated sources is
at the end of the file.
Thank you, Akim.
Regards,
Stepan
texinfo-20041022-built_parallel.patch
Description: Text document
- race condition with paralel make,
Stepan Kasal <=