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