[libc++] Install git-clang-format on CI nodes.
authorMarek Kurdej <marek.kurdej@gmail.com>
Wed, 16 Dec 2020 21:33:10 +0000 (16:33 -0500)
committerLouis Dionne <ldionne.2@gmail.com>
Wed, 16 Dec 2020 21:36:34 +0000 (16:36 -0500)
commitd69fc6629d077475b0fa1c2de531c4bf0fda9d67
treeef0ac8bc62381f3d988d165079f6922b4e7d8703
parent15ca54525d6c2927b2a51b871a9e343c7ce1c2ea
[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
libcxx/utils/ci/Dockerfile