-## Setting up new debootstrap and chroot into it
+# Setting up new debootstrap and chroot into it
Run the following if you wish to isolate the nextpnr-xilinx build
from other software (reproducible builds) or use the schroot
mount -t devpts devpts $MY_CHROOT/dev/pts/
chroot $MY_CHROOT /bin/bash
-## Download neccessary softwares
+# Download neccessary softwares
apt-get install -y libcurl3-gnutls/buster git/buster
git clone https://github.com/SymbiFlow/prjxray-db.git
git clone https://github.com/gatecat/nextpnr-xilinx.git
-## Steps to compile prjxray
+# Steps to compile prjxray
-### Necessary software to install
+## Necessary software to install
apt-get install -y python3-pip
-### Build prjxray
+## Build prjxray
cd prjxray
git checkout 18b92012afe2b03f3f975a78c4372c74b60dca0c
pip3 install .
cd ..
-## Steps to compile prjxray-db
+# Steps to compile prjxray-db
-### Install prjxray-db
+## Install prjxray-db
cd prjxray-db
git archive --format=tar --prefix=database/ \
tar -C /usr/local/nx -xf -
cd ..
-## Steps to compile nextpnr-xilinx
+# Steps to compile nextpnr-xilinx
-### Necessary software to install
+## Necessary software to install
apt-get install -y libboost-thread-dev libboost-iostreams-dev \
libboost-program-options-dev libeigen3-dev
-### Build nextpnr-xilinx
+## Build nextpnr-xilinx
cd nextpnr-xilinx
git checkout 565588a69ea95a52f7c7592f4ed81d9bef6cfb60