Move pdk paths to docker invocation

This commit is contained in:
mrg 2022-02-08 12:05:39 -08:00
parent b1e1763e14
commit 4d62cbd345
2 changed files with 5 additions and 8 deletions

View File

@ -66,7 +66,10 @@ $(TEST_BASES):
@docker run \
-v $(TOP_DIR):/openram \
-v $(FREEPDK45):/pdk/freepdk45\
-e FREEPDK45=/pdk/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) \
-e OPENRAM_TMP=$(OPENRAM_DIR)/results/$*/tmp \
@ -83,6 +86,8 @@ mount:
-v $(TOP_DIR):/openram \
-v $(FREEPDK45):/pdk/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

View File

@ -14,14 +14,6 @@ export XYCE_LIB=$XYCE_HOME/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$XYCE_LIB
export XYCE_NO_TRACKING="anything at all"
# PDKs
export FREEPDK45=/pdk/freepdk45
# Set to the PDK you want to use
export PDK_DIR=$FREEPDK45
# Skywater PDK
export PDK_ROOT=/pdk
# OpenRAM
export OPENRAM_HOME=/openram/compiler
export OPENRAM_TECH=/openram/technology