summaryrefslogtreecommitdiff
path: root/xmake/rules/c++/modules/modules_support/gcc.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2022-08-08 17:45:11 +0800
committerGitHub <[email protected]>2022-08-08 17:45:11 +0800
commit3619f16ac27d39bc77a108244ab6b85f3e404c70 (patch)
treeac4c232a95729ed101910b27a705d53b07fa800f /xmake/rules/c++/modules/modules_support/gcc.lua
parent969c1371fde82493d75766681c800107b8359981 (diff)
parent3a417fd416d178f8469af0e71610ec4b4f733971 (diff)
Merge pull request #2659 from Arthapz/batchjobs
MSVC and clang headerunits batchjobs
Diffstat (limited to 'xmake/rules/c++/modules/modules_support/gcc.lua')
-rw-r--r--xmake/rules/c++/modules/modules_support/gcc.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/xmake/rules/c++/modules/modules_support/gcc.lua b/xmake/rules/c++/modules/modules_support/gcc.lua
index 65dc45782..8f3bacf72 100644
--- a/xmake/rules/c++/modules/modules_support/gcc.lua
+++ b/xmake/rules/c++/modules/modules_support/gcc.lua
@@ -162,7 +162,6 @@ function generate_stl_headerunits_for_batchjobs(target, batchjobs, headerunits,
-- build headerunits
local projectdir = os.projectdir()
- local depmtime = 0
for _, headerunit in ipairs(headerunits) do
local bmifile = path.join(stlcachedir, headerunit.name .. get_bmi_extension())
if not os.isfile(bmifile) then
@@ -209,7 +208,6 @@ function generate_user_headerunits_for_batchjobs(target, batchjobs, headerunits,
-- build headerunits
local projectdir = os.projectdir()
- local depmtime = 0
for _, headerunit in ipairs(headerunits) do
local file = path.relative(headerunit.path, projectdir)
local objectfile = target:objectfile(file)