* [PATCH] Add multi-slave builders
@ 2018-05-10 4:34 Igor Torrente
2018-05-10 4:35 ` [PATCH] Add two new compilation options Igor Torrente
0 siblings, 1 reply; 5+ messages in thread
From: Igor Torrente @ 2018-05-10 4:34 UTC (permalink / raw)
To: libc-alpha, rodolfo; +Cc: Igor Torrente
From: Igor Torrente <igortorrente@outlook.com>
Implementation of muiti-slave builders.
This patch will make easy creation of multi-slave builders for buildbot.
---
master.cfg | 30 ++++++++++++++++++------------
1 file changed, 18 insertions(+), 12 deletions(-)
diff --git a/master.cfg b/master.cfg
index 9ecb3f4..164d309 100644
--- a/master.cfg
+++ b/master.cfg
@@ -18,18 +18,21 @@ import slavepasswd
# a shorter alias to save typing.
c = BuildmasterConfig = {}
+# Map builders to a set of slaves(workers).
builder_map = {
- 'glibc-x86_64-linux': 'glibc-ubuntu-trusty-slave2',
- 'glibc-i686-linux': 'glibc-ubuntu-trusty-slave2',
- 'glibc-power8-linux': 'fedora25-ppc64-power8-1',
- 'glibc-ppc-linux': 'debian8-ppc-power8-1',
- 'glibc-ppc64le-linux': 'fedora25-ppc64le-power8-1',
- 'glibc-s390x-linux': 'marist-fedora-s390x',
- 'glibc-aarch64-linux': 'reservedbit-xgene-ubuntu-aarch64',
+ 'glibc-x86_64-linux':['glibc-ubuntu-trusty-slave2'],
+ 'glibc-i686-linux': ['glibc-ubuntu-trusty-slave2'],
+ 'glibc-power8-linux': ['fedora25-ppc64-power8-1'],
+ 'glibc-ppc-linux': ['debian8-ppc-power8-1'],
+ 'glibc-ppc64le-linux': ['fedora25-ppc64le-power8-1'],
+ 'glibc-s390x-linux': ['marist-fedora-s390x'],
+ 'glibc-aarch64-linux': ['reservedbit-xgene-ubuntu-aarch64'],
}
+# Sets with all builders and all slaves.
builders = sorted(set(builder_map.iterkeys()))
-slaves = sorted(set(builder_map.itervalues()))
+slaves = sorted(set(slave for slave_list in (builder_map.itervalues())
+ for slave in slave_list))
####### BUILDSLAVES
@@ -68,10 +71,13 @@ c['schedulers'].append(ForceScheduler(
from AnnotatedFactory import getGlibcAnnotatedFactory
from buildbot.config import BuilderConfig
-c['builders'] = [BuilderConfig(name = builder,
- slavename = slave,
- factory = getGlibcAnnotatedFactory())
- for builder, slave in builder_map.iteritems()]
+# Creation of all builders.
+c['builders'] = []
+for builder in builder_map:
+ c['builders'].append(BuilderConfig(
+ name = builder,
+ slavenames= builder_map[builder],
+ factory = getGlibcAnnotatedFactory()))
####### STATUS TARGETS
--
2.1.4
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH] Add two new compilation options
2018-05-10 4:34 [PATCH] Add multi-slave builders Igor Torrente
@ 2018-05-10 4:35 ` Igor Torrente
2018-05-10 6:01 ` Siddhesh Poyarekar
0 siblings, 1 reply; 5+ messages in thread
From: Igor Torrente @ 2018-05-10 4:35 UTC (permalink / raw)
To: libc-alpha, rodolfo; +Cc: Igor Torrente
From: Igor Torrente <igortorrente@outlook.com>
Add two new compilation options for Power 8 architecture.
---
scripts/slave/buildbot_selector.py | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/scripts/slave/buildbot_selector.py b/scripts/slave/buildbot_selector.py
index 6c2394b..f84d708 100755
--- a/scripts/slave/buildbot_selector.py
+++ b/scripts/slave/buildbot_selector.py
@@ -21,6 +21,14 @@ BOT_ASSIGNMENT = {
'--with-cpu=power8',
'--enable-lock-elision',
]),
+ 'glibc-ppc64le-linux-p8-nomultiarch': bash('glibc-native.sh', [
+ '--with-cpu=power8',
+ '--disable-multi-arch',
+ ]),
+ 'glibc-ppc64le-linux-p8-notunables': bash('glibc-native.sh', [
+ '--with-cpu=power8',
+ '--disable-tunables',
+ ]),
'glibc-ppc-linux': bash('glibc-native.sh', [
'--build=powerpc-linux',
'CC=gcc -m32',
--
2.1.4
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] Add two new compilation options
2018-05-10 4:35 ` [PATCH] Add two new compilation options Igor Torrente
@ 2018-05-10 6:01 ` Siddhesh Poyarekar
2018-05-10 6:03 ` Siddhesh Poyarekar
2018-05-10 12:30 ` Tulio Magno Quites Machado Filho
0 siblings, 2 replies; 5+ messages in thread
From: Siddhesh Poyarekar @ 2018-05-10 6:01 UTC (permalink / raw)
To: Igor Torrente, libc-alpha, rodolfo; +Cc: Igor Torrente
On 05/10/2018 10:04 AM, Igor Torrente wrote:
> From: Igor Torrente <igortorrente@outlook.com>
>
> Add two new compilation options for Power 8 architecture.
Thanks, before I commit this, can you please confirm that you've
coordinated[1] with Tulio for login details to set up the slave?
Thanks,
Siddhesh
[1] https://sourceware.org/glibc/wiki/Buildbot
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] Add two new compilation options
2018-05-10 6:01 ` Siddhesh Poyarekar
@ 2018-05-10 6:03 ` Siddhesh Poyarekar
2018-05-10 12:30 ` Tulio Magno Quites Machado Filho
1 sibling, 0 replies; 5+ messages in thread
From: Siddhesh Poyarekar @ 2018-05-10 6:03 UTC (permalink / raw)
To: Igor Torrente, libc-alpha, rodolfo
Cc: Igor Torrente, Tulio Magno Quites Machado Filho
Sorry, I realized Tulio's contact details are not in there, I've cc'd
him now.
Siddhesh
On 05/10/2018 11:31 AM, Siddhesh Poyarekar wrote:
> On 05/10/2018 10:04 AM, Igor Torrente wrote:
>> From: Igor Torrente <igortorrente@outlook.com>
>>
>> Add two new compilation options for Power 8 architecture.
>
> Thanks, before I commit this, can you please confirm that you've
> coordinated[1] with Tulio for login details to set up the slave?
>
> Thanks,
> Siddhesh
>
> [1] https://sourceware.org/glibc/wiki/Buildbot
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] Add two new compilation options
2018-05-10 6:01 ` Siddhesh Poyarekar
2018-05-10 6:03 ` Siddhesh Poyarekar
@ 2018-05-10 12:30 ` Tulio Magno Quites Machado Filho
1 sibling, 0 replies; 5+ messages in thread
From: Tulio Magno Quites Machado Filho @ 2018-05-10 12:30 UTC (permalink / raw)
To: Siddhesh Poyarekar, Igor Torrente, libc-alpha, rodolfo; +Cc: Igor Torrente
Siddhesh Poyarekar <siddhesh@gotplt.org> writes:
> On 05/10/2018 10:04 AM, Igor Torrente wrote:
>> From: Igor Torrente <igortorrente@outlook.com>
>>
>> Add two new compilation options for Power 8 architecture.
>
> Thanks, before I commit this, can you please confirm that you've
> coordinated[1] with Tulio for login details to set up the slave?
We haven't yet, because these patches are not adding new slaves.
That's the next step.
Anyway Igor knows how to contact me. :-)
Thanks!
--
Tulio Magno
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-05-10 12:30 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-10 4:34 [PATCH] Add multi-slave builders Igor Torrente
2018-05-10 4:35 ` [PATCH] Add two new compilation options Igor Torrente
2018-05-10 6:01 ` Siddhesh Poyarekar
2018-05-10 6:03 ` Siddhesh Poyarekar
2018-05-10 12:30 ` Tulio Magno Quites Machado Filho
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).