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:
@@ -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) ;
|
||||
|
||||
Reference in New Issue
Block a user