<div dir="ltr">> 

Could an issue please be filed about this? CMake tries hard to not break<br>backwards compat, though we're not perfect (and we can't fix what we're<br>not aware of).<div><br></div><div>I appreciate that, but I don't think this is a CMake bug.</div><div><br></div><div>In this instance, llvm-mt is supposed to be a cross-platform drop-in alternative for mt.exe.  In theory, it shouldn't matter which one CMake selects.  And, in fact, the point of a self-hosted build is to use the LLVM tool chain.  The fact that llvm-mt's dependencies aren't met on Windows seems like an LLVM problem, either in the tool itself or in the documentation about how to set up the development environment.</div><div><br></div><div>[Rant about the near-infinite size of LLVM's "supported" configuration space elided, for now.]</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Aug 23, 2021 at 5:12 PM Ben Boeckel <<a href="mailto:ben.boeckel@kitware.com">ben.boeckel@kitware.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">On Mon, Aug 23, 2021 at 15:17:21 -0700, Adrian McCarthy via cfe-dev wrote:<br>
> Yikes!  Thanks for the heads up.<br>
> <br>
> This is the third time I've bisected to find build configuration problems<br>
> that affect only certain Windows configurations only to learn that it was<br>
> (primarily) a change in our tools that broke things (retroactively).  Since<br>
> the bot configurations aren't updated very often, it's easy for these<br>
> problems to go unnoticed for a very long time.<br>
<br>
*Puts on CMake developer hat*<br>
<br>
Could an issue please be filed about this? CMake tries hard to not break<br>
backwards compat, though we're not perfect (and we can't fix what we're<br>
not aware of).<br>
<br>
> It's one thing not to have hermetic builds, but it's quite another to allow<br>
> every developer to choose from a wide range of versions for each of the<br>
> myriad tools necessary to build the product.  The builds are so sensitive<br>
> to so many details of the environment, it's rather amazing to me how often<br>
> we manage to succeed.<br>
<br>
Yes, and CMake tries not to be the bump in the road there, but we can<br>
fix this in 3.20.6 and 3.21.2 (maybe 3.21.3, depends on how intricate<br>
the fix is).<br>
<br>
Thanks,<br>
<br>
--Ben<br>
</blockquote></div>