File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -1054,7 +1054,7 @@ klayout:
10541054.phony : run
10551055run :
10561056 @mkdir -p $(RESULTS_DIR ) $(LOG_DIR ) $(REPORTS_DIR ) $(OBJECTS_DIR )
1057- ($( OPENROAD_CMD) -no_splash $( if $( filter %.py,$( RUN_SCRIPT) ) ,-python) $( RUN_SCRIPT) 2>&1 | tee $( abspath $( LOG_DIR) /run .log) )
1057+ ($( OPENROAD_CMD) -no_splash $( if $( filter %.py,$( RUN_SCRIPT) ) ,-python) $( RUN_SCRIPT) 2>&1 | tee $( abspath $( LOG_DIR) /$( RUN_LOG_NAME_STEM ) .log) )
10581058
10591059# Utilities
10601060# -------------------------------------------------------------------------------
Original file line number Diff line number Diff line change @@ -875,3 +875,12 @@ GDS_ALLOW_EMPTY:
875875 Regular expression of module names of macros that have no .gds file
876876 stages :
877877 - final
878+ RUN_SCRIPT :
879+ description : >
880+ Path to script to run from `make run`, python or tcl script detected by
881+ .py or .tcl extension.
882+ RUN_LOG_NAME_STEM :
883+ description : >
884+ Stem of the log file name, the log file will be named
885+ `$(LOG_DIR)/$(RUN_LOG_NAME_STEM).log`.
886+ default : run
You can’t perform that action at this time.
0 commit comments