Skip to content

Commit c5bdd90

Browse files
committed
variables: document make run variables
Signed-off-by: Øyvind Harboe <[email protected]>
1 parent 4eb2777 commit c5bdd90

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

flow/Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1051,8 +1051,6 @@ test-unset-and-make-%: ; $(UNSET_AND_MAKE) $*
10511051
klayout:
10521052
$(KLAYOUT_CMD)
10531053

1054-
export RUN_LOG_NAME_STEM ?= run
1055-
10561054
.phony: run
10571055
run:
10581056
@mkdir -p $(RESULTS_DIR) $(LOG_DIR) $(REPORTS_DIR) $(OBJECTS_DIR)

flow/scripts/variables.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)