1
0
Fork 0
mirror of https://git.sr.ht/~kivikakk/niar synced 2024-12-23 00:02:24 +00:00

cxxrtl: log runtime.

This commit is contained in:
Asherah Connor 2024-06-27 19:45:59 +03:00
parent f6de8db366
commit 2eede7b1c4

View file

@ -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")