[all-commits] [llvm/llvm-project] d69fc6: [libc++] Install git-clang-format on CI nodes.

Marek Kurdej via All-commits all-commits at lists.llvm.org
Wed Dec 16 13:36:54 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d69fc6629d077475b0fa1c2de531c4bf0fda9d67
      https://github.com/llvm/llvm-project/commit/d69fc6629d077475b0fa1c2de531c4bf0fda9d67
  Author: Marek Kurdej <marek.kurdej at gmail.com>
  Date:   2020-12-16 (Wed, 16 Dec 2020)

  Changed paths:
    M libcxx/utils/ci/Dockerfile

  Log Message:
  -----------
  [libc++] Install git-clang-format on CI nodes.

Two problems fixed:
* an old version of clang-format get installed by default (6.0).
* git-clang-format is not present, only git-clang-format-<version> (e.g. git-clang-format-6.0).

Solution:
* install clang-format-11 with explicit version
* make symlink git-clang-format to the latest version of git-clang-format-<version>

Differential Revision: https://reviews.llvm.org/D93201




More information about the All-commits mailing list