<div dir="ltr">Thanks for the review!  Unfortunately I had to revert again in r238744 as it failed when doing a clang-cl self-host build.  This feature is determined to send me down as many rabbit holes as possible.  Thankfully I've now managed to reproduce that failure locally so I'm investigating what's going on.<div><br></div><div>What I've figured out so far is that CMake's cmcldeps tool is failing when that is handed clang-cl.exe as a program argument instead of cl.exe so I suspect I've stumbled onto a legitimate compatibility issue between cl and clang-cl. According to the source code I found at <a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_Kitware_CMake_blob_master_Source_cmcldeps.cxx&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=BSqEv9KvKMW_Ob8SyngJ70KdZISM_ASROnREeq0cCxk&m=ywIGVceHOeaKQHuF7TzA3gMJa18vXZY4LbQmukq58R4&s=ENctHgax1jiY3QSAPUUn7VSpYuPOZlJHm3L7fDkN8GM&e=">https://github.com/Kitware/CMake/blob/master/Source/cmcldeps.cxx</a> its purpose is:</div><div><br></div><div><div>// Wrapper around cl that adds /showIncludes to command line, and uses that to</div><div>// generate .d files that match the style from gcc -MD.</div></div><div><br></div><div>The first failure I ran into was that cmcldeps appears to be specifying the output file with "/out:<filename>" which clang-cl interprets as "/o" "ut:<filename>", but after hacking in support for that locally I'm still running into another failure later on.  I think the next step is to rebuild cmcldeps.exe myself with some more useful logging so I'll continue on that tomorrow and hopefully have an update soon.</div><div><br></div><div>Thanks again,</div><div>-Greg</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 1 June 2015 at 13:46, Greg Bedwell <span dir="ltr"><<a href="mailto:greg_bedwell@sn.scee.net" target="_blank">greg_bedwell@sn.scee.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">REPOSITORY<br>
  rL LLVM<br>
<br>
<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__reviews.llvm.org_D7828&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=BSqEv9KvKMW_Ob8SyngJ70KdZISM_ASROnREeq0cCxk&m=ywIGVceHOeaKQHuF7TzA3gMJa18vXZY4LbQmukq58R4&s=Tl4RdMrJ3iV8B2OmklCLh6ISV8jQVI0ig-h6LZ4IW9Q&e=" target="_blank">http://reviews.llvm.org/D7828</a><br>
<br>
Files:<br>
  llvm/trunk/cmake/modules/AddLLVM.cmake<br>
  llvm/trunk/resources/windows_version_resource.rc<br>
<br>
EMAIL PREFERENCES<br>
  <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__reviews.llvm.org_settings_panel_emailpreferences_&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=BSqEv9KvKMW_Ob8SyngJ70KdZISM_ASROnREeq0cCxk&m=ywIGVceHOeaKQHuF7TzA3gMJa18vXZY4LbQmukq58R4&s=oJhW-JFK2dIqOZIWr8vBRTGrz9Sx-pqW4XV9-R6Tb_s&e=" target="_blank">http://reviews.llvm.org/settings/panel/emailpreferences/</a><br>
<br>_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
<br></blockquote></div><br></div>