blob: 261097ca55f96a2b624dbf249c19d146d24cd583 [file] [log] [blame]
Yingdi Yu1cc45d92015-02-09 14:19:54 -08001#!/usr/bin/env bash
2set -x
3set -e
4
5JDIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
6source "$JDIR"/util.sh
7
8[[ -n $NODE_LABELS ]] || exit 0
9
10if has OSX $NODE_LABELS; then
11 brew update
12 brew upgrade
13 brew install boost pkg-config qt4
14 brew cleanup
15fi
16
17if has Ubuntu $NODE_LABELS; then
18 sudo apt-get update -qq -y
19 sudo apt-get -qq -y install build-essential
20 sudo apt-get -qq -y install libssl-dev libsqlite3-dev
21
Varun Patil3d850902020-11-23 12:19:14 +053022 sudo apt-get -qq -y install libprotobuf-dev protobuf-compiler libevent-dev libcrypto++-dev
23 sudo apt-get -qq -y install libboost-all-dev
24 sudo apt-get -qq -y install qt5-default
Yingdi Yu1cc45d92015-02-09 14:19:54 -080025fi