File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -608,10 +608,11 @@ endif
608608.PHONY: do-$(1 )
609609do-$(1 ) : $(OBJECTS_DIR ) /copyright.txt
610610 @echo Running $(3 ) .tcl, stage $(1 )
611- @(trap 'mv $(LOG_DIR ) /$(1 ) .tmp.log $(LOG_DIR ) /$(1 ) .log' EXIT; \
612- $(OPENROAD_EXE ) -exit -no_init $(SCRIPTS_DIR ) /noop.tcl 2>&1 >$(LOG_DIR ) /$(1 ) .tmp.log; \
613- $(TIME_CMD ) $(OPENROAD_CMD ) -no_splash $(SCRIPTS_DIR ) /$(3 ) .tcl -metrics $(LOG_DIR ) /$(1 ) .json 2>&1 | \
614- tee -a $(LOG_DIR ) /$(1 ) .tmp.log)
611+ @(set -eo pipefail; \
612+ trap 'mv $(LOG_DIR ) /$(1 ) .tmp.log $(LOG_DIR ) /$(1 ) .log' EXIT; \
613+ $(OPENROAD_EXE ) -exit -no_init $(SCRIPTS_DIR ) /noop.tcl 2>&1 >$(LOG_DIR ) /$(1 ) .tmp.log; \
614+ $(TIME_CMD ) $(OPENROAD_CMD ) -no_splash $(SCRIPTS_DIR ) /$(3 ) .tcl -metrics $(LOG_DIR ) /$(1 ) .json 2>&1 | \
615+ tee -a $(LOG_DIR ) /$(1 ) .tmp.log)
615616endef
616617
617618# generate make rules to copy a file, if a dependency change and
You can’t perform that action at this time.
0 commit comments