blob: 765338d313385aa99cfe4d27b319ad1472e4f1fe [file] [log] [blame]
Alexander Afanasyevc7c99002015-10-09 17:27:30 -07001#!/usr/bin/env bash
2set -e
3
4JDIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
5source "$JDIR"/util.sh
6
Alexander Afanasyev984ca9d2016-12-19 13:09:14 -08007set -x
Alexander Afanasyevc7c99002015-10-09 17:27:30 -07008
Alexander Afanasyev984ca9d2016-12-19 13:09:14 -08009if has OSX $NODE_LABELS; then
Alexander Afanasyevc7c99002015-10-09 17:27:30 -070010 brew update
11 brew upgrade
Alexander Afanasyev984ca9d2016-12-19 13:09:14 -080012 brew install boost pkg-config cryptopp openssl log4cxx
Alexander Afanasyevc7c99002015-10-09 17:27:30 -070013 brew cleanup
14fi
15
16if has Ubuntu $NODE_LABELS; then
Alexander Afanasyev984ca9d2016-12-19 13:09:14 -080017 sudo apt-get -qq update
18 sudo apt-get -qq install build-essential pkg-config libboost-all-dev \
19 libcrypto++-dev libsqlite3-dev libssl-dev \
20 liblog4cxx10-dev
Alexander Afanasyevc7c99002015-10-09 17:27:30 -070021fi