blob: 41b93f05fb18de4e264332f765fd72b301850813 [file] [log] [blame]
Alexander Afanasyevb346ddb2015-06-03 00:52:03 -04001#!/usr/bin/env bash
2set -e
3
4JDIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
5source "$JDIR"/util.sh
6
Davide Pesavento09348882016-09-17 02:39:44 +02007set -x
Alexander Afanasyevb346ddb2015-06-03 00:52:03 -04008
Davide Pesavento09348882016-09-17 02:39:44 +02009if has OSX $NODE_LABELS; then
Alexander Afanasyevb346ddb2015-06-03 00:52:03 -040010 brew update
11 brew upgrade
Davide Pesavento09348882016-09-17 02:39:44 +020012 brew install boost pkg-config cryptopp openssl
Alexander Afanasyevb346ddb2015-06-03 00:52:03 -040013 brew cleanup
14fi
15
16if has Ubuntu $NODE_LABELS; then
Davide Pesaventoe11c8d82016-04-16 14:32:07 +020017 sudo apt-get -qq update
18 sudo apt-get -qq install build-essential pkg-config libboost-all-dev \
Alexander Afanasyev67cb75c2016-06-15 12:34:58 -070019 libcrypto++-dev libsqlite3-dev libssl-dev
Alexander Afanasyevb346ddb2015-06-03 00:52:03 -040020fi