diff options
Diffstat (limited to 'xmake/actions/build/xmake.lua')
| -rw-r--r-- | xmake/actions/build/xmake.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/actions/build/xmake.lua b/xmake/actions/build/xmake.lua index 3323ac5b1..631536f24 100644 --- a/xmake/actions/build/xmake.lua +++ b/xmake/actions/build/xmake.lua @@ -47,7 +47,7 @@ task("build") , {nil, "dry-run", "k", nil , "Dry run to build target." } , {} - , {'j', "jobs", "kv", tostring(math.ceil(os.cpuinfo().ncpu * 3 / 2)), + , {'j', "jobs", "kv", tostring(os.default_njob()), "Set the number of parallel compilation jobs." } , {nil, "linkjobs", "kv", nil, "Set the number of parallel link jobs." } , {'w', "warning", "k", false , "Enable the warnings output." } |
