Skip to content

Instantly share code, notes, and snippets.

@khale
Last active February 15, 2021 21:04
Show Gist options
  • Save khale/32ee31cb6840035b83419fda9e2f5e52 to your computer and use it in GitHub Desktop.
Save khale/32ee31cb6840035b83419fda9e2f5e52 to your computer and use it in GitHub Desktop.
Bootstrap for CS350 lab 0 (Scala/chisel)
#!/usr/bin/env bash
systemctl disable --now apt-daily{,-upgrade}.{timer,service}
setxkbmap us
apt-get update && \
apt-get install -y \
autoconf \
binutils \
bison \
clang \
cscope \
ctags \
curl \
default-jdk \
default-jre \
emacs \
flex \
g++ \
gcc \
gdb \
git \
gtkwave \
locate \
make \
netcat \
perl \
software-properties-common \
ssh \
tig \
vim \
tmux \
xxd
echo "deb https://dl.bintray.com/sbt/debian /" | tee -a /etc/apt/sources.list.d/sbt.list && \
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 642AC823 && \
apt-get update && \
apt-get install -y sbt
# Verilator
git clone http://git.veripool.org/git/verilator && \
cd verilator && \
git pull && \
git checkout v4.016 && \
autoconf && \
./configure && \
make && \
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment