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
+# switch to the nextpnr-xilinx source provided by the openXC7 project
+# it seems more stable than upstream, for now
+# See: https://bugs.libre-soc.org/show_bug.cgi?id=1004#c13
+git clone https://github.com/openXC7/nextpnr-xilinx.git
## Steps to compile prjxray
apt-get install -y build-essential make cmake python3 python3-setuptools \
python3-dev python3-numpy cython3 python3-pip
-pip3 install textx
+pip3 install textx sortedcontainers
# this really doesn't work properly, antlr is still not correctly
# detected, (missing ANTLRconfig.cmake) but at least fasm falls back
### Build prjxray
cd prjxray
-git checkout 18b92012afe2b03f3f975a78c4372c74b60dca0c
+git checkout 76401bd93e493fd5ff4c2af4751d12105b0f4f6d
git submodule update --init --recursive
mkdir build; cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr/local/nextpnr-xilinx ..
libboost-program-options-dev libeigen3-dev libboost-python-dev \
libboost-filesystem-dev
-### Build nextpnr-xilinx
+### Build nextpnr-xilinx from release 0.7.0 of openXC7
cd nextpnr-xilinx
-git checkout 565588a69ea95a52f7c7592f4ed81d9bef6cfb60
+git checkout 1c57f511f80945a709d1d43478d39ad0b6cd51d2
git submodule init
git submodule update
cmake -DARCH=xilinx -DBUILD_GUI=OFF \