From 72a8657fefd9623e88159b883f540baa3180c208 Mon Sep 17 00:00:00 2001 From: Tim 'mithro' Ansell Date: Sun, 19 Nov 2023 14:29:37 -0800 Subject: [PATCH] Add `toolchain = None` to `flows/flows.bzl`. 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 --- flows/flows.bzl | 1 + 1 file changed, 1 insertion(+) diff --git a/flows/flows.bzl b/flows/flows.bzl index 50f5b3fd..72d4f706 100644 --- a/flows/flows.bzl +++ b/flows/flows.bzl @@ -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)