[PATCH] Teach zorg to support cmake and modules for Clang builders

Richard Smith richard at metafoo.co.uk
Wed Sep 10 20:32:50 PDT 2014


Ping
On 15 Aug 2014 12:52, "Richard Smith" <richard at metafoo.co.uk> wrote:

> Hi chapuni,
>
> 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.
>
> My modules buildbot is configured using this builder:
>
>          {'name' : "clang-x86_64-linux-selfhost-rel",
>           'slavenames' : ["localhost"],
>           'builddir' : "clang-x86_64-linux-selfhost-rel",
>           'factory' :
> ClangBuilder.getClangBuildFactory(triple='x86_64-pc-linux-gnu',
>                                                useTwoStage=True,
>                                                modules=True,
>                                                clean=False,
>
>  stage1_config='Release+Asserts',
>
>  stage2_config='Release+Asserts',
>                                                extra_configure_args=[
>
>  '-DCMAKE_C_COMPILER=/var/lib/buildbot/bin/clang',
>
>  '-DCMAKE_CXX_COMPILER=/var/lib/buildbot/bin/clang++',
>
>  '-DCMAKE_CXX_FLAGS=-stdlib=libc++',
>                                                ],
>
>  cmake='/var/lib/buildbot/bin/cmake')},
>
> ... and seems to work.
>
> http://reviews.llvm.org/D4936
>
> Files:
>   zorg/buildbot/builders/ClangBuilder.py
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140910/5c2b1227/attachment.html>


More information about the llvm-commits mailing list