Alexander Afanasyev | df26b5a | 2015-01-15 23:30:56 -0800 | [diff] [blame] | 1 | #!/usr/bin/env bash |
Alexander Afanasyev | df26b5a | 2015-01-15 23:30:56 -0800 | [diff] [blame] | 2 | set -e |
| 3 | |
Yuanzhi Gao | dd516fe | 2015-04-23 04:18:24 -0700 | [diff] [blame] | 4 | JDIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) |
| 5 | source "$JDIR"/util.sh |
Alexander Afanasyev | df26b5a | 2015-01-15 23:30:56 -0800 | [diff] [blame] | 6 | |
Alexander Afanasyev | e0ab3f9 | 2016-10-20 13:29:39 -0700 | [diff] [blame^] | 7 | set -x |
| 8 | |
Yuanzhi Gao | dd516fe | 2015-04-23 04:18:24 -0700 | [diff] [blame] | 9 | if has OSX $NODE_LABELS; then |
Alexander Afanasyev | df26b5a | 2015-01-15 23:30:56 -0800 | [diff] [blame] | 10 | brew update |
| 11 | brew upgrade |
Alexander Afanasyev | e0ab3f9 | 2016-10-20 13:29:39 -0700 | [diff] [blame^] | 12 | brew install boost pkg-config cryptopp openssl |
| 13 | brew install libxml2 |
Alexander Afanasyev | df26b5a | 2015-01-15 23:30:56 -0800 | [diff] [blame] | 14 | brew link --force libxml2 |
| 15 | brew cleanup |
| 16 | fi |
| 17 | |
Yuanzhi Gao | dd516fe | 2015-04-23 04:18:24 -0700 | [diff] [blame] | 18 | if has Ubuntu $NODE_LABELS; then |
Alexander Afanasyev | e0ab3f9 | 2016-10-20 13:29:39 -0700 | [diff] [blame^] | 19 | sudo apt-get -qq update |
| 20 | sudo apt-get -qq install build-essential pkg-config libboost-all-dev \ |
| 21 | libcrypto++-dev libsqlite3-dev libssl-dev |
Spyridon Mastorakis | 5897c96 | 2015-08-31 15:37:18 -0700 | [diff] [blame] | 22 | sudo apt-get install -qq -y python-setuptools python-dev python-pygraphviz python-kiwi |
Alexander Afanasyev | 15db772 | 2015-01-19 17:27:26 -0800 | [diff] [blame] | 23 | sudo apt-get install -qq -y python-pygoocanvas python-gnome2 |
| 24 | sudo apt-get install -qq -y python-rsvg ipython |
Alexander Afanasyev | df26b5a | 2015-01-15 23:30:56 -0800 | [diff] [blame] | 25 | fi |