summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/rules/verilator/xmake.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/rules/verilator/xmake.lua b/xmake/rules/verilator/xmake.lua
index ca60a3289..2042d8233 100644
--- a/xmake/rules/verilator/xmake.lua
+++ b/xmake/rules/verilator/xmake.lua
@@ -88,9 +88,9 @@ rule("verilator.shared")
-- Just to avoid before_buildcmd_files being executed at build time
end)
- on_build_files(function (target, batchjobs, sourcebatch, opt)
- import("verilator").build_cppfiles(target, batchjobs, sourcebatch, opt)
- end, {batch = true, distcc = true})
+ on_build_files(function (target, jobgraph, sourcebatch, opt)
+ import("verilator").build_cppfiles(target, jobgraph, sourcebatch, opt)
+ end, {jobgraph = true, batch = true, distcc = true})
before_buildcmd_files(function(target, batchcmds, sourcebatch, opt)
import("verilator").buildcmd_vfiles(target, batchcmds, sourcebatch, opt)