Mercurial > vim
changeset 25933:ca54c8a0c847 v8.2.3500
patch 8.2.3500: Github CI fails to install clang
Commit: https://github.com/vim/vim/commit/3a724290c5dd8e4b7c9a1fa8941b81f6f80db00a
Author: Christian Brabandt <cb@256bit.org>
Date: Tue Oct 12 12:02:49 2021 +0100
patch 8.2.3500: Github CI fails to install clang
Problem: Github CI fails to install clang.
Solution: Install llvm-11 explicitly. (Christian Brabandt, closes https://github.com/vim/vim/issues/8993)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 12 Oct 2021 13:15:03 +0200 |
parents | 21b9e3f05c90 |
children | 6e0e4d0a0259 |
files | .github/workflows/ci.yml src/version.c |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -81,7 +81,7 @@ jobs: wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - . /etc/lsb-release sudo add-apt-repository -y "deb http://apt.llvm.org/${DISTRIB_CODENAME}/ llvm-toolchain-${DISTRIB_CODENAME}-11 main" - sudo apt-get install -y clang-11 + sudo apt-get install -y clang-11 llvm-11 sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-11 100 sudo update-alternatives --set clang /usr/bin/clang-11 sudo update-alternatives --install /usr/bin/llvm-cov llvm-cov /usr/bin/llvm-cov-11 100