blob: c7f69bc437f991dfeb064766f1cbdadcd6e251dd [file] [log] [blame]
Alexander Afanasyeva9369b42017-01-11 11:58:00 -08001#!/usr/bin/env bash
2set -e
3
4JDIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
5source "$JDIR"/util.sh
6
7set -x
8
9if has OSX $NODE_LABELS; then
10 brew update
11 brew upgrade
Alexander Afanasyev1cf5c432017-01-13 23:22:15 -080012 brew install boost pkg-config cryptopp openssl protobuf tinyxml qt5
Alexander Afanasyeva9369b42017-01-11 11:58:00 -080013 brew cleanup
14fi
15
16if has Ubuntu $NODE_LABELS; then
17 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 libpcap-dev \
Alexander Afanasyev1cf5c432017-01-13 23:22:15 -080021 protobuf-compiler libprotobuf-dev libtinyxml-dev qt5-default
Alexander Afanasyeva9369b42017-01-11 11:58:00 -080022fi