Skip to content

Commit 8282351

Browse files
authored
Merge pull request #1569 from Pinata-Consulting/makefile-do-cts-missed-a-spot
makefile: missed one, create log and reports dir for do-cts
2 parents 1a3e3a2 + 3053330 commit 8282351

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

flow/Makefile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -693,6 +693,7 @@ $(eval $(call do-copy,4_cts,4_2_cts_fillcell.odb))
693693

694694
.PHONY: do-cts
695695
do-cts:
696+
mkdir -p $(LOG_DIR) $(REPORTS_DIR)
696697
$(UNSET_AND_MAKE) do-4_1_cts do-4_2_cts_fillcell do-4_cts
697698

698699
.PHONY: clean_cts
@@ -801,6 +802,14 @@ $(eval $(call do-step,6_report,$(RESULTS_DIR)/6_1_fill.odb $(RESULTS_DIR)/6_1_fi
801802

802803
$(RESULTS_DIR)/6_final.def: $(LOG_DIR)/6_report.log
803804

805+
# The final results are called 6_final.*, so it is convenient when scripting
806+
# to have the names of the artifacts match the name of the target
807+
.PHONY: do-final
808+
do-final: do-finish
809+
810+
.PHONY: final
811+
final: finish
812+
804813
.PHONY: do-finish
805814
do-finish:
806815
mkdir -p $(LOG_DIR) $(REPORTS_DIR)
@@ -852,6 +861,7 @@ generate_abstract: $(RESULTS_DIR)/6_final.gds $(RESULTS_DIR)/6_final.def $(RESU
852861

853862
.PHONY: do-generate_abstract
854863
do-generate_abstract:
864+
mkdir -p $(LOG_DIR) $(REPORTS_DIR)
855865
($(TIME_CMD) $(OPENROAD_CMD) $(SCRIPTS_DIR)/generate_abstract.tcl -metrics $(LOG_DIR)/generate_abstract.json) 2>&1 | tee $(LOG_DIR)/generate_abstract.log
856866

857867
.PHONY: clean_abstract

0 commit comments

Comments
 (0)