diff options
| author | ruki <[email protected]> | 2020-03-12 23:20:49 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-03-12 14:04:58 +0800 |
| commit | 8fc4af89db842df3f30b1d065e1601b15499c67c (patch) | |
| tree | 2964d7e97faf6d64645d404ad310203b4d90b4aa | |
| parent | c2788d5a76613175207dbf923de1d7e461329571 (diff) | |
fix jobs
| -rw-r--r-- | xmake/modules/package/tools/autoconf.lua | 3 | ||||
| -rw-r--r-- | xmake/modules/package/tools/cmake.lua | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/xmake/modules/package/tools/autoconf.lua b/xmake/modules/package/tools/autoconf.lua index fc437d26c..4b83d12ef 100644 --- a/xmake/modules/package/tools/autoconf.lua +++ b/xmake/modules/package/tools/autoconf.lua @@ -19,7 +19,6 @@ -- -- imports -import("core.base.option") import("core.project.config") -- get configs @@ -164,7 +163,7 @@ function install(package, configs, opt) configure(package, configs, opt) -- do make and install - os.vrun("make -j" .. option.get("jobs")) + os.vrun("make -j4") os.vrun("make install") end diff --git a/xmake/modules/package/tools/cmake.lua b/xmake/modules/package/tools/cmake.lua index c49c9b681..9c593ce8a 100644 --- a/xmake/modules/package/tools/cmake.lua +++ b/xmake/modules/package/tools/cmake.lua @@ -130,7 +130,7 @@ function install(package, configs, opt) os.cp("**.exp", package:installdir("lib")) end else - argv = {"-j" .. option.get("jobs")} + argv = {"-j4"} if option.get("verbose") then table.insert(argv, "VERBOSE=1") end |
