Skip to content

Commit

Permalink
Merge pull request #1929 from Pinata-Consulting/makefile-improved-log…
Browse files Browse the repository at this point in the history
…ging

makefile: improve logging, include name of stage as well as which script is running
  • Loading branch information
maliberty committed Apr 11, 2024
2 parents f9c77f3 + 5078bbc commit fa65097
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flow/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ $(if $(5),$(5),$(RESULTS_DIR))/$(1)$(if $(4),$(4),.odb): $(2)

.PHONY: do-$(1)
do-$(1): copyright.txt
@echo Running $(3).tcl
@echo Running $(3).tcl, stage $(1)
@(trap 'mv $(LOG_DIR)/$(1).tmp.log $(LOG_DIR)/$(1).log' EXIT; \
$(OPENROAD_CMD) $(SCRIPTS_DIR)/noop.tcl 2>&1 >$(LOG_DIR)/$(1).tmp.log; \
$(TIME_CMD) $(OPENROAD_CMD) -no_splash $(SCRIPTS_DIR)/$(3).tcl -metrics $(LOG_DIR)/$(1).json 2>&1 | \
Expand Down

0 comments on commit fa65097

Please sign in to comment.