Open echesakov opened 2 years ago
I'll note that we currently depend on clang-format/clang-tidy versions 3.8, stored in the clrjit Azure Storage blob storage location.
It's not clear what the benefit would be to updating these versions. If clang-format/clang-tidy changed output, it might lead to superfluous formatting changes (at least once).
Unless someone actively is developing on macOS arm64, doing any work to support that would be unused.
Question: could the macOS arm64 build download and use the existing macOS x64 versions? That could be implemented by simply fixing the bootstrap.sh script to pick those up.
Question: could the macOS arm64 build download and use the existing macOS x64 versions?
This should work - they will run under Rosetta 2.
Right now running
bootstrap.sh
on macOS arm64 will fail with the following output:The easiest way to fix the issue would be to upload clang-tidy and clang-format from the official LLVM releases. However, https://github.com/llvm/llvm-project/releases/tag/llvmorg-13.0.1 doesn't contain any native tools for macOS arm64.
As a workaround, another pipeline (similar to coredistools) can be added to the repo that will produce clang-tidy and clang-format binaries on demand.
cc @BruceForstall