Add Clang 12 to Ubuntu 20.04 toolset (#3206)

* Add Clang 12 to Ubuntu 20.04 toolset

* Ubuntu: Install Clang-12 directly from LLVM
This commit is contained in:
Ewout ter Hoeven
2021-05-13 17:43:56 +02:00
committed by GitHub
parent 75a4d89efb
commit 09855006a1
2 changed files with 4 additions and 3 deletions

View File

@@ -12,7 +12,7 @@ function InstallClang {
local version=$1
echo "Installing clang-$version..."
if [[ $version =~ 9 ]] && isUbuntu16; then
if [[ $version =~ 9 ]] && isUbuntu16 || [[ $version =~ 12 ]]; then
./llvm.sh $version
apt-get install -y "clang-format-$version"
else
@@ -43,4 +43,4 @@ done
SetDefaultClang $default_clang_version
rm llvm.sh
invoke_tests "Tools" "clang"
invoke_tests "Tools" "clang"

View File

@@ -247,7 +247,8 @@
"versions": [
"9",
"10",
"11"
"11",
"12"
],
"default_version": "10"
},