Junxiao Shi | 439d972 | 2015-03-20 15:08:44 -0700 | [diff] [blame] | 1 | #!/usr/bin/env bash |
| 2 | set -e |
| 3 | |
| 4 | JDIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) |
| 5 | source "$JDIR"/util.sh |
| 6 | |
| 7 | if has OSX $NODE_LABELS; then |
| 8 | set -x |
| 9 | brew update |
| 10 | brew upgrade |
Alexander Afanasyev | 8a3081f | 2015-08-31 13:27:15 -0700 | [diff] [blame] | 11 | brew install boost pkg-config cryptopp |
Junxiao Shi | 439d972 | 2015-03-20 15:08:44 -0700 | [diff] [blame] | 12 | brew cleanup |
| 13 | fi |
| 14 | |
| 15 | if has Ubuntu $NODE_LABELS; then |
Junxiao Shi | 439d972 | 2015-03-20 15:08:44 -0700 | [diff] [blame] | 16 | set -x |
Davide Pesavento | 0e8edde | 2016-05-03 18:08:39 +0200 | [diff] [blame^] | 17 | sudo apt-get -qq update |
| 18 | sudo apt-get -qq install build-essential pkg-config libboost-all-dev \ |
| 19 | libcrypto++-dev libsqlite3-dev libpcap-dev |
Junxiao Shi | 439d972 | 2015-03-20 15:08:44 -0700 | [diff] [blame] | 20 | fi |