mirror of
https://git.sr.ht/~kivikakk/niar
synced 2024-12-22 23:22:24 +00:00
cxxrtl: log runtime.
This commit is contained in:
parent
f6de8db366
commit
2eede7b1c4
|
@ -203,6 +203,7 @@ def main(np: Project, args):
|
|||
exe_o_path = np.path.build(subdir, np.name)
|
||||
cc_o_paths = [o_path for (o_path, _) in cc_odep_paths.values()]
|
||||
if platform.uses_zig:
|
||||
# Note that we don't clear zig's cache on args.force.
|
||||
cmd = [
|
||||
"zig",
|
||||
"build",
|
||||
|
@ -240,6 +241,7 @@ def main(np: Project, args):
|
|||
cmd = [exe_o_path]
|
||||
if args.vcd:
|
||||
cmd += ["--vcd", args.vcd]
|
||||
with logtime(logging.DEBUG, "run"):
|
||||
cr.run_cmd(cmd, step="run")
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue