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?
Thanks!
-David
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=? Otherwise, please take a look at zorg/buildbot/builders/ClangBuilder.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>*/
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? -David