Skip to content

Commit

Permalink
wip: libdeps
Browse files Browse the repository at this point in the history
  • Loading branch information
olofk committed Dec 19, 2024
1 parent 4a5dd41 commit 78f3e90
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion edalize/tools/vcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ def setup(self, edam):
self.f_files = {}
self.workdirs = []
target_files = []
libdeps = self.edam.get("library_dependencies", {})
for lib, files in libs.items():
cmds = {}
has_vlog = False
Expand Down Expand Up @@ -143,10 +144,11 @@ def setup(self, edam):
i += 1
if has_vlog:
depfiles += include_files
libdepfiles = [x+"/AN.DB/make.vlogan" for x in libdeps.get(lib, [])]
self.commands.add(
[cmd] + full64 + ["-f", f_file, "-work", workdir] + fnames,
[workdir + "/" + target_file],
depfiles + [f_file],
depfiles + [f_file] + libdepfiles,
)
target_files.append(workdir + "/" + target_file)
self.f_files.update(f_files)
Expand Down

0 comments on commit 78f3e90

Please sign in to comment.