| #!/usr/bin/env bash |
| set -e |
| |
| JDIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) |
| source "$JDIR"/util.sh |
| |
| if has OSX $NODE_LABELS; then |
| set -x |
| brew update |
| brew upgrade |
| brew install boost cryptopp pkg-config libxml2 |
| brew link --force libxml2 |
| brew cleanup |
| fi |
| |
| if has Ubuntu $NODE_LABELS; then |
| set -x |
| sudo apt-get update -qq -y |
| sudo apt-get -qq -y install build-essential |
| sudo apt-get -qq -y install libssl-dev libsqlite3-dev libcrypto++-dev libboost-all-dev |
| sudo apt-get install -qq -y python-setuptools python-dev python-pygraphviz python-kiwi |
| sudo apt-get install -qq -y python-pygoocanvas python-gnome2 |
| sudo apt-get install -qq -y python-rsvg ipython |
| fi |