diff --git a/Makefile b/Makefile index 6e5a7b13..29278892 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/compiler/tests/Makefile b/compiler/tests/Makefile index 2cd5c17d..5c09d88f 100644 --- a/compiler/tests/Makefile +++ b/compiler/tests/Makefile @@ -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 diff --git a/openram.mk b/openram.mk index a8776b2e..742b31d0 100644 --- a/openram.mk +++ b/openram.mk @@ -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 +