blob: 4a4db28ba6d8c19938806a052559cd338074ebe0 [file] [log] [blame]
Alexander Afanasyevb81cff92015-07-09 09:45:09 +08001#!/usr/bin/env bash
2set -e
3
4JDIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
5source "$JDIR"/util.sh
6
Davide Pesaventoe0edc4c2016-09-13 18:29:52 +00007set -x
Alexander Afanasyevb81cff92015-07-09 09:45:09 +08008
Davide Pesaventoe0edc4c2016-09-13 18:29:52 +00009if has OSX $NODE_LABELS; then
Alexander Afanasyevb81cff92015-07-09 09:45:09 +080010 brew update
11 brew upgrade
Davide Pesaventoe0edc4c2016-09-13 18:29:52 +000012 brew install boost pkg-config cryptopp openssl
Alexander Afanasyevb81cff92015-07-09 09:45:09 +080013 brew cleanup
14fi
15
16if has Ubuntu $NODE_LABELS; then
Davide Pesaventocc7bee72016-04-22 02:21:13 +020017 sudo apt-get -qq update
18 sudo apt-get -qq install build-essential pkg-config libboost-all-dev \
Davide Pesavento231ddd72016-09-02 22:20:00 +000019 libcrypto++-dev libsqlite3-dev libssl-dev \
20 libpcap-dev
Alexander Afanasyevb81cff92015-07-09 09:45:09 +080021fi