[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

@@ -44,6 +44,13 @@ 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