blob: db2d80879f29f9ce2cd8487663cb0bcda3bbf350 [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
Alexander Afanasyeve0ab3f92016-10-20 13:29:39 -07007set -x
8
Yuanzhi Gaodd516fe2015-04-23 04:18:24 -07009if has OSX $NODE_LABELS; then
Alexander Afanasyevdf26b5a2015-01-15 23:30:56 -080010 brew update
11 brew upgrade
Alexander Afanasyeve0ab3f92016-10-20 13:29:39 -070012 brew install boost pkg-config cryptopp openssl
13 brew install libxml2
Alexander Afanasyevdf26b5a2015-01-15 23:30:56 -080014 brew link --force libxml2
15 brew cleanup
16fi
17
Yuanzhi Gaodd516fe2015-04-23 04:18:24 -070018if has Ubuntu $NODE_LABELS; then
Alexander Afanasyeve0ab3f92016-10-20 13:29:39 -070019 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 Mastorakis5897c962015-08-31 15:37:18 -070022 sudo apt-get install -qq -y python-setuptools python-dev python-pygraphviz python-kiwi
Alexander Afanasyev65c49062018-07-25 11:55:25 -040023 # sudo apt-get install -qq -y python-pygoocanvas python-gnome2
24 # sudo apt-get install -qq -y python-rsvg ipython
Alexander Afanasyevdf26b5a2015-01-15 23:30:56 -080025fi