* [ariane/make] integrate ariane | have verilator be installed on path not in makefile * [misc] warn on verilator not found | search for v files | cleanup build.sbt + .gitignore * [firesim] bump * [ci] add midas ariane tests * [docker/ci] use new docker-image with verilator | re-elab on v changes for ariane | address comments * [ci] remove references to local verilator install * [verilator] update flags * [verilator] minimal set of flags for ariane * [ariane] bump ariane to master * [ci] revert to 4.016 verilator * [ci] install verilator to ci server | misc compile fixes * [ci/make] add longer ci timeout | update when assert is added in verilator sim * [firesim] bump for misc. updates * [make/ci] cleanup makefile and remove firesim tests of it * [docs/firesim] bump and clean docs * [firesim] bump * [ci] use remote verilator for midas tests * [misc] cleanup built.sbt more * [firesim] bump * [misc] bump build.sbt patch for tutorials * [firesim/ci] cleanup and bump firesim
28 lines
1.1 KiB
Bash
Executable File
28 lines
1.1 KiB
Bash
Executable File
#!/bin/bash
|
|
|
|
set -ex
|
|
|
|
sudo apt-get install -y build-essential bison flex
|
|
sudo apt-get install -y libgmp-dev libmpfr-dev libmpc-dev zlib1g-dev vim git default-jdk default-jre
|
|
# install sbt: https://www.scala-sbt.org/release/docs/Installing-sbt-on-Linux.html
|
|
echo "deb https://dl.bintray.com/sbt/debian /" | sudo tee -a /etc/apt/sources.list.d/sbt.list
|
|
curl -sL "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x2EE0EA64E40A89B84B2DF73499E82A75642AC823" | sudo apt-key add
|
|
sudo apt-get update
|
|
sudo apt-get install -y sbt
|
|
sudo apt-get install -y texinfo gengetopt
|
|
sudo apt-get install -y libxpat1-dev libusb-dev libncurses5-dev cmake
|
|
# deps for poky
|
|
sudo apt-get install -y python3.6 patch diffstat texi2html texinfo subversion chrpath git wget
|
|
# deps for qemu
|
|
sudo apt-get install -y libgtk-3-dev
|
|
# deps for firemarshal
|
|
sudo apt-get install -y python3-pip python3.6-dev rsync libguestfs-tools expat ctags
|
|
# install DTC
|
|
sudo apt-get install -y device-tree-compiler
|
|
|
|
# install verilator
|
|
git clone http://git.veripool.org/git/verilator
|
|
cd verilator
|
|
git checkout v4.028
|
|
autoconf && ./configure && make -j16 && sudo make install
|