Skip to content

Commit

Permalink
avoid pdk version checking in openlane (#61)
Browse files Browse the repository at this point in the history
* Update Makefile

Update to workaround pdk version matching in Openlane

* Update Makefile

updated OPENLANE_TAG
  • Loading branch information
jeffdi authored Apr 11, 2022
1 parent 14142eb commit 2957357
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion openlane/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ BLOCKS = $(shell find * -maxdepth 0 -type d)
CONFIG = $(foreach block,$(BLOCKS), ./$(block)/config.tcl)
CLEAN = $(foreach block,$(BLOCKS), clean-$(block))

OPENLANE_TAG ?= 2021.11.23_01.42.34
OPENLANE_TAG ?= 7891c2c8859e8c800226920c181fa039ad298e79
OPENLANE_IMAGE_NAME ?= efabless/openlane:$(OPENLANE_TAG)
OPENLANE_BASIC_COMMAND = "cd $(PWD)/../openlane && flow.tcl -design ./$* -save_path .. -save -tag $* -overwrite"
OPENLANE_INTERACTIVE_COMMAND = "cd $(PWD)/../openlane && flow.tcl -it -file ./$*/interactive.tcl"
Expand Down Expand Up @@ -49,6 +49,7 @@ endif
-e PDK_ROOT=$(PDK_ROOT) \
-e CARAVEL_ROOT=$(CARAVEL_ROOT) \
-e PDK=$(PDK) \
-e TEST_MISMATCHES=tools \
-u $(shell id -u $(USER)):$(shell id -g $(USER)) \
$(OPENLANE_IMAGE_NAME) sh -c $(OPENLANE_INTERACTIVE_COMMAND);\
else\
Expand All @@ -59,6 +60,7 @@ endif
-e PDK=$(PDK) \
-e PDK_ROOT=$(PDK_ROOT) \
-e CARAVEL_ROOT=$(CARAVEL_ROOT) \
-e TEST_MISMATCHES=tools \
-u $(shell id -u $(USER)):$(shell id -g $(USER)) \
$(OPENLANE_IMAGE_NAME) sh -c $(OPENLANE_BASIC_COMMAND);\
fi
Expand Down

0 comments on commit 2957357

Please sign in to comment.