File tree Expand file tree Collapse file tree 1 file changed +21
-7
lines changed
Expand file tree Collapse file tree 1 file changed +21
-7
lines changed Original file line number Diff line number Diff line change 33set -ex
44
55sudo apt update
6- sudo apt install -y \
7- git ninja-build clang python python-six \
8- uuid-dev libicu-dev icu-devtools libbsd-dev \
9- libedit-dev libxml2-dev libsqlite3-dev swig \
10- libpython-dev libncurses5-dev pkg-config \
11- libblocksruntime-dev libcurl4-openssl-dev \
12- systemtap-sdt-dev tzdata rsync wget llvm zip unzip
6+
7+ if [ $( grep RELEASE /etc/lsb-release) == " DISTRIB_RELEASE=18.04" ]; then
8+ sudo apt install -y \
9+ git ninja-build clang python python-six \
10+ uuid-dev libicu-dev icu-devtools libbsd-dev \
11+ libedit-dev libxml2-dev libsqlite3-dev swig \
12+ libpython-dev libncurses5-dev pkg-config \
13+ libblocksruntime-dev libcurl4-openssl-dev \
14+ systemtap-sdt-dev tzdata rsync wget llvm zip unzip
15+ elif [ $( grep RELEASE /etc/lsb-release) == " DISTRIB_RELEASE=20.04" ]; then
16+ sudo apt install -y \
17+ git ninja-build clang python python-six \
18+ uuid-dev libicu-dev icu-devtools libbsd-dev \
19+ libedit-dev libxml2-dev libsqlite3-dev swig \
20+ libpython2-dev libncurses5-dev pkg-config \
21+ libblocksruntime-dev libcurl4-openssl-dev \
22+ systemtap-sdt-dev tzdata rsync wget llvm zip unzip
23+ else
24+ echo " Unknown Ubuntu version"
25+ exit 1
26+ fi
1327sudo apt clean
1428
1529SOURCE_PATH=" $( cd " $( dirname $0 ) /../../../.." && pwd ) "
You can’t perform that action at this time.
0 commit comments