summaryrefslogtreecommitdiff
path: root/xmake/rules/c++/modules/modules_support/gcc.lua
diff options
context:
space:
mode:
authorArthur LAURENT <[email protected]>2022-12-03 03:30:59 +0100
committerArthur LAURENT <[email protected]>2022-12-03 03:30:59 +0100
commitbf2256fbfafd21a3087ad40d93edfe92ec3dee9a (patch)
tree7557778e2c428c77388645db49053275a31b68d4 /xmake/rules/c++/modules/modules_support/gcc.lua
parentdd233c5b036b37994b661ef61387cdb3f67eb252 (diff)
refactor clang batchcmds
Diffstat (limited to 'xmake/rules/c++/modules/modules_support/gcc.lua')
-rw-r--r--xmake/rules/c++/modules/modules_support/gcc.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/rules/c++/modules/modules_support/gcc.lua b/xmake/rules/c++/modules/modules_support/gcc.lua
index c8a10da86..5242bd938 100644
--- a/xmake/rules/c++/modules/modules_support/gcc.lua
+++ b/xmake/rules/c++/modules/modules_support/gcc.lua
@@ -399,6 +399,7 @@ function build_modules_for_batchjobs(target, batchjobs, objectfiles, modules, op
if length > 1 then
raise("multiple provides are not supported now!")
end
+ break
end
end
local moduleinfo = table.copy(provide) or {}
@@ -425,8 +426,6 @@ function build_modules_for_batchjobs(target, batchjobs, objectfiles, modules, op
end
end
- print(modulesjobs)
-
-- build batchjobs for modules
common.build_batchjobs_for_modules(modulesjobs, batchjobs, opt.rootjob)
end
@@ -455,6 +454,7 @@ function build_modules_for_batchcmds(target, batchcmds, objectfiles, modules, op
if length > 1 then
raise("multiple provides are not supported now!")
end
+ break
end
local bmifile = provide.bmi