remove backports and installation of yosys, this is
[dev-env-setup.git] / nextpnr-xilinx-install
index 1b5d08580712f6b4bff74b8c2109cb77a5bd61f9..12aca7fe1371c33626e0e14f98c52487ee7fb9bb 100755 (executable)
@@ -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