summaryrefslogtreecommitdiff
path: root/xmake/core
diff options
context:
space:
mode:
authorruki <[email protected]>2025-08-20 22:55:38 +0800
committerruki <[email protected]>2025-08-20 22:55:38 +0800
commit31b98e0c598275bb0809d3c1251ef07db4e71e65 (patch)
treeee3a30f6d8ecb699211cdd181b074f7f48b31f1f /xmake/core
parent573782c949ecf6f0c179822e6003f1075fb37018 (diff)
fix config
Diffstat (limited to 'xmake/core')
-rw-r--r--xmake/core/sandbox/modules/import/core/project/project.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/xmake/core/sandbox/modules/import/core/project/project.lua b/xmake/core/sandbox/modules/import/core/project/project.lua
index af1ae11bd..fde977b6e 100644
--- a/xmake/core/sandbox/modules/import/core/project/project.lua
+++ b/xmake/core/sandbox/modules/import/core/project/project.lua
@@ -141,8 +141,11 @@ function sandbox_core_project._config_targets(opt)
import("private.action.build.target", {alias = "target_buildutils"})
-- we need to config all targets (contains non-default targets)
+ --
+ -- @note Currently, many configurations still depend on the order of rules/add_deps (e.g. qt rules),
+ -- so we can only execute single tasks for now (jobs = 1).
local targets_root = target_buildutils.get_root_targets(nil, {all = true})
- target_buildutils.run_targetjobs(targets_root, {job_kind = "config", dep_fence = true, job_opt = opt})
+ target_buildutils.run_targetjobs(targets_root, {job_kind = "config", target_fence = true, jobs = 1, job_opt = opt})
end
-- load rules in the required packages for target