Skip to content

Commit e6e2ad3

Browse files
kateinoigakukunMaxDesiatov
authored andcommitted
[WASM} Install llvm-10 toolchain instead of llvm-6
The default package of `apt install clang` is clang-6 and it overwrite default installed clang 9.0
1 parent 2202da5 commit e6e2ad3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

utils/webassembly/linux/install-dependencies.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,14 @@ sudo apt update
66

77
if [ $(grep RELEASE /etc/lsb-release) == "DISTRIB_RELEASE=18.04" ]; then
88
sudo apt install -y \
9-
git ninja-build clang python python-six \
9+
git ninja-build clang-10 python python-six \
1010
uuid-dev libicu-dev icu-devtools libbsd-dev \
1111
libedit-dev libxml2-dev libsqlite3-dev swig \
1212
libpython-dev libncurses5-dev pkg-config \
1313
libblocksruntime-dev libcurl4-openssl-dev \
14-
systemtap-sdt-dev tzdata rsync wget llvm zip unzip
14+
systemtap-sdt-dev tzdata rsync wget llvm-10 zip unzip
15+
sudo ln -s -f /usr/bin/clang-10 /usr/bin/clang
16+
sudo ln -s -f /usr/bin/clang++-10 /usr/bin/clang++
1517
elif [ $(grep RELEASE /etc/lsb-release) == "DISTRIB_RELEASE=20.04" ]; then
1618
sudo apt install -y \
1719
git ninja-build clang python python-six \

0 commit comments

Comments
 (0)