[LLVMdev] Adding a Buildbot Config

Galina Kistanova gkistanova at gmail.com
Wed Jan 16 14:57:05 PST 2013


Hi David,

To add a builder you need to add your slave to slaves.py and a builder for
this slave to builders.py.
Here is an example of builder (from builder.py) with extra options to
configuration:

        {'name': "llvm-mips-linux",
         'slavenames':["mipsswbrd002"],
         'builddir':"llvm-mips-linux",
         'factory': LLVMBuilder.getLLVMBuildFactory("mips-linux-gnu",

extra_configure_args=["--with-extra-options=-mips32r2",

"--with-extra-ld-options=-mips32r2"])},

Only this builder gets these extra options.

Please let me know if you need more directions.

Thanks

Galina



On Tue, Jan 15, 2013 at 10:42 AM, <dag at cray.com> wrote:

> Dmitri Gribenko <gribozavr at gmail.com> writes:
>
> >> Right, I get that.  Actually I would probably use --enable-werror.
> >>
> >> Should I create a patch for builders.py to add a new config?
> >
> > Yes.  Send it to llvm-commits and CC Galina Kistanova.
>
> Ok, cool.  Thanks!
>
> >> Is there a way to map a config so that it only even builds on a certain
> >> buildslave?  I don't want to burden other builders with my config.
> >
> > Just edit one entry for your builder in builders.py, it will not
> > affect others.  (Or add a new one if you are adding a new builder.)
>
> Ok.
>
>                            -David
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130116/a4c86857/attachment.html>


More information about the llvm-dev mailing list