Re: [Qemu-devel] [PATCH] Fix qapi code generation wrt parallel build

2011-12-27 Thread Anthony Liguori
On 12/27/2011 08:02 AM, Avi Kivity wrote: Make's multiple output syntax x.c x.h: x.template gen< x.template actually invokes the command once for x.c and once for x.h (with differing $@ in each invocation). During a parallel build, the two commands may be invoked in parallel; this

[Qemu-devel] [PATCH] Fix qapi code generation wrt parallel build

2011-12-27 Thread Avi Kivity
Make's multiple output syntax x.c x.h: x.template gen < x.template actually invokes the command once for x.c and once for x.h (with differing $@ in each invocation). During a parallel build, the two commands may be invoked in parallel; this opens up a race, where the second invocation t