Skip to content

Commit

Permalink
place_and_route: openroad: append env vars to default_shell_env
Browse files Browse the repository at this point in the history
Don't use clean environment when running openroad commands.
Append env vars to existing ctx.configuration.default_shell_env
to facilitate passing more env vars through bazel  argument

Internal-Tag: #[49957]
Signed-off-by: Pawel Czarnecki <[email protected]>
  • Loading branch information
lpawelcz committed Jan 12, 2024
1 parent 08884ef commit 03b5154
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion place_and_route/open_road.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ def openroad_command(ctx, commands, input_db = None, step_name = None, inputs =
input_manifests = input_manifests,
env = {
"TCL_LIBRARY": openroad_runfiles_dir + "/tk_tcl/library",
},
} | ctx.configuration.default_shell_env,
execution_requirements = execution_requirements,
mnemonic = "OpenROAD",
toolchain = None,
Expand Down

0 comments on commit 03b5154

Please sign in to comment.