blob: c3622973b59d5722708d6ffe2a57dcbd085077b7 [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
Davide Pesavento90034832018-05-30 10:10:31 -040012 brew install pkg-config boost openssl
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 \
Davide Pesavento90034832018-05-30 10:10:31 -040019 libsqlite3-dev libssl-dev
Alexander Afanasyevc7c99002015-10-09 17:27:30 -070020fi