From 5b3323131f741f8c3d37b5fe3b66b5ebd691f4e6 Mon Sep 17 00:00:00 2001 From: marwaneltoukhy Date: Mon, 4 Dec 2023 12:42:39 +0200 Subject: [PATCH] changed precheck to private and seperated precheck with lvs and without lvs --- Makefile | 51 ++++++++++++++++++++++++++------------------------- 1 file changed, 26 insertions(+), 25 deletions(-) diff --git a/Makefile b/Makefile index 38baada64..5bdb340ee 100644 --- a/Makefile +++ b/Makefile @@ -264,31 +264,32 @@ check_versions: .PHONY: run-precheck run-precheck: check_versions check-pdk check-precheck - @if [ "$$DISABLE_LVS" = "1" ]; then\ - $(eval INPUT_DIRECTORY := $(shell pwd)) \ - cd $(PRECHECK_ROOT) && \ - docker run -it -v $(PRECHECK_ROOT):$(PRECHECK_ROOT) \ - -v $(INPUT_DIRECTORY):$(INPUT_DIRECTORY) \ - -v $(PDK_ROOT):$(PDK_ROOT) \ - -e INPUT_DIRECTORY=$(INPUT_DIRECTORY) \ - -e PDK_PATH=$(PDK_ROOT)/$(PDK) \ - -e PDK_ROOT=$(PDK_ROOT) \ - -e PDKPATH=$(PDKPATH) \ - -u $(shell id -u $(USER)):$(shell id -g $(USER)) \ - efabless/mpw_precheck:latest bash -c "cd $(PRECHECK_ROOT) ; python3 mpw_precheck.py --input_directory $(INPUT_DIRECTORY) --pdk_path $(PDK_ROOT)/$(PDK) license makefile default documentation consistency gpio_defines xor magic_drc klayout_feol klayout_beol klayout_offgrid klayout_met_min_ca_density klayout_pin_label_purposes_overlapping_drawing klayout_zeroarea"; \ - else \ - $(eval INPUT_DIRECTORY := $(shell pwd)) \ - cd $(PRECHECK_ROOT) && \ - docker run -it -v $(PRECHECK_ROOT):$(PRECHECK_ROOT) \ - -v $(INPUT_DIRECTORY):$(INPUT_DIRECTORY) \ - -v $(PDK_ROOT):$(PDK_ROOT) \ - -e INPUT_DIRECTORY=$(INPUT_DIRECTORY) \ - -e PDK_PATH=$(PDK_ROOT)/$(PDK) \ - -e PDK_ROOT=$(PDK_ROOT) \ - -e PDKPATH=$(PDKPATH) \ - -u $(shell id -u $(USER)):$(shell id -g $(USER)) \ - efabless/mpw_precheck:latest bash -c "cd $(PRECHECK_ROOT) ; python3 mpw_precheck.py --input_directory $(INPUT_DIRECTORY) --pdk_path $(PDK_ROOT)/$(PDK)"; \ - fi + $(eval INPUT_DIRECTORY := $(shell pwd)) \ + cd $(PRECHECK_ROOT) && \ + docker run -it -v $(PRECHECK_ROOT):$(PRECHECK_ROOT) \ + -v $(INPUT_DIRECTORY):$(INPUT_DIRECTORY) \ + -v $(PDK_ROOT):$(PDK_ROOT) \ + -e INPUT_DIRECTORY=$(INPUT_DIRECTORY) \ + -e PDK_PATH=$(PDK_ROOT)/$(PDK) \ + -e PDK_ROOT=$(PDK_ROOT) \ + -e PDKPATH=$(PDKPATH) \ + -u $(shell id -u $(USER)):$(shell id -g $(USER)) \ + efabless/mpw_precheck:latest bash -c "cd $(PRECHECK_ROOT) ; python3 mpw_precheck.py --input_directory $(INPUT_DIRECTORY) --pdk_path $(PDK_ROOT)/$(PDK) --private"; \ + + +.PHONY: run-precheck-no-lvs +run-precheck-no-lvs: check_versions check-pdk check-precheck + $(eval INPUT_DIRECTORY := $(shell pwd)) \ + cd $(PRECHECK_ROOT) && \ + docker run -it -v $(PRECHECK_ROOT):$(PRECHECK_ROOT) \ + -v $(INPUT_DIRECTORY):$(INPUT_DIRECTORY) \ + -v $(PDK_ROOT):$(PDK_ROOT) \ + -e INPUT_DIRECTORY=$(INPUT_DIRECTORY) \ + -e PDK_PATH=$(PDK_ROOT)/$(PDK) \ + -e PDK_ROOT=$(PDK_ROOT) \ + -e PDKPATH=$(PDKPATH) \ + -u $(shell id -u $(USER)):$(shell id -g $(USER)) \ + efabless/mpw_precheck:latest bash -c "cd $(PRECHECK_ROOT) ; python3 mpw_precheck.py --input_directory $(INPUT_DIRECTORY) --pdk_path $(PDK_ROOT)/$(PDK) license makefile consistency gpio_defines xor magic_drc klayout_feol klayout_beol klayout_offgrid klayout_met_min_ca_density klayout_pin_label_purposes_overlapping_drawing klayout_zeroarea oeb"; \ BLOCKS = $(shell cd lvs && find * -maxdepth 0 -type d)