Repository navigation
Commit 70ec619
committed
flow: route 'run' target through run_command.py for consistent logging
Every flow stage logs through `$(RUN_CMD) --log ... --tee -- ...`
(scripts/run_command.py) except the generic `run` target, which was the
lone holdout still shelling out to `2>&1 | tee`. Route it through
run_command.py like the rest.
This is a consistency cleanup, not a bugfix: .SHELLFLAGS already sets
`-o pipefail`, so the old pipeline propagated OpenROAD's exit status
correctly, and run_command.py returns the child's returncode, so exit
behavior is unchanged. One logging mechanism instead of two reduces
cognitive load and removes a copy-and-paste divergence.
As a side effect, the `run` target now gains the per-step timing and
peak-memory line run_command.py emits for every other stage, and the
RUNFILES_* scrubbing that keeps a parent Bazel invocation's runfiles
environment from leaking into the OpenROAD subprocess.
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>1 parent 4b3f266 commit 70ec619
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
839 | 839 | | |
840 | 840 | | |
841 | 841 | | |
842 | | - | |
| 842 | + | |
843 | 843 | | |
844 | 844 | | |
845 | 845 | | |
| |||
0 commit comments