[ubunty] Add note about LLVM repo (#3523)

* Add LLVM libc++ info

* combine clang, clang-format into LLVM components

* fix formatting

Co-authored-by: Sergey Dolin <v-sedoli@micorosoft.com>
This commit is contained in:
Sergey Dolin
2021-06-10 13:21:02 +05:00
committed by GitHub
parent a9d832d671
commit 24ae664aed
3 changed files with 20 additions and 5 deletions

View File

@@ -15,6 +15,8 @@ function InstallClang {
if [[ $version =~ 9 ]] && isUbuntu16 || [[ $version =~ 12 ]]; then
./llvm.sh $version
apt-get install -y "clang-format-$version"
llvm_repo=$(grep '^deb.*apt.llvm.org\/' /etc/apt/sources.list)
echo "llvm $llvm_repo" >> $HELPER_SCRIPTS/apt-sources.txt
else
apt-get install -y "clang-$version" "lldb-$version" "lld-$version" "clang-format-$version"
fi