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 Oct 23, 2023
1 parent 64688e6 commit 66f3155
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
@@ -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",
)

0 comments on commit 66f3155

Please sign in to comment.