<p dir="ltr">Ping</p>
<div class="gmail_quote">On 15 Aug 2014 12:52, "Richard Smith" <<a href="mailto:richard@metafoo.co.uk">richard@metafoo.co.uk</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi chapuni,<br>
<br>
Adds `modules=` and `cmake=` keyword arguments to `getClangBuildFactory`. Right now, the modules build requires a two-stage cmake-based bootstrap. To use this you'll need a modularized libc and libc++ in a place where the build will find them.<br>
<br>
My modules buildbot is configured using this builder:<br>
<br>
{'name' : "clang-x86_64-linux-selfhost-rel",<br>
'slavenames' : ["localhost"],<br>
'builddir' : "clang-x86_64-linux-selfhost-rel",<br>
'factory' : ClangBuilder.getClangBuildFactory(triple='x86_64-pc-linux-gnu',<br>
useTwoStage=True,<br>
modules=True,<br>
clean=False,<br>
stage1_config='Release+Asserts',<br>
stage2_config='Release+Asserts',<br>
extra_configure_args=[<br>
'-DCMAKE_C_COMPILER=/var/lib/buildbot/bin/clang',<br>
'-DCMAKE_CXX_COMPILER=/var/lib/buildbot/bin/clang++',<br>
'-DCMAKE_CXX_FLAGS=-stdlib=libc++',<br>
],<br>
cmake='/var/lib/buildbot/bin/cmake')},<br>
<br>
... and seems to work.<br>
<br>
<a href="http://reviews.llvm.org/D4936" target="_blank">http://reviews.llvm.org/D4936</a><br>
<br>
Files:<br>
zorg/buildbot/builders/ClangBuilder.py<br>
</blockquote></div>