[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

@@ -35,12 +35,10 @@ $markdown += New-MDList -Style Unordered -Lines @(
$markdown += New-MDHeader "Installed Software" -Level 2
$markdown += New-MDHeader "Language and Runtime" -Level 3
$markdown += New-MDList -Style Unordered -Lines (@(
$runtimesList = @(
(Get-BashVersion),
(Get-CPPVersions),
(Get-FortranVersions),
(Get-ClangVersions),
(Get-ClangFormatVersions),
(Get-ErlangVersion),
(Get-ErlangRebar3Version),
(Get-MonoVersion),
@@ -52,8 +50,16 @@ $markdown += New-MDList -Style Unordered -Lines (@(
(Get-RubyVersion),
(Get-SwiftVersion),
(Get-JuliaVersion)
) | Sort-Object
)
)
if (Test-IsUbuntu20) {
$runtimesList += (Get-LLVMInfo)
} else {
$runtimesList += (Get-ClangVersions)
$runtimesList += (Get-ClangFormatVersions)
}
$markdown += New-MDList -Style Unordered -Lines ($runtimesList | Sort-Object)
$markdown += New-MDHeader "Package Management" -Level 3