Skip to content

Commit

Permalink
cxxrtl: note.
Browse files Browse the repository at this point in the history
  • Loading branch information
kivikakk committed Jul 3, 2024
1 parent a931d32 commit ef5d43b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/niar/cxxrtl.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def rtlil_to_cc():

with logtime(logging.DEBUG, "compilation"):
cc_odep_paths = {cxxrtl_cc_path: (np.path.build(subdir, f"{np.name}.o"), [])}
depfs = list(np.path("cxxrtl").glob("**/*.h"))
depfs = list(np.path("cxxrtl").glob("**/*.h")) # XXX: the actual part that instantiates the top-level will depend on its .h and doesn't update. We need actual dependency tracking.
for path in np.path("cxxrtl").glob("**/*.cc"):
# XXX: we make no effort to distinguish cxxrtl/a.cc and cxxrtl/dir/a.cc.
cc_odep_paths[path] = (np.path.build(subdir, f"{path.stem}.o"), depfs)
Expand Down

0 comments on commit ef5d43b

Please sign in to comment.