diff options
| author | ruki <[email protected]> | 2025-08-16 00:51:35 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-08-16 00:51:35 +0800 |
| commit | a8682bee4c2312c30f1d05fca9d2e670a2eb674c (patch) | |
| tree | e41cd81a5220b0a3f5914c46f79c8626f4a220e7 | |
| parent | 86d0084ec683d15edec4d31b2d6f9be772e8aefd (diff) | |
revert comax
| -rw-r--r-- | xmake/modules/private/action/build/target.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/private/action/build/target.lua b/xmake/modules/private/action/build/target.lua index 5c183bb8c..0116dcd6f 100644 --- a/xmake/modules/private/action/build/target.lua +++ b/xmake/modules/private/action/build/target.lua @@ -786,7 +786,7 @@ function run_targetjobs(targets_root, opt) if errors and progress.showing_without_scroll() then print("") end - end, comax = option.get("jobs") or os.default_njob(), curdir = curdir, distcc = opt.distcc, progress_factor = opt.progress_factor}) + end, comax = option.get("jobs") or 1, curdir = curdir, distcc = opt.distcc, progress_factor = opt.progress_factor}) os.cd(curdir) return true end @@ -804,7 +804,7 @@ function run_filejobs(targets_root, opt) if errors and progress.showing_without_scroll() then print("") end - end, comax = option.get("jobs") or os.default_njob(), curdir = curdir, distcc = opt.distcc, progress_factor = opt.progress_factor}) + end, comax = option.get("jobs") or 1, curdir = curdir, distcc = opt.distcc, progress_factor = opt.progress_factor}) os.cd(curdir) return true end |
