<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I sent out a patch for review.<div class=""><br class=""></div><div class=""><a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__reviews.llvm.org_D10102&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=Mfk2qtn1LTDThVkh6-oGglNfMADXfJdty4_bhmuhMHA&m=CnMJsu0f0vSR1CHLloYJapdWWCpu9GRn3nQydr1tcoc&s=8zJYqD7TktfFqlUjdI8Gcv-ULAGh72ZOOZ9KumO1PZo&e=" class="">http://reviews.llvm.org/D10102</a></div><div class=""><br class=""></div><div class="">-Chris</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On May 28, 2015, at 9:48 AM, Yaron Keren <<a href="mailto:yaron.keren@gmail.com" class="">yaron.keren@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="rtl" class=""><div dir="ltr" class="">Thanks!</div></div><div class="gmail_extra"><br class=""><div class="gmail_quote"><div dir="ltr" class="">2015-05-28 18:56 GMT+03:00 Chris Bieneman <span dir="ltr" class=""><<a href="mailto:beanz@apple.com" target="_blank" class="">beanz@apple.com</a>></span>:</div><blockquote class="gmail_quote" style="margin:0 .8ex;border-left:1px #ccc solid;border-right:1px #ccc solid;padding-left:1ex;padding-right:1ex"><div style="word-wrap:break-word" class=""><br class=""><div class=""><span class=""><blockquote type="cite" class=""><div class="">On May 28, 2015, at 8:37 AM, Yaron Keren <<a href="mailto:yaron.keren@gmail.com" target="_blank" class="">yaron.keren@gmail.com</a>> wrote:</div><br class=""><div class=""><div dir="rtl" class=""><div dir="ltr" class="">Probably not a blocker for replacing autoconf, while at it:</div><div dir="ltr" class="">Bug 23468 - LLVM_OPTIMIZED_TABLEGEN does not work with Visual Studio.</div><div dir="ltr" class="">It makes the tablegenning really slow.</div></div></div></blockquote><div class=""><br class=""></div></span><div class="">This is actually a feature of the CMake build system that the autoconf one doesn’t have, so this is not related to replacing autoconf.</div><div class=""><br class=""></div><div class="">That said, I’ll try to address this soon.</div><span class="HOEnZb"><font color="#888888" class=""><div class=""><br class=""></div><div class="">-Chris</div></font></span><div class=""><div class="h5"><br class=""><blockquote type="cite" class=""><div class=""><div dir="rtl" class=""><div dir="ltr" class=""><br class=""></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote"><div dir="ltr" class="">2015-05-28 18:22 GMT+03:00 Chris Bieneman <span dir="ltr" class=""><<a href="mailto:beanz@apple.com" target="_blank" class="">beanz@apple.com</a>></span>:</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br class="">
<br class="">
Time for another update on the status of the CMake build system.<br class="">
<br class="">
Completed:<br class="">
* Bug 18496 - [cmake] .S assembly files not compiled by cmake in libclang_rt.ARCH<br class="">
* Bug 22725 - lldb build with cmake fails with "Program error: Invalid parameters entered, -h for help. "<br class="">
* Update GettingStarted to prefer CMake<br class="">
<br class="">
Still Outstanding:<br class="">
<br class="">
* Bug 14109 - CMake build for compiler-rt should use just-built clang<br class="">
 - No Update: Still some small issues to resolve.<br class="">
<br class="">
* Bug 19462 - Use the INSTALL(EXPORT ...) to export CMake definitions<br class="">
 - I commented in the review for this today (<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__reviews.llvm.org_D7623&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=Mfk2qtn1LTDThVkh6-oGglNfMADXfJdty4_bhmuhMHA&m=CnMJsu0f0vSR1CHLloYJapdWWCpu9GRn3nQydr1tcoc&s=sUUTJf37gKTcDMx58mdbge8nZhoWhIh5vIfTXTa8ibI&e=" target="_blank" class="">http://reviews.llvm.org/D7623</a>). I think the patches I have are good to land, but Stephen Kelly made some other suggestions in the bug we should consider separately.<br class="">
<br class="">
* Bug 19875 - libraries and executables need different rpaths<br class="">
 - No Update: Still outstanding, I don't think this is a blocker.<br class="">
<br class="">
* Bug 21561 - Update release scripts to use CMake<br class="">
 - No Update: Still outstanding and blocking removal of autoconf<br class="">
<br class="">
* Bug 21562 - Add a CMake equivalent for make/platform/<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__clang-5Fdarwin.mk_&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=Mfk2qtn1LTDThVkh6-oGglNfMADXfJdty4_bhmuhMHA&m=CnMJsu0f0vSR1CHLloYJapdWWCpu9GRn3nQydr1tcoc&s=wt0UGa6r8x3w45AVGzPGHAjLVWguk3nXjPFh74rdxxM&e=" target="_blank" class="">clang_darwin.mk</a> in compiler_rt<br class="">
 - I've looked at this a bit on and off. It is unfortunately a hard problem. I think it would be easier if CMake had better support for setting clang's sysroot and arch flags. To that end I've filed a bug against CMake (<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.cmake.org_Bug_view.php-3Fid-3D15591&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=Mfk2qtn1LTDThVkh6-oGglNfMADXfJdty4_bhmuhMHA&m=CnMJsu0f0vSR1CHLloYJapdWWCpu9GRn3nQydr1tcoc&s=umuCvLy-UFJkds60slnEM9ROl2OiO4qvtQbhF7MhIF8&e=" target="_blank" class="">http://www.cmake.org/Bug/view.php?id=15591</a>).<br class="">
<br class="">
* Bug 21568 - Cannot add rpath<br class="">
 - No Update: Not a blocker.<br class="">
<br class="">
Other issues not tracked by bugs:<br class="">
<br class="">
* FreeBSD seemed to have problems with CMake identifying itself as amd64 causing x86_64 tests to fail<br class="">
* Migrating buildbots<br class="">
* We need to make sure libc++ works properly on Darwin<br class="">
* Put together a “cheat sheet” document for transitioning<br class="">
 - If you have an autoconf workflow you’d like to see in the cheat sheet please send your commands my way and I‘ll assemble the cheat sheet.<br class="">
<br class="">
If there is anything I’m missing please let me know. Thanks,<br class="">
<br class="">
Thanks,<br class="">
-Chris<br class="">
_______________________________________________<br class="">
LLVM Developers mailing list<br class="">
<a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank" class="">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu/" target="_blank" class="">http://llvm.cs.uiuc.edu</a><br class="">
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank" class="">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br class="">
</blockquote></div><br class=""></div>
</div></blockquote></div></div></div><br class=""></div></blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></div></body></html>