Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vars do not survive Edaflow #415

Open
psi-chuffine opened this issue Jan 26, 2024 · 0 comments
Open

Vars do not survive Edaflow #415

psi-chuffine opened this issue Jan 26, 2024 · 0 comments

Comments

@psi-chuffine
Copy link

Any variables added to a flow with commands.add_var do not survive to the output in Edaflow.py

Should

# This is an input node. Inject dependency on pre_build scripts
if not node.deps:
    # Inject pre-build scripts before the first command
    # that the node executes. Note that this isn't
    # technically correct since the first command in
    # the list might not be the first command executed
    node.inst.commands.commands[0].order_only_deps = ["pre_build"]
self.commands.commands += node.inst.commands.commands

include self.commands.vars += node.inst.commands.vars at the end?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant