blob: 204336fa6b3502a95726052c143b7d91ac536406 [file] [log] [blame]
Alexander Afanasyevdf26b5a2015-01-15 23:30:56 -08001#!/usr/bin/env bash
Alexander Afanasyevdf26b5a2015-01-15 23:30:56 -08002set -e
3
Yuanzhi Gaodd516fe2015-04-23 04:18:24 -07004JDIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
5source "$JDIR"/util.sh
Alexander Afanasyevdf26b5a2015-01-15 23:30:56 -08006
Yuanzhi Gaodd516fe2015-04-23 04:18:24 -07007if has OSX $NODE_LABELS; then
8 set -x
Alexander Afanasyevdf26b5a2015-01-15 23:30:56 -08009 brew update
10 brew upgrade
11 brew install boost cryptopp pkg-config libxml2
12 brew link --force libxml2
13 brew cleanup
14fi
15
Yuanzhi Gaodd516fe2015-04-23 04:18:24 -070016if has Ubuntu $NODE_LABELS; then
17 set -x
Alexander Afanasyev15db7722015-01-19 17:27:26 -080018 sudo apt-get update -qq -y
19 sudo apt-get -qq -y install build-essential
Alexander Afanasyev0167d582016-09-08 19:22:08 -070020 sudo apt-get -qq -y install libssl-dev libsqlite3-dev libcrypto++-dev libboost-all-dev
Spyridon Mastorakis5897c962015-08-31 15:37:18 -070021 sudo apt-get install -qq -y python-setuptools python-dev python-pygraphviz python-kiwi
Alexander Afanasyev15db7722015-01-19 17:27:26 -080022 sudo apt-get install -qq -y python-pygoocanvas python-gnome2
23 sudo apt-get install -qq -y python-rsvg ipython
Alexander Afanasyevdf26b5a2015-01-15 23:30:56 -080024fi