[Ubuntu] Reworked clang installation to use default Ubuntu repo (#3834)

This commit is contained in:
Leonid Lapshin
2021-08-04 10:45:59 +03:00
committed by GitHub
parent b36d7c3960
commit e7ca52b564
3 changed files with 5 additions and 30 deletions

View File

@@ -44,13 +44,6 @@ function Get-ClangVersions {
return "Clang " + $clangVersions
}
function Get-LLVMInfo {
$clangVersions = Get-ClangToolVersions -ToolName "clang"
$clangFormatVersions = Get-ClangToolVersions -ToolName "clang-format"
$aptSourceRepo = Get-AptSourceRepository -PackageName "llvm"
return "LLVM components: Clang $clangFormatVersions, Clang-format $clangFormatVersions (apt source: $aptSourceRepo)"
}
function Get-ClangFormatVersions {
$clangFormatVersions = Get-ClangToolVersions -ToolName "clang-format"
return "Clang-format " + $clangFormatVersions