Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed Jan 30, 2024
1 parent 56a90d7 commit 79a9d62
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion xmake/modules/package/tools/cmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -884,7 +884,7 @@ end

-- do install for make
function _install_for_make(package, configs, opt)
local jobs = _get_parallel_njobs(opt)
local jobs = "1"--_get_parallel_njobs(opt)
local argv = {"-j" .. jobs}
--if option.get("diagnosis") then
table.insert(argv, "VERBOSE=1")
Expand All @@ -909,7 +909,9 @@ function _install_for_make(package, configs, opt)
os.vrunv(make, argv)
os.vrunv(make, {"install"})
else
print("make")
os.vexecv("make", argv)
print("make install")
os.vexecv("make", {"install"})
end
end
Expand Down

0 comments on commit 79a9d62

Please sign in to comment.