Move mount to shared target in openram.mk

This commit is contained in:
mrg 2022-06-09 06:44:23 -07:00
parent ef7120c5cd
commit e744ffd6ea
3 changed files with 13 additions and 27 deletions

View File

@ -181,18 +181,6 @@ macros:
.PHONY: macros
mount:
@docker run -it -v $(TOP_DIR):/openram \
-v $(PDK_ROOT):/pdk \
-e PDK_ROOT=/pdk \
-e PDKPATH=/pdk/sky130A \
-e OPENRAM_HOME=/openram/compiler \
-e OPENRAM_TECH=/openram/technology \
-v /etc/passwd:/etc/passwd:ro -v /etc/group:/etc/group:ro \
--user $(UID):$(GID) \
vlsida/openram-ubuntu:latest
.PHONY: mount
clean:
@rm -f *.zip
.PHONE: clean

View File

@ -139,21 +139,6 @@ $(TEST_BASES):
docker-pull:
docker pull vlsida/openram-ubuntu:latest
# Mount environment for debug
#
mount:
docker run -it \
-v $(TOP_DIR):/openram \
-v $(FREEPDK45):/freepdk45 \
-e FREEPDK45=/freepdk45\
-v $(PDK_ROOT):/pdk \
-e PDK_ROOT=/pdk \
-e PDKPATH=/pdk/sky130A \
-v /etc/passwd:/etc/passwd:ro -v /etc/group:/etc/group:ro \
--user $(UID):$(GID) \
vlsida/openram-ubuntu:latest
.PHONY: mount
clean:
@rm -rf $(TOP_DIR)/compiler/tests/results
.PHONE: clean

View File

@ -16,3 +16,16 @@ export PDK_ROOT
UID = $(shell id -u)
GID = $(shell id -g)
mount:
@docker run -it -v $(TOP_DIR):/openram \
-v $(PDK_ROOT):/pdk \
-e PDK_ROOT=/pdk \
-e PDKPATH=/pdk/sky130A \
-e OPENRAM_HOME=/openram/compiler \
-e OPENRAM_TECH=/openram/technology \
-v /etc/passwd:/etc/passwd:ro -v /etc/group:/etc/group:ro \
--user $(UID):$(GID) \
vlsida/openram-ubuntu:latest
.PHONY: mount