From a54fa37c4363249f4a4824d3e6c137d8c1ad5bde Mon Sep 17 00:00:00 2001 From: Marwan Abbas <67271180+marwaneltoukhy@users.noreply.github.com> Date: Thu, 7 Apr 2022 16:31:07 +0200 Subject: [PATCH] Volare integration (#53) * new target pdk-with-volare * minor change * added volare update * minor modifications --- Makefile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/Makefile b/Makefile index 58296114..638be245 100644 --- a/Makefile +++ b/Makefile @@ -1212,6 +1212,25 @@ else rm -rf $(MCW_ROOT)/* endif + +########################################################################### + +.PHONY: pdk-with-volare +pdk-with-volare: check-python install-volare $(OPENLANE_ROOT)/dependencies/tool_metadata.yml + @volare enable -f $(OPENLANE_ROOT)/dependencies/tool_metadata.yml + +check-python: +ifeq ($(shell which python3),) +$(error Please install python 3.6+) +endif + +install-volare: + python3 -m pip install --upgrade volare + +$(OPENLANE_ROOT)/dependencies/tool_metadata.yml: + $(error either openlane is missing or OPENLANE_ROOT is not exported) + + ########################################################################### pdk-with-sram: pdk .PHONY: pdk