mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-14 22:09:26 +00:00
[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:
@@ -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