Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
olofk committed Dec 19, 2024
1 parent 4c0bfca commit 6bc6600
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion edalize/flows/edaflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,8 @@ def _run_tool(self, cmd, args=[], cwd=None, quiet=False, env={}):

def build(self):
# FIXME: Get run command (e.g. make, ninja, cloud thingie..) from self.commands
self._run_tool("make", cwd=self.work_root)
make_options = self.flow_options.get("flow_make_options", [])
self._run_tool("make", args=make_options, cwd=self.work_root)

# Most flows won't have a run phase
def run(self, args=None):
Expand Down
5 changes: 5 additions & 0 deletions edalize/flows/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ class Generic(Edaflow):
"type": "str",
"desc": "Select tool",
},
"flow_make_options": {
"type": "str",
"desc": "Additional options to pass to make when executing the flow graph",
"list": True,
},
}

@classmethod
Expand Down

0 comments on commit 6bc6600

Please sign in to comment.