<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Oct 29, 2020 at 8:48 PM Eric Christopher <<a href="mailto:echristo@gmail.com">echristo@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Oct 29, 2020 at 11:39 PM Mehdi AMINI via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" target="_blank" class="cremed">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Oct 29, 2020 at 8:10 PM Johannes Doerfert <<a href="mailto:johannesdoerfert@gmail.com" target="_blank" class="cremed">johannesdoerfert@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
On 10/29/20 9:48 PM, Mehdi AMINI wrote:<br>
> On Thu, Oct 29, 2020 at 7:30 PM Johannes Doerfert <<br>
> <a href="mailto:johannesdoerfert@gmail.com" target="_blank" class="cremed">johannesdoerfert@gmail.com</a>> wrote:<br>
><br>
>> I replied only selectively.<br>
>><br>
>><br>
>> On 10/29/20 5:47 PM, Mehdi AMINI via llvm-dev wrote:<br>
>>> On Thu, Oct 29, 2020 at 2:35 PM Chris Tetreault <<a href="mailto:ctetreau@quicinc.com" target="_blank" class="cremed">ctetreau@quicinc.com</a>><br>
>>> wrote:<br>
>>><br>
>>>> Honestly, I’m hearing that some people would like the Bazel build system<br>
>>>> to be in community master, and the argument basically boils down to<br>
>> “It’ll<br>
>>>> be fine. It’ll just sit there and mind its own business and you don’t<br>
>> have<br>
>>>> to care about it.”<br>
>>>><br>
>>> Not really: this argument is only the answer to why it does not bear any<br>
>>> weight on non-Bazel users, just like `gn` does already today.<br>
>>><br>
>>> I think I explained the motivation to do it, but I can restate it: many<br>
>>> LLVM contributors need to collaborate on this piece of infrastructure<br>
>> that<br>
>>> is very specific to LLVM and enabling some users of LLVM: the natural<br>
>> place<br>
>>> of collaboration is the monorepo.<br>
>>><br>
>>><br>
>>>>> So why are we doing it? I mentioned this in another answer: this is<br>
>>>> mainly to provide a collaboration space for the support of OSS projects<br>
>>>> using Bazel interested to use LLVM (and some subprojects). …<br>
>>>><br>
>>>><br>
>>>><br>
>>>> Which could be handled by having it in an external public repo.<br>
>>>><br>
>>> Sure, just like almost every new code could be handled in an external<br>
>> repo.<br>
>>> However when many LLVM contributors are interested to collaborate on<br>
>>> something highly coupled to LLVM it seems like the natural place to do<br>
>> it.<br>
>>> Also I don't know for Qualcomm, but most companies will want you to sign<br>
>> a<br>
>>> CLA if they provide this "external repo" where we can collaborate, and<br>
>>> other parties won't be able to collaborate. The LLVM project is in<br>
>> general<br>
>>> seen as quite "neutral" for collaborating.<br>
>>><br>
>>><br>
>>>>> Having them in-tree means that we can publish every day (or more) a git<br>
>>>> hash that we validate with Bazel on private bots (like `gn`) and every<br>
>>>> project can use to clone the LLVM monorepo and integrate in their build<br>
>>>> flow easily.<br>
>>>><br>
>>>><br>
>>>><br>
>>>> You could still publish this info: “Today, the head of llvm-bazel is<br>
>>>> confirmed to work with LLVM monorepo sha [foo]”. I don’t think two git<br>
>>>> clones is significantly harder than one.<br>
>>>><br>
>>> For a developer at their desk, you could say it is just an inconvenience<br>
>>> that can be worked around (scripting, etc.).<br>
>>> For the project on the other hand, Bazel has native support to clone a<br>
>> repo<br>
>>> and build it itself as dependency.  For example TensorFlow has many<br>
>>> dependencies, and it just points to a commit in the source repo:<br>
>>><br>
>> <a href="https://github.com/tensorflow/tensorflow/blob/master/tensorflow/workspace.bzl#L689-L697" rel="noreferrer" target="_blank" class="cremed">https://github.com/tensorflow/tensorflow/blob/master/tensorflow/workspace.bzl#L689-L697</a><br>
>>> You can see how it is convenient to update the SHA1 there and have it<br>
>> just<br>
>>> work for any Bazel user.<br>
>>><br>
>>><br>
>>><br>
>>>> I submit that in a way this is simpler because you can always advertise<br>
>>>> the head of the bazel repo. If the Bazel build system were in the<br>
>> community<br>
>>>> repo, then you might have to tell users to use an older version of the<br>
>>>> bazel build if a fix went into the monorepo in the afternoon, but the<br>
>> next<br>
>>>> morning’s nightly finds that the most recent sha that passes the tests<br>
>> is<br>
>>>> prior to that fix.<br>
>>>><br>
>>> This is not different from "a commit broke the ARM bootstrap and a user<br>
>> who<br>
>>> checked out the repo at the time will be broken". From this point of view<br>
>>> this configuration is no different than any other, except that we don't<br>
>>> revert or notify the author of a breaking change, a set of volunteers<br>
>>> monitor a silent bot and fix-forward as needed, like `gn`.<br>
>>> It is just much easier to have a bot publishing the "known good" revision<br>
>>> of the monorepo.<br>
>>><br>
>>><br>
>>>> I guess my concern is that I’m not really hearing a compelling (to my<br>
>> ear)<br>
>>>> argument for this inclusion.<br>
>>>><br>
>>> Sure, but if other contributors have a strong interest, and you don't<br>
>>> really have a strong objection here that we need to address, we should be<br>
>>> able to get past that?<br>
>> Wouldn't your argument hold for anything that "just lives" in the mono<br>
>> repo but doesn't impact people? I mean, where is the line for stuff that<br>
>> some contributors have "strong interest" in and others can't really<br>
>> "hear a compelling argument for inclusion"? People raise concerns here<br>
>> and from where I am sitting they are brushed over easily and more<br>
>> aggressively as the thread progresses (up to the email I respond to).<br>
>><br>
> Sorry, I invite you to reread the thread again and revisit your impression:<br>
> Tom and Renato expressed clear concerns, and I believe I really tried to<br>
> listen and address these with concrete proposals to mitigate:<br>
> <a href="http://lists.llvm.org/pipermail/llvm-dev/2020-October/146182.html" rel="noreferrer" target="_blank" class="cremed">http://lists.llvm.org/pipermail/llvm-dev/2020-October/146182.html</a><br>
> However there is not much I can do to address folks who object because<br>
> "they don't see the interest" in it, this isn't a productive way of moving<br>
> forward with such proposal IMO.<br>
><br>
><br>
><br>
>>>> I guess it would make the lives of google employees easier?<br>
>>>><br>
>>> I explained before that Google internal integration flow is likely better<br>
>>> without this at the moment, TensorFlow itself is also in a reasonably<br>
>> good<br>
>>> spot at the moment. But Google is also not a monolithic place, some<br>
>> people<br>
>>> are working on small independent projects that they are open-sourcing,<br>
>> and<br>
>>> would like to be able to use LLVM.<br>
>>><br>
>>>>    Then what’s to stop every large org from committing their internal<br>
>> stuff<br>
>>> to master?<br>
>>><br>
>>><br>
>>><br>
>>> If their "internal stuff" is highly-coupled to LLVM, has zero-cost<br>
>>> maintenance on the community, and is something that multiple other<br>
>> parties<br>
>>> can benefit and established members of the community want to maintain and<br>
>>> collaborate on, why not?<br>
>> Let's be honest, nothing has "zero-cost".<br>
><br>
> I hope you're not implying I'd be dishonest here right?<br>
<br>
Long story short, I did not try to imply you were dishonest.<br></blockquote><div><br></div><div>Yes, I know you :)</div><div>(actually I thought I included a wink smiley above, but apparently not, sorry about that)</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
I'm saying that the sentence "has zero-cost maintenance on the community"<br>
cannot be true in a general sense but only in a narrow one. I believe that<br>
everything has cost. I added, "let's be honest", because the cost is not<br>
obvious and one can easily overlook it. However, I assumed we all know<br>
there has to be one as it would otherwise conflict with some universal<br>
law or something. The way I see it you acknowledge the existence in a few<br>
other places.<br>
<br>
<br>
<br>
><br>
>> It seems unhelpful to pretend it does. (FWIW, I explained a simple<br>
>> scenario that would make the bazel<br>
>> inclusion "costly" in my previous mail.)<br>
>><br>
> "zero-cost" is well defined: it is "as a community member: feel free to<br>
> ignore, no one will bother you about it", and a subset of the community<br>
> signed up for the maintenance.<br>
> I think it is also helpful to be concrete here: we have existing data and<br>
> history with `gn`, it isn't hypothetical.<br>
><br>
> To be sure I address your previous email, that was about user expectations<br>
> right? i.e. was it this part:<br>
><br>
>> people will assume we (=the LLVM community) maintain(s) a bazel build,<br>
> which can certainly be a benefit but also a cost", e.g., when the build is<br>
> not properly maintained, support is scarce, etc. and emails come in<br>
> complaining about it (not thinking of prior examples here.)<br>
><br>
> Isn't this similar to the concerns from Renato here:<br>
> <a href="http://lists.llvm.org/pipermail/llvm-dev/2020-October/146179.html" rel="noreferrer" target="_blank" class="cremed">http://lists.llvm.org/pipermail/llvm-dev/2020-October/146179.html</a> ?<br>
> I acknowledge this as very valid concerns and offered some possibility to<br>
> mitigate: <a href="http://lists.llvm.org/pipermail/llvm-dev/2020-October/146188.html" rel="noreferrer" target="_blank" class="cremed">http://lists.llvm.org/pipermail/llvm-dev/2020-October/146188.html</a><br>
><br>
><br>
><br>
>><br>
>>> I mentioned it before, but Bazel is not something internal or specific to<br>
>>> Google: it isn't (actually there are many incompatibilities between Bazel<br>
>>> and the internal system), 400 people attended the Bazel conference last<br>
>>> year. I attended this conference 3 years ago when I was at Tesla trying<br>
>> to<br>
>>> deploy Bazel internally. Many other companies are using Bazel,<br>
>> open-source<br>
>>> projects as well. Feel free to watch the talks online about SpaceX<br>
>>> <<a href="https://www.youtube.com/watch?v=t_3bckhV_YI" rel="noreferrer" target="_blank" class="cremed">https://www.youtube.com/watch?v=t_3bckhV_YI</a>> or Two Sigma and Uber<br>
>>> <<a href="https://www.youtube.com/watch?v=_bPyEbAyC0s" rel="noreferrer" target="_blank" class="cremed">https://www.youtube.com/watch?v=_bPyEbAyC0s</a>> for example<br>
>> Let's not conflate "using bazel" and "benefit for LLVM", the former<br>
>> is not up for debate here. (I mean, a lot of people use autoconf but<br>
>> we got rid of it anyway).<br>
>><br>
> I doubt we wouldn't have got rid of Autoconf if a chunk of the community<br>
> offered to maintain it at "no cost" (again see definition).<br>
<br>
It broke, ppl complained, and nobody wanted to fix it. That is the<br>
kind of technical debt (aka. cost) you can accumulate.<br>
<br>
<br>
><br>
>> That said, I think the original question is highly relevant. As I also<br>
>> mentioned somewhere above, where do we draw the line is the key to this<br>
>> RFC at the end of the day. A lot of the arguments I hear pro integration<br>
>> apply to various other things that currently live out-of-tree, some of<br>
>> which were proposed and not integrated.<br>
><br>
> Can you provide more concrete reference to these things that could have<br>
> been integrated in similar "zero cost" fashion?<br>
> I'm all for consistency, and the only point of comparison here is `gn`.<br>
<br>
Let's say RV, in a subfolder not build by default.</blockquote><div><br></div><div>I don't know what RV is? </div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> Or any other<br>
project that was proposed for inclusion without being build by<br>
default. (I remember also the discussion if we can/should add<br>
isl to llvm, pre-mono repo.)<br></blockquote><div><br></div><div>I am not sure I agree that we can compare new "projects" (or something like ISL) with "utilities for LLVM users".</div><div>I would expect a more comparable situation to me to be: </div><div>- the gdb scripts in llvm/utils/gdb-scripts/prettyprinters.py</div><div>- IDE visualizer in llvm/utils/LLVMVisualizers</div><div>- The Visual Studio Code syntax highlighting for LLVM IR and TableGen in llvm/utils/vscode ; and similar for kate, jedit, vim, textmate, ...</div><div>- the gn files in llvm/utils/gn</div><div><br></div><div>The general theme here is that these are not "new projects" in themselves: they are highly coupled to LLVM itself and only allow a specific subset of users to plug their tool/workflow into LLVM at a given revision.</div><div>Also all of these are "zero cost" in that they may be "broken" and maintained with best effort (I don't think we revert someone breaking any of the visualizer or syntax highlighter?). And none of these are really core to LLVM, and each could be in a separate repo where the interested parties could maintain it.</div><div><br></div></div></div></div></div></div></div></blockquote><div><br></div><div>FWIW this is the compelling argument to me and why I've also relaxed significantly over the years on this sort of thing. It's cheap to remove code when it's not useful anymore and we can do our best with documentation to handle a lot of the new user problems (as Eric Astor mentioned). Probably even a README in the various directories making sure that people know that cmake is the supported system "just in case they didn't read the documentation" :)</div><div><br></div></div></div></blockquote><div>Yes I was also about to draw a parallel to the various editor configs as well. These seem rather similar to me (albeit somewhat smaller). I do think that folks have raised some important concerns about the lack of a clear standard here, and I'm happy to help draft a doc spelling out what some of these should be. As part of that, it perhaps makes sense to take another look at the gn build files.</div><div><br></div><div>As another suggestion for making it very clear the support level here. What about putting both bazel and gn under some variant of `[/utils]/unsupported[_toolchains]/`. We have such a directory internally and it has always made it blindingly obvious to me that what I'm looking at is unsupported (and usually that I accidentally stumbled into the wrong directory :-P). Maybe editor configs should go here also if they have a similar (lack of) support? Although I think people are less likely to be confused about support levels for editor configs.</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div></div><div>-eric</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div class="gmail_quote"><div></div><div>Best,</div><div><br></div><div>-- </div><div>Mehdi</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
<br>
><br>
><br>
><br>
>> I think we should not dismiss<br>
>> this easily, no matter on which side of the argument you are this time.<br>
>><br>
>> ~ Johannes<br>
>><br>
>><br>
>><br>
>>><br>
>>> I'm not trying to convince anyone to use Bazel, it has drawbacks, but the<br>
>>> point here is to recognize that this is about OpenSource communities that<br>
>>> Bazel is serving: these are users, some of us in the LLVM community are<br>
>>> trying to provide these users with a reasonably good integration story,<br>
>> and<br>
>>> we're ready to pay the cost for everyone.<br>
>>><br>
>>><br>
>>><br>
>>>> *From:* Mehdi AMINI <<a href="mailto:joker.eph@gmail.com" target="_blank" class="cremed">joker.eph@gmail.com</a>><br>
>>>> *Sent:* Thursday, October 29, 2020 2:00 PM<br>
>>>> *To:* Chris Tetreault <<a href="mailto:ctetreau@quicinc.com" target="_blank" class="cremed">ctetreau@quicinc.com</a>><br>
>>>> *Cc:* Sterling Augustine <<a href="mailto:saugustine@google.com" target="_blank" class="cremed">saugustine@google.com</a>>; Mehdi Amini <<br>
>>>> <a href="mailto:aminim@google.com" target="_blank" class="cremed">aminim@google.com</a>>; LLVM Dev <<a href="mailto:llvm-dev@lists.llvm.org" target="_blank" class="cremed">llvm-dev@lists.llvm.org</a>>; Stella<br>
>> Laurenzo <<br>
>>>> <a href="mailto:laurenzo@google.com" target="_blank" class="cremed">laurenzo@google.com</a>>; Tres Popp <<a href="mailto:tpopp@google.com" target="_blank" class="cremed">tpopp@google.com</a>>; Geoffrey<br>
>> Martin-Noble<br>
>>>> <<a href="mailto:gcmn@google.com" target="_blank" class="cremed">gcmn@google.com</a>>; Thomas Joerg <<a href="mailto:tjoerg@google.com" target="_blank" class="cremed">tjoerg@google.com</a>><br>
>>>> *Subject:* [EXT] Re: [llvm-dev] Contributing Bazel BUILD files similar<br>
>> to<br>
>>>> gn<br>
>>>><br>
>>>><br>
>>>><br>
>>>><br>
>>>><br>
>>>><br>
>>>><br>
>>>> On Thu, Oct 29, 2020 at 1:24 PM Chris Tetreault via llvm-dev <<br>
>>>> <a href="mailto:llvm-dev@lists.llvm.org" target="_blank" class="cremed">llvm-dev@lists.llvm.org</a>> wrote:<br>
>>>><br>
>>>> The problem is that once it’s in community LLVM, it becomes the<br>
>>>> community’s problem.  The expectation is that individual contributors do<br>
>>>> not break anything in upstream.<br>
>>>><br>
>>>><br>
>>>><br>
>>>> I would expect that the community by now has concrete experience with<br>
>> `gn`<br>
>>>> gained over a few years demonstrating that this hasn't been a problem to<br>
>>>> have this in-tree, without a burden of support on the community.<br>
>>>><br>
>>>> In particular, I think that a salient point is the guarantee that no<br>
>>>> public bot would be testing it (I mean here by "no public bot" that no<br>
>> bot<br>
>>>> would email you when you break it).<br>
>>>><br>
>>>><br>
>>>><br>
>>>> Why else would you contribute it to the LLVM monorepo? If the goal is<br>
>> just<br>
>>>> to enable external-to-google orgs to collaborate on it, why not<br>
>> contribute<br>
>>>> it as a new repo separate from LLVM? You wouldn’t need to ask anybody’s<br>
>>>> permission to do this.<br>
>>>><br>
>>>><br>
>>>><br>
>>>> Yes, we could do this, and you are correct that in many cases a<br>
>> motivation<br>
>>>> to upstream a component is to make sure it is maintained by the<br>
>> community<br>
>>>> and works out of the box.<br>
>>>><br>
>>>> In this case it is slightly different: we are OK with people to break<br>
>>>> this. We are already maintaining these files out-of-tree for our own<br>
>>>> purposes, and this has been the case for years as Sterling mentions. I<br>
>>>> would even suspect that for Google internal build integration, it is<br>
>>>> actually easier to have these files internal only rather than<br>
>> unsupported<br>
>>>> upstream.<br>
>>>><br>
>>>> So why are we doing it? I mentioned this in another answer: this is<br>
>> mainly<br>
>>>> to provide a collaboration space for the support of OSS projects using<br>
>>>> Bazel interested to use LLVM (and some subprojects).<br>
>>>><br>
>>>> Having them in-tree means that we can publish every day (or more) a git<br>
>>>> hash that we validate with Bazel on private bots (like `gn`) and every<br>
>>>> project can use to clone the LLVM monorepo and integrate in their build<br>
>>>> flow easily. Another repo, submodules, etc. are not making this<br>
>> possible /<br>
>>>> practical.<br>
>>>><br>
>>>><br>
>>>><br>
>>>><br>
>>>><br>
>>>><br>
>>>><br>
>>>><br>
>>>><br>
>>>> *From:* Sterling Augustine <<a href="mailto:saugustine@google.com" target="_blank" class="cremed">saugustine@google.com</a>><br>
>>>> *Sent:* Thursday, October 29, 2020 1:14 PM<br>
>>>> *To:* Chris Tetreault <<a href="mailto:ctetreau@quicinc.com" target="_blank" class="cremed">ctetreau@quicinc.com</a>><br>
>>>> *Cc:* Renato Golin <<a href="mailto:rengolin@gmail.com" target="_blank" class="cremed">rengolin@gmail.com</a>>; <a href="mailto:tstellar@redhat.com" target="_blank" class="cremed">tstellar@redhat.com</a>; Mehdi<br>
>> Amini<br>
>>>> <<a href="mailto:aminim@google.com" target="_blank" class="cremed">aminim@google.com</a>>; LLVM Dev <<a href="mailto:llvm-dev@lists.llvm.org" target="_blank" class="cremed">llvm-dev@lists.llvm.org</a>>; Stella<br>
>> Laurenzo <<br>
>>>> <a href="mailto:laurenzo@google.com" target="_blank" class="cremed">laurenzo@google.com</a>>; Tres Popp <<a href="mailto:tpopp@google.com" target="_blank" class="cremed">tpopp@google.com</a>>; Geoffrey<br>
>> Martin-Noble<br>
>>>> <<a href="mailto:gcmn@google.com" target="_blank" class="cremed">gcmn@google.com</a>>; Thomas Joerg <<a href="mailto:tjoerg@google.com" target="_blank" class="cremed">tjoerg@google.com</a>><br>
>>>> *Subject:* [EXT] Re: [llvm-dev] Contributing Bazel BUILD files similar<br>
>> to<br>
>>>> gn<br>
>>>><br>
>>>><br>
>>>><br>
>>>> On Thu, Oct 29, 2020 at 12:29 PM Chris Tetreault via llvm-dev <<br>
>>>> <a href="mailto:llvm-dev@lists.llvm.org" target="_blank" class="cremed">llvm-dev@lists.llvm.org</a>> wrote:<br>
>>>><br>
>>>> I think Renato has articulated quite well some concerns I have about<br>
>> this<br>
>>>> but was unable to express. I would very much prefer if we just focus on<br>
>>>> using CMake effectively.<br>
>>>><br>
>>>> ...<br>
>>>><br>
>>>> For example, when trying to implement the same logic on both will not be<br>
>>>> trivial. So, whenever we want to add some functionality or improve how<br>
>> we<br>
>>>> build LLVM with one system, we'll have to do so in multiple build<br>
>> systems<br>
>>>> that do not easily match each other.<br>
>>>><br>
>>>><br>
>>>><br>
>>>> Google already does all of this work, and has for years. I think it is<br>
>>>> fair to say that it hasn't been a burden on the community.<br>
>>>><br>
>>>><br>
>>>><br>
>>>> If we don't try to match functionality, we'll segregate the community,<br>
>>>> because people will be able to do X on build system A but not B, and the<br>
>>>> similar features cluster together and then we have essentially two<br>
>> projects<br>
>>>> built from the same source code.<br>
>>>><br>
>>>><br>
>>>><br>
>>>> As long as we keep CMake as the canonical system everything will be<br>
>> fine.<br>
>>>> It works perfectly well today, except that not everyone gets to see or<br>
>> use<br>
>>>> the bazel files. They exist right now; they work right now; and it<br>
>> hasn't<br>
>>>> been a burden on anyone but the people who care about bazel.<br>
>>>><br>
>>>><br>
>>>><br>
>>>> Testing this, or worse, trying to fix a buildbot that is built with<br>
>> Bazel<br>
>>>> (and having to install Java JDK and all its dependencies) on<br>
>> potentially a<br>
>>>> hardware that you do not have access to, will be a nightmare to debug.<br>
>> The<br>
>>>> nature of post-commit testing, revert and review of LLVM will not make<br>
>> that<br>
>>>> simpler. Unless we treat the Bazel build as "not our problem" (which<br>
>>>> defeats the point of having it?).<br>
>>>><br>
>>>><br>
>>>><br>
>>>> Google makes it work like this today, with the rest of the project<br>
>>>> treating it as "not our problem" because they don't even see that they<br>
>>>> exist. The build bot issues would be real, but I think surmountable,<br>
>> given<br>
>>>> that Google already cleans up the bazel files, it just doesn't push<br>
>> them.<br>
>>>> Perhaps an explicit policy that cmake folks don't have to update the<br>
>> bazel<br>
>>>> files would be helpful.<br>
>>>><br>
>>>><br>
>>>><br>
>>>> To make matters worse, our CMake files are not simple, and do not do all<br>
>>>> of the things we want them to do in the way we understand completely.<br>
>> There<br>
>>>> is a lot of kludge that we carry and with that comes in two categories:<br>
>> the<br>
>>>> things that we hate and would love to fix, and the things that are fixes<br>
>>>> that we have no idea are there. The former are the reasons why people<br>
>> want<br>
>>>> to start a new build system, the latter is why they soon realise that<br>
>> was a<br>
>>>> mistake (insert XKCD joke here).<br>
>>>><br>
>>>><br>
>>>><br>
>>>> It wouldn't be starting a new build system, it would be making a<br>
>>>> pre-existing, already extremely well functioning one, available to more<br>
>>>> people.<br>
>>>><br>
>>>><br>
>>>><br>
>>>> I can definitely see folks who use cmake not wanting more hassle--that<br>
>> may<br>
>>>> be a valid reason not to do it. But "it won't work" or "it's hard to<br>
>> keep<br>
>>>> up" or "it's too complicated" seem well refuted by a multi-year<br>
>> existence<br>
>>>> proof.<br>
>>>><br>
>>>><br>
>>>><br>
>>>> _______________________________________________<br>
>>>> LLVM Developers mailing list<br>
>>>> <a href="mailto:llvm-dev@lists.llvm.org" target="_blank" class="cremed">llvm-dev@lists.llvm.org</a><br>
>>>> <a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank" class="cremed">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
>>>><br>
>>>><br>
>>> _______________________________________________<br>
>>> LLVM Developers mailing list<br>
>>> <a href="mailto:llvm-dev@lists.llvm.org" target="_blank" class="cremed">llvm-dev@lists.llvm.org</a><br>
>>> <a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank" class="cremed">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div></div></div></div></div></div>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank" class="cremed">llvm-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank" class="cremed">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div></div>
</blockquote></div></div>