diff options
| -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 |
