Skip to content

Commit f9c77f3

Browse files
authored
Merge pull request #1931 from Pinata-Consulting/makefile-skip-targets-are-moot
makefile: skip_ targets are moot with introduction of ABSTRACT_SOURCE
2 parents 7585802 + de74485 commit f9c77f3

File tree

1 file changed

+1
-39
lines changed

1 file changed

+1
-39
lines changed

flow/Makefile

Lines changed: 1 addition & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -858,49 +858,11 @@ do-finish:
858858
mkdir -p $(LOG_DIR) $(REPORTS_DIR)
859859
$(UNSET_AND_MAKE) do-6_1_fill do-6_1_fill.sdc do-6_final.sdc do-6_report do-gds elapsed
860860

861-
.PHONY: skip_place
862-
skip_place: $(RESULTS_DIR)/2_floorplan.odb $(RESULTS_DIR)/2_floorplan.sdc
863-
cp $(RESULTS_DIR)/2_floorplan.odb $(RESULTS_DIR)/3_1_place_gp_skip_io.odb
864-
cp $(RESULTS_DIR)/2_floorplan.odb $(RESULTS_DIR)/3_2_place_iop.odb
865-
cp $(RESULTS_DIR)/2_floorplan.odb $(RESULTS_DIR)/3_3_place_gp.odb
866-
cp $(RESULTS_DIR)/2_floorplan.odb $(RESULTS_DIR)/3_4_place_resized.odb
867-
cp $(RESULTS_DIR)/2_floorplan.odb $(RESULTS_DIR)/3_5_place_dp.odb
868-
cp $(RESULTS_DIR)/2_floorplan.odb $(RESULTS_DIR)/3_place.odb
869-
cp $(RESULTS_DIR)/2_floorplan.sdc $(RESULTS_DIR)/3_place.sdc
870-
871-
.PHONY: skip_resize
872-
skip_resize: $(RESULTS_DIR)/3_3_place_gp.odb
873-
cp $(RESULTS_DIR)/3_3_place_gp.odb $(RESULTS_DIR)/3_4_place_resized.odb
874-
875-
.PHONY: skip_cts
876-
skip_cts: $(RESULTS_DIR)/3_place.odb $(RESULTS_DIR)/3_place.sdc
877-
# mock all intermediate results
878-
cp $(RESULTS_DIR)/3_place.odb $(RESULTS_DIR)/4_1_cts.odb
879-
cp $(RESULTS_DIR)/3_place.sdc $(RESULTS_DIR)/4_cts.sdc
880-
cp $(RESULTS_DIR)/3_place.odb $(RESULTS_DIR)/4_cts.odb
881-
882-
.PHONY: skip_route
883-
skip_route: $(RESULTS_DIR)/4_cts.odb $(RESULTS_DIR)/4_cts.sdc
884-
cp $(RESULTS_DIR)/3_place.odb $(RESULTS_DIR)/5_1_grt.odb
885-
cp $(RESULTS_DIR)/3_place.odb $(RESULTS_DIR)/5_2_route.odb
886-
cp $(RESULTS_DIR)/3_place.odb $(RESULTS_DIR)/6_1_fill.odb
887-
touch $(RESULTS_DIR)/6_final.spef
888-
889-
# A mock abstract is a fully or partially eviscerated macro. A mock
890-
# abstract can be useful when creating bug reports, previewing
891-
# macro placement, testing detailed routing, or other quick smoke-tests
892-
# at the top level.
893-
#
894-
# When creating a mock abstract, depending on what needs to be tested,
895-
# stages can be skipped.
896-
#
897-
# Leave out "skip_" targes as approperiate:
898-
#
899-
# make skip_place skip_cts skip_route generate_abstract
900861
.PHONY: generate_abstract
901862
generate_abstract: $(RESULTS_DIR)/6_final.gds $(RESULTS_DIR)/6_final.def $(RESULTS_DIR)/6_final.v $(RESULTS_DIR)/6_final.sdc
902863
$(UNSET_AND_MAKE) do-generate_abstract
903864

865+
# Set ABSTRACT_SOURCE if you want to create an abstract from another stage than 6_final.
904866
.PHONY: do-generate_abstract
905867
do-generate_abstract:
906868
mkdir -p $(LOG_DIR) $(REPORTS_DIR)

0 commit comments

Comments
 (0)