diff options
| author | ruki <[email protected]> | 2025-08-18 23:44:10 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-08-19 11:06:19 +0800 |
| commit | 8a7b5215e90e944246366197e4fa01bc927dd57a (patch) | |
| tree | 5a7cb2a7e0460033fd76c9184b4121545bd73728 | |
| parent | f27c9d7af95365a0e06a318910db519069ef3c72 (diff) | |
remove debug code
| -rw-r--r-- | xmake/modules/core/project/depend.lua | 2 | ||||
| -rw-r--r-- | xmake/modules/private/action/build/target.lua | 6 |
2 files changed, 2 insertions, 6 deletions
diff --git a/xmake/modules/core/project/depend.lua b/xmake/modules/core/project/depend.lua index 15b5d25c8..ca05dc2f4 100644 --- a/xmake/modules/core/project/depend.lua +++ b/xmake/modules/core/project/depend.lua @@ -70,7 +70,7 @@ end -- show diagnosis info? function _is_show_diagnosis_info() - local show = true -- _g.is_show_diagnosis_info + local show = _g.is_show_diagnosis_info if show == nil then if project.policy("diagnosis.check_build_deps") then show = true diff --git a/xmake/modules/private/action/build/target.lua b/xmake/modules/private/action/build/target.lua index fa2a85b3e..e3c4febb1 100644 --- a/xmake/modules/private/action/build/target.lua +++ b/xmake/modules/private/action/build/target.lua @@ -778,10 +778,6 @@ end function run_targetjobs(targets_root, opt) opt = opt or {} local job_kind = opt.job_kind - local comax = option.get("jobs") or os.default_njob() - if job_kind == "config" then - --comax = option.get("jobs") or 1 - end local jobgraph = get_targetjobs(targets_root, opt) if jobgraph and not jobgraph:empty() then local curdir = os.curdir() @@ -790,7 +786,7 @@ function run_targetjobs(targets_root, opt) if errors and progress.showing_without_scroll() then print("") end - end, comax = comax, curdir = curdir, distcc = opt.distcc, progress_factor = opt.progress_factor}) + end, comax = option.get("jobs") or os.default_njob(), curdir = curdir, distcc = opt.distcc, progress_factor = opt.progress_factor}) os.cd(curdir) return true end |
