Yingdi Yu | 1cc45d9 | 2015-02-09 14:19:54 -0800 | [diff] [blame] | 1 | #!/usr/bin/env bash |
| 2 | set -x |
| 3 | set -e |
| 4 | |
| 5 | JDIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) |
| 6 | source "$JDIR"/util.sh |
| 7 | |
| 8 | [[ -n $NODE_LABELS ]] || exit 0 |
| 9 | |
| 10 | if has OSX $NODE_LABELS; then |
| 11 | brew update |
| 12 | brew upgrade |
| 13 | brew install boost pkg-config qt4 |
| 14 | brew cleanup |
| 15 | fi |
| 16 | |
| 17 | if 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 Patil | 3d85090 | 2020-11-23 12:19:14 +0530 | [diff] [blame^] | 22 | 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 Yu | 1cc45d9 | 2015-02-09 14:19:54 -0800 | [diff] [blame] | 25 | fi |