<div dir="ltr">If you don't care about building LLVM with Bazel, you can stop reading now.<div><br></div><div>We have set up pre-merge checks for the Bazel build of LLVM (see the README at <a href="https://github.com/llvm/llvm-project/tree/main/utils/bazel">https://github.com/llvm/llvm-project/tree/main/utils/bazel</a> if you weren't following past updates). These will trigger on changes to the utils/bazel directory. Additionally, you can join the <a href="https://reviews.llvm.org/project/members/107/">bazel build phab project</a> to have it trigger on all of your patches.</div><div><br></div><div>The builds run on a separate pool of agents, so they don't interfere with the main pre-merge builds. Results should generally be reported back in about 5 minutes and the build is the same one being run on <a href="https://buildkite.com/llvm-project/upstream-bazel-rbe">every commit to the main branch</a>, so is usually green at HEAD. They are also set with `-Werror -Wall` (<a href="https://github.com/llvm/llvm-project/blob/09529892b5/utils/bazel/.bazelrc#L31-L44">plus or minus</a>) and so can give fast feedback on diagnostics.</div><div><br></div><div>In the future, we are likely to use the Bazel project to send emails on post-merge failures to commit authors, filtered to those who are opted in.<br></div><div><br></div><div>If you find this useful, feel free to contribute to maintaining the Bazel build by monitoring the status (e.g. you can star the main branch and get emails from Buildkite when it goes red).</div><div></div><div><br></div><div>Best,</div><div>Geoffrey</div></div>