[flang-dev] Flang Buildbot

Michael Kruse via flang-dev flang-dev at lists.llvm.org
Wed Apr 22 12:51:47 PDT 2020


Am Di., 21. Apr. 2020 um 20:38 Uhr schrieb Brian Friesen <bfriesen at lbl.gov>:
>
> Hi again,
>
> On Tue, Apr 21, 2020 at 11:58 AM Michael Kruse via flang-dev
> <flang-dev at lists.llvm.org> wrote:
> >
> > Thanks for the update.
> >
> > Note that there is a staging area for unstable buildbots, that does
> > not send out mails: http://lab.llvm.org:8014/
>
> I have made some progress configuring a flang buildbot at NERSC.
> However I am confused by some parts of the LLVM builder docs
> (https://llvm.org/docs/HowToAddABuilder.html):
>
> - In some places that page says the production buildmaster is
> http://lab.llvm.org:8011 and the silent buildmaster is
> http://lab.llvm.org:8014 (Michael mentioned the same URLs earlier in
> this thread). But in other places on the same page, the production
> port is listed as 9990 and the silent port as 9994. Which pair of
> ports is correct? Or do these pairs of ports serve different purposes?

To confirm the buildslave works, connect it to port 9994. The results
are reported to lab.llvm.org:8014

Once we see that the builder works and is not flaky (randomly fails
e.g. because of timeouts), switch the buildslave to connect to port
9990. Results will be reported at lab.llvm.org:8011 and lab.llvm.org
will send out blame mails.

It is important to use buildbot version 0.8.5 EXACTLY. Other versions
do connect successfully (i.e. no check for version mismatch), but fail
at some other stage. For me it was that "git" on the slave was not
found.


> - Step 9 of that page says "Send a patch which adds your build slave
> and your builder to zorg." What does that mean? I searched a bit and
> found this GitHub repository: https://github.com/llvm/llvm-zorg. Does
> step 9 consist of sending a GitHub pull request to that repository
> with the buildbot info?

Upload a patch like the following:

https://reviews.llvm.org/D75127

>  - Assuming that the above mentioned GitHub page is the correct page
> for 'zorg', what is the meaning of the properties 'jobs' and
> 'max_builds'? e.g., this buildbot
> (https://github.com/llvm/llvm-zorg/blob/master/buildbot/osuosl/master/config/slaves.py#L14)
> has `jobs=24` and `max_builds=2`.

'jobs' typically is the '-j' parameter for ninja. It depends on the
builder, of which you will define your own (in builders.py).

'max_builds' is the number of buildbot builds the buildslave is
allowed to do concurrently (I think). I don't recommend that, there
should be enough parallelism in the compilation.

Michael


More information about the flang-dev mailing list