diff options
| author | ruki <[email protected]> | 2025-04-06 21:38:39 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-04-08 15:31:57 +0800 |
| commit | 54227eb4e653a46b8eb9ad9642d7641db052288b (patch) | |
| tree | b13e7ed3a43a0126ef8b4c9c420ce7e51cca929b /xmake/actions/build/build.lua | |
| parent | da540028213b73ca014bc7aa0f7938a12e344ee8 (diff) | |
fix progress
Diffstat (limited to 'xmake/actions/build/build.lua')
| -rw-r--r-- | xmake/actions/build/build.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/actions/build/build.lua b/xmake/actions/build/build.lua index 22097669a..d3fdd8e80 100644 --- a/xmake/actions/build/build.lua +++ b/xmake/actions/build/build.lua @@ -30,6 +30,7 @@ import("deprecated.build", {alias = "deprecated_build"}) function _prepare(targets_root, opt) opt = opt or {} opt.job_kind = "prepare" + opt.progress_factor = 0.05 target_utils.run_targetjobs(targets_root, opt) end @@ -37,6 +38,7 @@ end function _build(targets_root, opt) opt = opt or {} opt.job_kind = "build" + opt.progress_factor = 0.95 if distcc_build_client.is_connected() then opt.distcc = distcc_build_client.singleton() end |
