mkdir -p src/symbiflow
cd src/symbiflow
-apt-get install -y libcurl3-gnutls/buster git/buster wget
+apt-get install -y libcurl3-gnutls/buster git/buster git-man/buster wget
git clone https://github.com/steveicarus/iverilog.git
git clone https://github.com/YosysHQ/yosys.git
git clone https://github.com/YosysHQ/abc.git
git clone https://github.com/oneapi-src/oneTBB.git
git clone https://github.com/verilog-to-routing/vtr-verilog-to-routing.git
-git clone https://github.com/cliffordwolf/icestorm.git
+git clone https://github.com/YosysHQ/icestorm.git
git clone https://github.com/SymbiFlow/prjxray.git
git clone https://github.com/SymbiFlow/prjxray-db.git
git clone https://github.com/SymbiFlow/yosys-symbiflow-plugins.git
git clone https://github.com/capnproto/capnproto.git
git clone https://github.com/capnproto/pycapnp.git
+# debian/10 libxml2 has an integer overflow error. blech.
wget http://xmlsoft.org/sources/libxml2-2.9.12.tar.gz
wget http://xmlsoft.org/sources/libxslt-1.1.34.tar.gz
# TBB_VTR=3 --- Build TBB and build one vtr without TBB and another with TBB
# Choose vtr with TBB as default
-export TBB_VTR=3
+export TBB_VTR=0
## Steps to compile oneTBB
if [ $TBB_VTR != 1 ]; then
cd vtr-verilog-to-routing
-git checkout 77a3df829fdf509a76b9d7b941376f3835c2576a
+git checkout d15ed677472e5cc30e6b79717196ac61150652aa
mkdir build; cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr/local/symbiflow/vtr ..
make -j $(nproc)
make install
install -v -d -m 0755 /usr/local/symbiflow/share/vtr
-install -v -m 0644 ../libs/libvtrcapnproto/gen/rr_graph_uxsdcxx.capnp /usr/local/symbiflow/share/vtr
+install -v -m 0644 ../libs/libvtrcapnproto/gen/rr_graph_uxsdcxx.capnp \
+ /usr/local/symbiflow/share/vtr
[ $TBB_VTR == 0 ] || [ $TBB_VTR == 2 ] && \
export PATH=/usr/local/symbiflow/vtr/bin:$PATH
cd ../..
if [ $TBB_VTR != 0 ]; then
cd vtr-verilog-to-routing
-git checkout 77a3df829fdf509a76b9d7b941376f3835c2576a
+git checkout d15ed677472e5cc30e6b79717196ac61150652aa
mkdir build-tbb; cd build-tbb
cmake -DCMAKE_INSTALL_PREFIX=/usr/local/symbiflow/vtr-tbb \
-DTBB_INCLUDE_DIR=/usr/local/symbiflow/oneTBB/include \