Change pdk path in root directory mount command.

This commit is contained in:
mrg 2022-06-09 06:38:33 -07:00
parent d30f05a1ae
commit ef7120c5cd
2 changed files with 4 additions and 3 deletions

View File

@ -183,8 +183,9 @@ macros:
mount: mount:
@docker run -it -v $(TOP_DIR):/openram \ @docker run -it -v $(TOP_DIR):/openram \
-v $(SKY130_PDK):$(SKY130_PDK) \ -v $(PDK_ROOT):/pdk \
-e PDK_ROOT=$(PDK_ROOT) \ -e PDK_ROOT=/pdk \
-e PDKPATH=/pdk/sky130A \
-e OPENRAM_HOME=/openram/compiler \ -e OPENRAM_HOME=/openram/compiler \
-e OPENRAM_TECH=/openram/technology \ -e OPENRAM_TECH=/openram/technology \
-v /etc/passwd:/etc/passwd:ro -v /etc/group:/etc/group:ro \ -v /etc/passwd:/etc/passwd:ro -v /etc/group:/etc/group:ro \

View File

@ -2,7 +2,7 @@ OPENRAM_HOME := $(abspath $(TOP_DIR)/compiler)
OPENRAM_TECH := $(abspath $(TOP_DIR)/technology) OPENRAM_TECH := $(abspath $(TOP_DIR)/technology)
OPENRAM_COMPILER := $(OPENRAM_HOME)/openram.py OPENRAM_COMPILER := $(OPENRAM_HOME)/openram.py
PDK_ROOT = $(TOP_DIR) PDK_ROOT ?= $(TOP_DIR)
ifeq (,$(wildcard $(OPENRAM_COMPILER))) ifeq (,$(wildcard $(OPENRAM_COMPILER)))
$(error Did not find '$(OPENRAM_COMPILER)' in '$(OPENRAM_HOME)' (from $$OPENRAM_HOME)) $(error Did not find '$(OPENRAM_COMPILER)' in '$(OPENRAM_HOME)' (from $$OPENRAM_HOME))