summaryrefslogtreecommitdiff
path: root/xmake/modules/private
diff options
context:
space:
mode:
authorruki <[email protected]>2025-11-21 00:45:05 +0800
committerruki <[email protected]>2025-11-21 11:28:51 +0800
commit4627107fa7badf70828a6f569e4a8b8ba3d4160d (patch)
tree909022a4ff14981d23cb28dd472926431ca86419 /xmake/modules/private
parent9447d6b4e5f1060f832cbae1807b95df40a0ddce (diff)
improve progress_refresh
Diffstat (limited to 'xmake/modules/private')
-rw-r--r--xmake/modules/private/action/build/target.lua6
-rw-r--r--xmake/modules/private/check/checkers/clang/tidy.lua3
2 files changed, 6 insertions, 3 deletions
diff --git a/xmake/modules/private/action/build/target.lua b/xmake/modules/private/action/build/target.lua
index d623744b4..280610e71 100644
--- a/xmake/modules/private/action/build/target.lua
+++ b/xmake/modules/private/action/build/target.lua
@@ -797,7 +797,8 @@ function run_targetjobs(targets_root, opt)
curdir = curdir,
distcc = opt.distcc,
remote_only = opt.remote_only,
- progress_factor = opt.progress_factor
+ progress_factor = opt.progress_factor,
+ progress_refresh = true
}
async_runjobs(job_kind, jobgraph, runjobs_opt)
os.cd(curdir)
@@ -817,7 +818,8 @@ function run_filejobs(targets_root, opt)
curdir = curdir,
distcc = opt.distcc,
remote_only = opt.remote_only,
- progress_factor = opt.progress_factor
+ progress_factor = opt.progress_factor,
+ progress_refresh = true
}
async_runjobs(job_kind, jobgraph, runjobs_opt)
os.cd(curdir)
diff --git a/xmake/modules/private/check/checkers/clang/tidy.lua b/xmake/modules/private/check/checkers/clang/tidy.lua
index 963bd1bdc..82e9246fb 100644
--- a/xmake/modules/private/check/checkers/clang/tidy.lua
+++ b/xmake/modules/private/check/checkers/clang/tidy.lua
@@ -158,7 +158,8 @@ function _check_sourcefiles(clang_tidy, sourcefiles, opt)
local runjobs_opt = {
total = #sourcefiles,
comax = opt.jobs or os.default_njob(),
- showtips = false
+ showtips = false,
+ progress_refresh = true
}
runjobs("checker.tidy", function (index, total, job_opt)
local sourcefile = sourcefiles[index]