osic-stacks/stacks/chipathon-tools/scripts/install-open-pdks.sh
Aquiles Viza e9bba39379
Some checks failed
release / build-base (push) Successful in 10m6s
release / build-digital-ator (push) Successful in 24m11s
release / build-digital-heavy (push) Successful in 24m12s
release / build-digital-icarus (push) Successful in 24m21s
release / build-analog-xm (push) Successful in 25m19s
release / build-analog-xk (push) Successful in 28m14s
release / build-heavy (push) Successful in 28m27s
release / build-analog-heavy (push) Successful in 28m40s
release / build-chipathon-tools (push) Failing after 19s
Fixes in gf180mcu support for ngspice, xschem and klayout
2023-12-21 16:10:21 -03:00

34 lines
995 B
Bash

#!/bin/bash
set -ex
source ./global-variables.sh
#pip install git+https://github.com/gdsfactory/skywater130.git git+https://github.com/gdsfactory/gf180.git --upgrade --break-system-packages
# pip install gf180 --upgrade --break-system-packages
# pip install sky130 --upgrade --break-system-packages
pip install gdsfactory[cad]==7.3.0 --break-system-packages
######################
# INSTALL GF180MCU PDK
######################
volare enable "${OPEN_PDKS_VERSION}" --pdk gf180mcu
rm -rf $PDK_ROOT/volare/gf180mcu/versions/*/gf180mcuA
rm -rf $PDK_ROOT/volare/gf180mcu/versions/*/gf180mcuB
rm -rf $PDK_ROOT/volare/gf180mcu/versions/*/gf180mcuC
rm -rf $PDK_ROOT/gf180mcuA
rm -rf $PDK_ROOT/gf180mcuB
rm -rf $PDK_ROOT/gf180mcuC
####################
# INSTALL SKY130 PDK
####################
volare enable "${OPEN_PDKS_VERSION}" --pdk sky130
# remove version sky130B to save space (efabless TO use mostly sky130A)
rm -rf "$PDK_ROOT"/volare/sky130/versions/*/sky130B
rm -rf "$PDK_ROOT"/sky130B