summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2025-08-18 23:35:23 +0800
committerruki <[email protected]>2025-08-19 11:06:19 +0800
commitf27c9d7af95365a0e06a318910db519069ef3c72 (patch)
tree8108c8703d227cc725c2bd0a592294e71d0b1cd5
parent6776bc187295330c3eb0337d065ddd64c5c9638c (diff)
enable build.fence for config
-rw-r--r--xmake/modules/private/action/build/target.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/private/action/build/target.lua b/xmake/modules/private/action/build/target.lua
index 8497baa43..fa2a85b3e 100644
--- a/xmake/modules/private/action/build/target.lua
+++ b/xmake/modules/private/action/build/target.lua
@@ -115,7 +115,7 @@ end
function _add_targetjobs_deep_orders(jobgraph, target, dep, opt)
local jobname, jobname_dep
local job_kind = opt.job_kind
- if dep:policy("build.fence") or dep:policy("build.across_targets_in_parallel") == false then
+ if job_kind == "config" or dep:policy("build.fence") or dep:policy("build.across_targets_in_parallel") == false then
jobname = string.format("%s/begin_%s", target:fullname(), job_kind)
jobname_dep = string.format("%s/end_%s", dep:fullname(), job_kind)
-- build.across_targets_in_parallel is deprecated