Stefan Teleman via llvm-dev
2020-Oct-29 16:54 UTC
[llvm-dev] Contributing Bazel BUILD files similar to gn
On Thu, Oct 29, 2020 at 11:23 AM Tom Stellard via llvm-dev <llvm-dev at lists.llvm.org> wrote:> > tl;dr: We'd like to contribute Bazel BUILD files for LLVM and MLIR in a > > side-directory in the monorepo, similar to the gn build.> Can you explain some of the benefits to using Bazel instead of CMake?I can, and I will be very brief: None. -- Stefan Teleman stefan.teleman at gmail.com
David Blaikie via llvm-dev
2020-Oct-29 19:17 UTC
[llvm-dev] Contributing Bazel BUILD files similar to gn
On Thu, Oct 29, 2020 at 9:55 AM Stefan Teleman via llvm-dev < llvm-dev at lists.llvm.org> wrote:> On Thu, Oct 29, 2020 at 11:23 AM Tom Stellard via llvm-dev > <llvm-dev at lists.llvm.org> wrote: > > > > tl;dr: We'd like to contribute Bazel BUILD files for LLVM and MLIR in a > > > side-directory in the monorepo, similar to the gn build. > > > Can you explain some of the benefits to using Bazel instead of CMake? > > I can, and I will be very brief: None. >This is a fairly unhelpful email - clearly folks using Bazel derive some benefit/have chosen some tradeoff compared to CMake. Doesn't have to be the thing you want, but it's pretty unhelpful to dismiss/diminish the needs of others like this. - Dave -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20201029/ae9d741a/attachment.html>
Stefan Teleman via llvm-dev
2020-Oct-29 19:40 UTC
[llvm-dev] Contributing Bazel BUILD files similar to gn
> This is a fairly unhelpful email - clearly folks using Bazel derive some benefit/have chosen some tradeoff compared to CMake. Doesn't have to be the thing you want, but it's pretty unhelpful to dismiss/diminish the needs of others like this.I did not see a rationale for the Bazel proposal, outlining its benefits over CMake. Speaking with direct experience with Bazel - Tensorflow - I cannot think of a single reason why it would/should be considered "better" over the current CMake. Everyone has their own favorite build system. That is nice, but it is not enough of a reason to propose adding it. I would also like to become informed as to what particular needs/shortcomings/defects are addressed by Bazel, that are lacking in / cannot be addressed by CMake. Thanks. -- Stefan Teleman stefan.teleman at gmail.com