[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:
co-authored by
Sergey Dolin
parent
a9d832d671
commit
24ae664aed
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user