diff options
| author | ruki <[email protected]> | 2022-09-23 23:13:57 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-09-23 23:13:57 +0800 |
| commit | 7349d967a0dfbf8a8c1b5c737d56bf53270eda08 (patch) | |
| tree | 1389b20160e1ca4657016b6c4e7aa3c9306ec4c2 /xmake/modules | |
| parent | f7aff45d5f0155431a628f97ad6f40f0d5f4d131 (diff) | |
pass jobs
Diffstat (limited to 'xmake/modules')
| -rw-r--r-- | xmake/modules/private/action/trybuild/xrepo.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/xmake/modules/private/action/trybuild/xrepo.lua b/xmake/modules/private/action/trybuild/xrepo.lua index ba845e72e..bd35cfb5a 100644 --- a/xmake/modules/private/action/trybuild/xrepo.lua +++ b/xmake/modules/private/action/trybuild/xrepo.lua @@ -114,6 +114,12 @@ end -- get install configs function _get_install_configs(argv) + -- pass jobs + if option.get("jobs") then + table.insert(argv, "-j") + table.insert(argv, option.get("jobs")) + end + -- cross compilation if config.get("sdk") then table.insert(argv, "--sdk=" .. config.get("sdk")) |
