summaryrefslogtreecommitdiff
path: root/xmake/rules/c++/modules/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2022-08-16 22:41:55 +0800
committerruki <[email protected]>2022-08-16 22:41:55 +0800
commite35342220927bc044f4e07c00713d904a3618b08 (patch)
tree912ebf86aca83ab59c19d9e1c6d788b76a215834 /xmake/rules/c++/modules/xmake.lua
parent2e502f66692119189c7425a2f7a412942d3a992a (diff)
enable full parallel build for modules
Diffstat (limited to 'xmake/rules/c++/modules/xmake.lua')
-rw-r--r--xmake/rules/c++/modules/xmake.lua6
1 files changed, 0 insertions, 6 deletions
diff --git a/xmake/rules/c++/modules/xmake.lua b/xmake/rules/c++/modules/xmake.lua
index 3ef960d7a..feb53785d 100644
--- a/xmake/rules/c++/modules/xmake.lua
+++ b/xmake/rules/c++/modules/xmake.lua
@@ -27,14 +27,8 @@ rule("c++.build.modules")
on_config(function (target)
import("modules_support.common")
- -- we disable to build across targets in parallel, because the source files may depend on other target modules
-- @see https://github.com/xmake-io/xmake/issues/1858
if common.contains_modules(target) then
- -- @note this will cause cross-parallel builds to be disabled for all sub-dependent targets,
- -- even if some sub-targets do not contain C++ modules.
- --
- -- maybe we will have a more fine-grained configuration strategy to disable it in the future.
- target:set("policy", "build.across_targets_in_parallel", false)
-- get modules support
local modules_support = common.modules_support(target)