[LLVMdev] Adding a Buildbot Config

Dmitri Gribenko gribozavr at gmail.com
Tue Jan 15 09:17:07 PST 2013


On Tue, Jan 15, 2013 at 7:07 PM,  <dag at cray.com> wrote:
> Dmitri Gribenko <gribozavr at gmail.com> writes:
>
>> On Tue, Jan 15, 2013 at 2:43 AM,  <greened at obbligato.org> wrote:
>>> The document here explains pretty well how to add a buildslave to the
>>> buildbot:
>>>
>>> http://llvm.org/docs/HowToAddABuilder.html
>>>
>>> However, it's not clear to me how to add a new build config.  I would
>>> like to add a buildslave that builds with -Werror so we can catch and
>>> correct warnings early.
>>>
>>> How should I go about adding a new build configuration?  Do I edit
>>> one of the .py files in zorg?
>>
>> Can you get the desired effect with --with-extra-options=?
>
> Probably, but where do I put that?

It is a configure argument that specifies extra options to compile
with.  For buildbots, it is the extra_configure_args parameter for
getClangBuildFactory (look at examples in builders.py).

Dmitri

-- 
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/



More information about the llvm-dev mailing list