Merge pull request #1667 from akv-platform/al-cheb/add-ubuntu-clan-tidy

[Ubuntu] Use official repository to install clang
This commit is contained in:
Maxim Lobanov
2020-09-28 11:55:19 +03:00
committed by GitHub

View File

@@ -12,7 +12,7 @@ function InstallClang {
local version=$1
echo "Installing clang-$version..."
if [[ $version =~ (9|10) ]]; then
if [[ $version =~ 9 ]] && isUbuntu16; then
./llvm.sh $version
apt-get install -y "clang-format-$version"
else