[libvirt] [PATCH] docs: Serialize running apibuild.py

Eric Blake eblake at redhat.com
Fri Apr 27 17:59:58 UTC 2012


On 04/27/2012 10:59 AM, Cole Robinson wrote:
> Use a witness file approach like we do for python/generator.py,
> as suggested by Eric. Fixes the build issue reported here:
> 
> https://www.redhat.com/archives/libvir-list/2012-April/msg01435.html
> 
> Signed-off-by: Cole Robinson <crobinso at redhat.com>
> ---
>  .gitignore       |    1 +
>  docs/Makefile.am |   12 ++++++++++--
>  2 files changed, 11 insertions(+), 2 deletions(-)

ACK.  A parallel make will now only run one instance of apibuild.py (for
the stamp file) instead of several parallel instances (one for each
$(python_generatedfile)), and it was the parallel instances that were
stomping on one another.

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120427/93e6b1f3/attachment-0001.sig>


More information about the libvir-list mailing list