Bazel is a multi-language build system focused on reproducible builds to enable dependency analysis and caching for fast incremental builds.
CMake v.s. Bazel:
1.
在 llvm 和 mlir 生态里,尽量还是 cmake。遵循社区主流。
2.
其他情况,bazel 大概率更好用。
llvm-project 对 Bazel 的支持不太稳定。
Reviewers should not ask authors to update Bazel build files unless the author has opted in to support Bazel. Keeping the Bazel build files up-to-date is on the people who use the Bazel build.