Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support multiple targets for package #5537

Merged
merged 5 commits into from
Aug 30, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
log output verbose -> diagnosis
star-hengxing committed Aug 29, 2024
commit 2292b165497b0f2c560899c2436a52b779ee043b
4 changes: 2 additions & 2 deletions xmake/modules/package/tools/cmake.lua
Original file line number Diff line number Diff line change
@@ -1008,7 +1008,7 @@ function _build_for_make(package, configs, opt)
end
local jobs = _get_parallel_njobs(opt)
table.insert(argv, "-j" .. jobs)
if option.get("verbose") then
if option.get("diagnosis") then
table.insert(argv, "VERBOSE=1")
end
if is_host("bsd") then
@@ -1093,7 +1093,7 @@ end
function _install_for_make(package, configs, opt)
local jobs = _get_parallel_njobs(opt)
local argv = {"-j" .. jobs}
if option.get("verbose") then
if option.get("diagnosis") then
table.insert(argv, "VERBOSE=1")
end
if is_host("bsd") then
2 changes: 1 addition & 1 deletion xmake/modules/package/tools/ninja.lua
Original file line number Diff line number Diff line change
@@ -34,7 +34,7 @@ function _default_argv(package, configs, opt)
end
table.insert(argv, "-C")
table.insert(argv, buildir)
if option.get("verbose") then
if option.get("diagnosis") then
table.insert(argv, "-v")
end
table.insert(argv, "-j")