[PATCH] D129899: Bazel BUILD file for BOLT

Geoffrey Martin-Noble via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 19 17:04:15 PDT 2022


GMNGeoffrey added a comment.

In D129899#3664216 <https://reviews.llvm.org/D129899#3664216>, @Amir wrote:

> Couple of questions:
>
> 1. Do I understand it correctly that BUILD.bazel file need to be kept in sync with CMakeLists.txt?

Yes. In general, there's no way to automatically get the Bazel configuration from the CMake  one.

> 2. Is it possible to run check-bolt tests with bazel?

Assuming that check-bolt runs lit tests, no. Support for lit tests is not available in the Bazel build. I prototyped something, but couldn't get it working with LLVM's peculiar layer on top of lit that is deeply intertwined with the CMake build. Some more discussion here: https://discourse.llvm.org/t/bazel-and-check-mlir-target-does-bazel-support-running-lit-tests/61898/6?u=gcmn


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D129899/new/

https://reviews.llvm.org/D129899



More information about the llvm-commits mailing list