X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=install-hdl-apt-reqs;h=52cad9234561d1c0fc50ffac7dd05fa1b0d021d9;hb=HEAD;hp=8ea223086943f0b4bfdadd4acb3ac1857d468c21;hpb=4f496353ca3ff22d965ec808a297f7ecffc68d79;p=dev-env-setup.git diff --git a/install-hdl-apt-reqs b/install-hdl-apt-reqs index 8ea2230..6ade398 100755 --- a/install-hdl-apt-reqs +++ b/install-hdl-apt-reqs @@ -3,20 +3,7 @@ if [ "$EUID" -ne 0 ] then echo "Please run as root" exit fi -# for qemu 5.2 use debian/buster backports -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 - apt-get update -y -apt-get upgrade -y apt-get install -y autoconf \ bison \ build-essential \ @@ -26,7 +13,6 @@ apt-get install -y autoconf \ flex \ g++ \ gawk \ - gcc-8-powerpc64-linux-gnu \ git \ gperf \ graphviz \ @@ -35,16 +21,20 @@ apt-get install -y autoconf \ libboost-program-options-dev \ libevent-dev \ libffi-dev \ + libgtest-dev \ libjson-c-dev \ libftdi-dev \ libgmp-dev \ libmpfr-dev \ libpng++-dev \ + libpython3.7-dev \ libreadline-dev \ libreadline7 \ + minicom \ ninja-build \ pkg-config \ python \ + python2.7 \ python-dev \ python-setuptools \ python-virtualenv \ @@ -54,14 +44,35 @@ apt-get install -y autoconf \ python3-setuptools \ python-svgwrite \ python3-svgwrite \ + python3-cffi \ python3-venv \ + python3-jinja2 \ python3-sphinx \ python3-sphinx-rtd-theme \ python3-recommonmark \ - qemu-system-ppc/buster-backports \ + python3-pandocfilters \ + python3-toml \ + pandoc \ + rsync \ + ssh \ + texstudio \ + texlive \ + texlive-latex-extra \ + texlive-xetex \ + inkscape \ tcl \ tcl-dev \ tcl-tclreadline \ vim \ wget \ xdot + +# have to also upgrade sysvinit-core to stop it getting removed +apt-get -t buster-backports install -y qemu-system-ppc/buster-backports + +# if doing this on ppc64le it may fail +apt-get install -y gcc-8-powerpc64-linux-gnu +apt-get install -y gcc-8-powerpc64le-linux-gnu +# install the gcc binaries above, but without the trailing "8" +apt-get install -y gcc-powerpc64-linux-gnu +apt-get install -y gcc-powerpc64le-linux-gnu