From 30c1fde15b008631c13f98997a6095d4b9e487cb Mon Sep 17 00:00:00 2001 From: R Veera Kumar Date: Thu, 7 Apr 2022 03:52:26 +0530 Subject: [PATCH] Remove and add yosys and nextpnr-xilinx pkg dependencies Remove yosys dependencies Add proper prjxray dependencies Use python3 setup.py develop for prjxray Add proper nextpnr-xilinx dependencies --- nextpnr-xilinx-install | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/nextpnr-xilinx-install b/nextpnr-xilinx-install index 12aca7f..41d9f43 100755 --- a/nextpnr-xilinx-install +++ b/nextpnr-xilinx-install @@ -15,19 +15,14 @@ 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 -## Steps to compile Yosys - -### Necessary software to install - -apt-get install -y build-essential make g++ cmake bison flex python3 \ - clang libreadline-dev gawk tcl-dev libffi-dev pkg-config zlib1g-dev \ - libboost-system-dev libboost-python-dev libboost-filesystem-dev - ## Steps to compile prjxray ### Necessary software to install -apt-get install -y python3-pip +apt-get install -y build-essential make cmake python3 python3-setuptools \ + python3-dev python3-numpy cython3 python3-pip + +pip3 install textx fasm ### Build prjxray @@ -44,7 +39,7 @@ install -m 0755 tools/{bitread,bittool,frame_address_decoder,gen_part_base_yaml, cd .. cp -dpr utils /usr/local/nextpnr-xilinx sed -i -e '/^# Vivado /,$d' /usr/local/nextpnr-xilinx/utils/environment.sh -pip3 install . +python3 setup.py develop cd .. ## Steps to compile prjxray-db @@ -62,7 +57,8 @@ cd .. ### Necessary software to install apt-get install -y libboost-thread-dev libboost-iostreams-dev \ - libboost-program-options-dev libeigen3-dev + libboost-program-options-dev libeigen3-dev libboost-python-dev \ + libboost-filesystem-dev ### Build nextpnr-xilinx -- 2.30.2