mirror of https://github.com/VLSIDA/OpenRAM.git
Handle tilde in the tech module of freepdk45
This commit is contained in:
parent
6177c85577
commit
3bf6ee1a91
|
|
@ -25,7 +25,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
export OPENRAM_HOME="${{ github.workspace }}/compiler"
|
export OPENRAM_HOME="${{ github.workspace }}/compiler"
|
||||||
export OPENRAM_TECH="${{ github.workspace }}/technology"
|
export OPENRAM_TECH="${{ github.workspace }}/technology"
|
||||||
export FREEPDK45="/home/github-runner/FreePDK45"
|
export FREEPDK45="~/FreePDK45"
|
||||||
# KLAYOUT_PATH breaks klayout installation. Unset it for now...
|
# KLAYOUT_PATH breaks klayout installation. Unset it for now...
|
||||||
unset KLAYOUT_PATH
|
unset KLAYOUT_PATH
|
||||||
#cd $OPENRAM_HOME/.. && make pdk && make install
|
#cd $OPENRAM_HOME/.. && make pdk && make install
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ TECHNOLOGY = "freepdk45"
|
||||||
PDK_PATH=os.environ.get("FREEPDK45")
|
PDK_PATH=os.environ.get("FREEPDK45")
|
||||||
if PDK_PATH==None:
|
if PDK_PATH==None:
|
||||||
debug.error("Must define FREEPDK45 to point to PDK.", -1)
|
debug.error("Must define FREEPDK45 to point to PDK.", -1)
|
||||||
PDK_DIR=os.path.abspath(PDK_PATH)
|
PDK_DIR=os.path.abspath(os.path.expanduser(PDK_PATH))
|
||||||
os.environ["PDK_DIR"] = PDK_DIR
|
os.environ["PDK_DIR"] = PDK_DIR
|
||||||
os.environ["SYSTEM_CDS_LIB_DIR"] = "{0}/ncsu_basekit/cdssetup".format(PDK_DIR)
|
os.environ["SYSTEM_CDS_LIB_DIR"] = "{0}/ncsu_basekit/cdssetup".format(PDK_DIR)
|
||||||
os.environ["CDS_SITE"] = PDK_DIR
|
os.environ["CDS_SITE"] = PDK_DIR
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue