osic-stacks/stacks/chipathon-tools/scripts/install-open-pdks.sh
Aquiles Viza 455c759f08
Some checks failed
release / build-base (push) Successful in 6m56s
release / build-digital-icarus (push) Successful in 19m22s
release / build-digital-heavy (push) Successful in 20m46s
release / build-digital-ator (push) Successful in 20m51s
release / build-analog-xk (push) Successful in 22m26s
release / build-analog-xm (push) Successful in 22m48s
release / build-analog-heavy (push) Successful in 24m33s
release / build-heavy (push) Successful in 24m33s
release / build-chipathon-tools (push) Failing after 6m32s
Fixed install open pdks
2023-12-23 21:14:05 -03:00

34 lines
993 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_COMMIT}" --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_COMMIT}" --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