diff options
author | Avi Kivity <avi@redhat.com> | 2011-12-27 16:02:16 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-12-27 09:28:58 -0600 |
commit | 8d3bc5178fbc06cdd89c064ae8f44e77c503e91e (patch) | |
tree | 5a636844be70c13422856569e90f9e487141a5c5 /qemu-coroutine.h | |
parent | 4e1ea514f9b9f07358b84554dc3d35f533ec3971 (diff) |
Fix qapi code generation wrt parallel build
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 trashes a file
supposedly produced during the first, and now in use by a dependent command.
The various qapi code generators are susceptible to this; fix by making them
generate just one file per invocation.
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qemu-coroutine.h')
0 files changed, 0 insertions, 0 deletions