mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 22:05:17 +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:
@@ -15,6 +15,8 @@ function InstallClang {
|
||||
if [[ $version =~ 9 ]] && isUbuntu16 || [[ $version =~ 12 ]]; then
|
||||
./llvm.sh $version
|
||||
apt-get install -y "clang-format-$version"
|
||||
llvm_repo=$(grep '^deb.*apt.llvm.org\/' /etc/apt/sources.list)
|
||||
echo "llvm $llvm_repo" >> $HELPER_SCRIPTS/apt-sources.txt
|
||||
else
|
||||
apt-get install -y "clang-$version" "lldb-$version" "lld-$version" "clang-format-$version"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user