blob: 1bb3896756b74de6d8b7c75c9c0d071da1d5f3cc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/bin/sh
sudo yum -y update
sudo yum -y install git gcc gcc-c++ tcl-devel python3 \
graphviz xdot gperf gmp-devel make bison flex autoconf \
tmux
sudo mkdir -p /mnt/tools
sudo mount /dev/sdf /mnt/tools
sudo chown -R $USER:$USER /mnt/tools/home/ec2-user
curl -sSL https://get.haskellstack.org/ | sh
{ cat <<EOF
export PATH="\${PATH}:/mnt/tools/bin:/mnt/tools/opt/Xilinx/14.7/ISE_DS/ISE/bin/lin64/"
EOF
} >> $HOME/.bashrc
source $HOME/.bashrc
|