forked from slaclab/surf
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathghdl-travis-install.sh
More file actions
executable file
·24 lines (22 loc) · 957 Bytes
/
ghdl-travis-install.sh
File metadata and controls
executable file
·24 lines (22 loc) · 957 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh
#-----------------------------------------------------------------------------
# This file is part of 'SLAC Firmware Standard Library'.
# It is subject to the license terms in the LICENSE.txt file found in the
# top-level directory of this distribution and at:
# https://confluence.slac.stanford.edu/display/ppareg/LICENSE.html.
# No part of 'SLAC Firmware Standard Library', including this file,
# may be copied, modified, propagated, or distributed except according to
# the terms contained in the LICENSE.txt file.
#-----------------------------------------------------------------------------
# Note: The manually installing of ghdl won't be required
# once Travis CI supports Ubuntu 19.04 (Disco Dingo)
echo 'Installing GHDL ...'
sudo apt update
sudo apt install -y git make gnat zlib1g-dev
git clone https://github.com/ghdl/ghdl ghdl-build
cd ghdl-build
./configure --prefix=/usr/local
make
sudo make install
cd ../
echo 'Done!'