Skip to content

Commit 4a68ecf

Browse files
authored
Merge pull request #4340 from oharboe/run-tee-consistency
flow: route 'run' target through run_command.py for consistent logging
2 parents 28bfcce + 70ec619 commit 4a68ecf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎flow/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -839,7 +839,7 @@ klayout:
839839
.phony: run
840840
run:
841841
@mkdir -p $(RESULTS_DIR) $(LOG_DIR) $(REPORTS_DIR) $(OBJECTS_DIR)
842-
($(OPENROAD_CMD) -no_splash $(if $(filter %.py,$(RUN_SCRIPT)),-python) $(RUN_SCRIPT) 2>&1 | tee $(abspath $(LOG_DIR)/$(RUN_LOG_NAME_STEM).log))
842+
$(RUN_CMD) --log $(abspath $(LOG_DIR)/$(RUN_LOG_NAME_STEM).log) --tee -- $(OPENROAD_CMD) -no_splash $(if $(filter %.py,$(RUN_SCRIPT)),-python) $(RUN_SCRIPT)
843843

844844
export RUN_YOSYS_ARGS ?= -c $(SCRIPTS_DIR)/yosys_keep.tcl
845845
.phony: run-yosys

0 commit comments

Comments
 (0)