exit
fi
-#!!! buster backports is needed for cmake
-cat << EOF > /etc/apt/sources.list.d/buster_backports.list
-deb http://deb.debian.org/debian buster-backports main
-EOF
-
-# oooo annoying, pin preferences for buster-backports
-cat << EOF > /etc/apt/preferences.d/99buster-backports
-Package: *
-Pin: release a=buster-backports
-Pin-Priority: 900
-EOF
-
-# upgrade to buster-backports
-apt-get update -y
-apt-get upgrade -y
-
# change into $SUDO_USER home directory
cd /home/$SUDO_USER
mkdir -p src/nextpnr-xilinx
cd src/nextpnr-xilinx
-apt-get install -y --allow-downgrades libcurl3-gnutls/buster git/buster git-man/buster
+apt-get install -y libcurl3-gnutls git git-man
-git clone https://github.com/YosysHQ/yosys.git
-git clone https://github.com/YosysHQ/abc.git
git clone https://github.com/f4pga/prjxray.git
git clone https://github.com/SymbiFlow/prjxray-db.git
git clone https://github.com/gatecat/nextpnr-xilinx.git
clang libreadline-dev gawk tcl-dev libffi-dev pkg-config zlib1g-dev \
libboost-system-dev libboost-python-dev libboost-filesystem-dev
-### Build Yosys
-
-cd abc
-git checkout 00b674d5b3ccefc7f2abcbf5b650fc14298ac549
-cd ../yosys
-git checkout 6318db6152d053244adb316fda6e01a32a4f3c72
-ln -s ../abc .
-make -j $(nproc) PREFIX=/usr/local/nextpnr-xilinx
-make PREFIX=/usr/local/nextpnr-xilinx install
-export PATH=/usr/local/nextpnr-xilinx/bin:$PATH
-cd ..
-
## Steps to compile prjxray
### Necessary software to install