aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/setup.sh
blob: efd07c58fc5b767252202c5d305c4966b7301ae6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

sudo yum -y update

# In addition, need to install bison-3.3
sudo yum -y install git gcc72 gcc72-c++ tcl-devel python36 \
     graphviz xdot gperf gmp-devel make flex autoconf \
     readline-devel clang6.0 tmux boost libffi-devel

sudo mkdir -p /mnt/tools

curl -sSL https://get.haskellstack.org/ | sh

{ cat <<EOF
export PATH="\${PATH}:/mnt/tools/bin"
export PATH="\${PATH}:/mnt/tools/opt/Xilinx/14.7/ISE_DS/ISE/bin/lin64"
export PATH="\${PATH}:/mnt/tools/opt/Xilinx/Vivado/2018.3/bin"
EOF
} >> $HOME/.bashrc

source $HOME/.bashrc