From: Luke Kenneth Casson Leighton Date: Mon, 4 Apr 2022 16:56:58 +0000 (+0100) Subject: remove backports and installation of yosys, this is X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0353705b4ac16abab3fb59c0a717807b2ec1df34;p=dev-env-setup.git remove backports and installation of yosys, this is the responsibility of the yosys-install script --- diff --git a/nextpnr-xilinx-install b/nextpnr-xilinx-install index 1b5d085..12aca7f 100755 --- a/nextpnr-xilinx-install +++ b/nextpnr-xilinx-install @@ -4,31 +4,13 @@ if [ "$EUID" -ne 0 ] 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 @@ -41,18 +23,6 @@ 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 -### 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