exit
fi
-echo "Current USER=$USER"
+echo "Current USER=$USER"
# Install apt dependencies
echo Installing necessary apt dependencies in the chroot
# Build and install yosys from source
# note that a specific version of yosys is needed for ls180 at the moment
echo "deb-src http://ftp.debian.org/debian buster main" > /etc/apt/sources.list.d/bustersrc.list
-sudo apt-get update -y
+sudo apt-get update -y
sudo apt-get build-dep yosys -y
cd /home/$USER
cd /home/$USER/coriolis-2.x/src
git clone https://gitlab.lip6.fr/vlsi-eda/coriolis.git
cd coriolis
-git checkout devel
+# check out Libre-SOC 180nm ASIC version
+#git checkout devel
+git checkout LS180_RC7_FINAL
# guaranteed to fail ./bootstrap/ccb.py --project=coriolis --make="-j$(nproc) install"
./bootstrap/ccb.py --project=coriolis --make="-j1 install"