From 131618d64962a68c48a5c549658fc87a80363d3f Mon Sep 17 00:00:00 2001 From: marwaneltoukhy Date: Sun, 3 Sep 2023 17:23:10 +0300 Subject: [PATCH] update make setup --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a0a9fbb5f..42dc3a083 100644 --- a/Makefile +++ b/Makefile @@ -107,7 +107,7 @@ simenv: docker pull efabless/dv:latest .PHONY: setup -setup: check_dependencies install check-env install_mcw openlane pdk-with-volare setup-timing-scripts setup-cocotb +setup: check_dependencies install check-env install_mcw openlane pdk-with-volare setup-timing-scripts setup-cocotb precheck # Openlane blocks=$(shell cd openlane && find * -maxdepth 0 -type d) @@ -225,6 +225,11 @@ uninstall: # Default installs to the user home directory, override by "export PRECHECK_ROOT=" .PHONY: precheck precheck: + if [ -d "$(PRECHECK_ROOT)" ]; then\ + echo "Deleting exisiting $(PRECHECK_ROOT)" && \ + rm -rf $(PRECHECK_ROOT) && sleep 2;\ + fi + @echo "Installing Precheck.." @git clone --depth=1 --branch $(MPW_TAG) https://github.com/efabless/mpw_precheck.git $(PRECHECK_ROOT) @docker pull efabless/mpw_precheck:latest