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