Skip to content

Commit 7f3aeaf

Browse files
committed
makefile: make it easier to find log
Use case is to follow logs of a running process on some computer without knowing the folder name of that process: - run ps -Af | grep openroad - run tail -f <full path>/5_3_route.tmp.log Signed-off-by: Øyvind Harboe <[email protected]>
1 parent 5d37deb commit 7f3aeaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flow/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ do-$(1): $(OBJECTS_DIR)/copyright.txt
630630
trap 'mv $(LOG_DIR)/$(1).tmp.log $(LOG_DIR)/$(1).log' EXIT; \
631631
$(OPENROAD_EXE) -exit -no_init $(SCRIPTS_DIR)/noop.tcl 2>&1 >$(LOG_DIR)/$(1).tmp.log; \
632632
$(TIME_CMD) $(OPENROAD_CMD) -no_splash $(SCRIPTS_DIR)/$(3).tcl -metrics $(LOG_DIR)/$(1).json 2>&1 | \
633-
tee -a $(LOG_DIR)/$(1).tmp.log)
633+
tee -a $(abspath $(LOG_DIR)/$(1).tmp.log))
634634
endef
635635

636636
# generate make rules to copy a file, if a dependency change and

0 commit comments

Comments
 (0)