Skip to content

Commit

Permalink
Add toolchain = None to flows/flows.bzl.
Browse files Browse the repository at this point in the history
Fixes;
```
ERROR: flows/tests/BUILD:63:9: in run_flow rule //flows/tests:synth_sky130_adder:Traceback (most recent call last):
        File "flows/flows.bzl", line 266, column 44, in _run_flow_impl
                inputs_dict = _run_step_with_inputs(ctx, step, inputs_dict, outputs_step_dict)
        File "flows/flows.bzl", line 207, column 20, in _run_step_with_inputs
                ctx.actions.run(
Error in run: Couldn't identify if tools are from implicit dependencies or a toolchain. Please set the toolchain parameter. If you're not using a toolchain, set it to 'None'.
```

Signed-off-by: Tim 'mithro' Ansell <[email protected]>
  • Loading branch information
mithro committed Nov 20, 2023
1 parent 268b421 commit 72a8657
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions flows/flows.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ def _run_step_with_inputs(ctx, step, inputs_dict, outputs_step_dict):
mnemonic = step[FlowStepInfo].executable_type,
env = dicts.add(constants_env, inputs_env, outputs_env),
input_manifests = input_manifests,
toolchain = None,
)

return dicts.add(inputs_dict, outputs_dict)
Expand Down

0 comments on commit 72a8657

Please sign in to comment.