From ef5d43b4173c19fa0200f77fb0f98773748900f5 Mon Sep 17 00:00:00 2001 From: Asherah Connor Date: Wed, 3 Jul 2024 19:19:30 +0300 Subject: [PATCH] cxxrtl: note. --- src/niar/cxxrtl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/niar/cxxrtl.py b/src/niar/cxxrtl.py index 246ddfa..6d1aa22 100644 --- a/src/niar/cxxrtl.py +++ b/src/niar/cxxrtl.py @@ -174,7 +174,7 @@ def main(np: Project, args): 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)