From: Luke Kenneth Casson Leighton Date: Sun, 10 Oct 2021 10:14:26 +0000 (+0100) Subject: add buster-backports and fpga-interchange X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9acff23d8e121186233b1daafaba1645f910ae8e;p=dev-env-setup.git add buster-backports and fpga-interchange --- diff --git a/symbiflow-install b/symbiflow-install index eab9fd0..b44e2a0 100755 --- a/symbiflow-install +++ b/symbiflow-install @@ -5,7 +5,18 @@ if [ "$EUID" -ne 0 ] 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 @@ -235,6 +246,12 @@ git checkout v1.0.0b1 pip3 install . cd .. +## Steps to install fpga-interchange +cd python-fpga-interchange +git checkout v0.0.18 # pick stable version 0.0.18 +python3 setup.py install +cd .. + ## Steps to compile symbiflow-arch-defs ## Necessary software to install @@ -250,8 +267,6 @@ pip3 install textx fasm pyjson5 pyyaml tinyfpgab tinyprog pyjson lxml \ progressbar2 hilbertcurve==1.0.5 python-constraint parameterized \ yapf==0.26.0 python-sat -pip3 install python-fpga-interchange - cd symbiflow-arch-defs git submodule init git submodule update --init --recursive