blob: 549258add8cb183927a766246bfd3e90335de7c0 [file] [log] [blame]
Junxiao Shi439d9722015-03-20 15:08:44 -07001#!/usr/bin/env bash
2set -e
3
4JDIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
5source "$JDIR"/util.sh
6
7if has OSX $NODE_LABELS; then
8 set -x
9 brew update
10 brew upgrade
Alexander Afanasyev8a3081f2015-08-31 13:27:15 -070011 brew install boost pkg-config cryptopp
Junxiao Shi439d9722015-03-20 15:08:44 -070012 brew cleanup
13fi
14
15if has Ubuntu $NODE_LABELS; then
Junxiao Shi439d9722015-03-20 15:08:44 -070016 set -x
Davide Pesavento0e8edde2016-05-03 18:08:39 +020017 sudo apt-get -qq update
18 sudo apt-get -qq install build-essential pkg-config libboost-all-dev \
19 libcrypto++-dev libsqlite3-dev libpcap-dev
Junxiao Shi439d9722015-03-20 15:08:44 -070020fi