blob: 9e80c57dfcad8c9960d82ea4b565e7b82f270e1a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#!/usr/bin/env sh
if [ "$1" = "Linux" ]; then
sudo apt update
if [ "$?" != "0" ]; then
exit 1;
fi
sudo apt install cmake llvm-3.9 clang-3.9 lldb-3.9 liblldb-3.9-dev libunwind8 libunwind8-dev gettext libicu-dev liblttng-ust-dev libcurl4-openssl-dev libssl-dev libkrb5-dev libnuma-dev
if [ "$?" != "0"]; then
exit 1;
fi
elif [ "$1" = "OSX" ]; then
brew install icu4c openssl
if [ "$?" != "0" ]; then
exit 1;
fi
brew link --force icu4c
if [ "$?" != "0"]; then
exit 1;
fi
else
echo "Must pass \"Linux\" or \"OSX\" as first argument."
exit 1
fi
|