2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-20 02:32:13 +00:00

Fix output-xml not getting correctly generated on parallel builds.

This commit is contained in:
Rene Rivera
2016-11-08 10:18:27 -06:00
parent e500f11922
commit 32113ca3dd

View File

@@ -971,7 +971,12 @@ local rule should-clean-project ( project )
DEPENDS all : $(actual-targets) ;
if UPDATE_NOW in [ RULENAMES ]
{
local ok = [ UPDATE_NOW all $(.out-xml) ] ;
local ok = [ UPDATE_NOW all ] ;
# Force sequence updating of regular targets, then the xml
# log output target. To ensure the output records all built
# as otherwise if could execute out-of-sequence when
# doing parallel builds.
ok += [ UPDATE_NOW $(.out-xml) : : ignore-minus-n ] ;
if $(.post-build-hook)
{
$(.post-build-hook) $(ok) ;