[buildbot] Add hi1616-ubunut-{aarch64,armhf} builders
diff mbox series

Message ID 776e01b7-cf91-5269-3671-a0b3f8f75111@arm.com
State New
Headers show
Series
  • [buildbot] Add hi1616-ubunut-{aarch64,armhf} builders
Related show

Commit Message

Szabolcs Nagy March 1, 2019, 3:21 p.m. UTC
i plan to commit this next week.

Comments

Szabolcs Nagy March 13, 2019, 6:44 p.m. UTC | #1
On 01/03/2019 15:21, Szabolcs Nagy wrote:
> i plan to commit this next week.

Tulio,

i committed the config changes,
can you restart the buildbot server?
Tulio Magno Quites Machado Filho March 14, 2019, 7:55 p.m. UTC | #2
Szabolcs Nagy <Szabolcs.Nagy@arm.com> writes:

> On 01/03/2019 15:21, Szabolcs Nagy wrote:
>> i plan to commit this next week.
>
> i committed the config changes,
> can you restart the buildbot server?

Done!

The new builder appeared and is waiting for the connection of the slave.
Szabolcs Nagy March 18, 2019, 10:04 a.m. UTC | #3
On 14/03/2019 19:55, Tulio Magno Quites Machado Filho wrote:
> Szabolcs Nagy <Szabolcs.Nagy@arm.com> writes:
> 
>> On 01/03/2019 15:21, Szabolcs Nagy wrote:
>>> i plan to commit this next week.
>>
>> i committed the config changes,
>> can you restart the buildbot server?
> 
> Done!
> 
> The new builder appeared and is waiting for the connection of the slave.

sorry i made a configuration mistake, so the armhf builder
does not work.

now i committed the attached patch, so it should work after
another restart.
From ffa8025b78d38090206e925bf396a1a154c65b2e Mon Sep 17 00:00:00 2001
From: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date: Fri, 15 Mar 2019 12:02:17 +0000
Subject: [PATCH] Explicitly pass the build triplet to the armhf builder

the armhf builder runs on an aarch64 machine, so we have to set the build
triplet explicitly as config.guess gets it wrong, even though the userspace
root fs is armhf.
---
 scripts/slave/buildbot_selector.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/scripts/slave/buildbot_selector.py b/scripts/slave/buildbot_selector.py
index 795bcdd..2b92c35 100755
--- a/scripts/slave/buildbot_selector.py
+++ b/scripts/slave/buildbot_selector.py
@@ -31,7 +31,9 @@ BOT_ASSIGNMENT = {
     'glibc-aarch64-linux': bash('glibc-native.sh', [
         '--enable-tunables'
     ]),
-    'glibc-armhf-linux': bash('glibc-native.sh'),
+    'glibc-armhf-linux': bash('glibc-native.sh', [
+        '--build=arm-linux-gnueabihf',
+    ]),
 }
 
 BOT_ADDITIONAL_ENV = {
Tulio Magno Quites Machado Filho March 18, 2019, 12:57 p.m. UTC | #4
Szabolcs Nagy <Szabolcs.Nagy@arm.com> writes:

> sorry i made a configuration mistake, so the armhf builder
> does not work.
>
> now i committed the attached patch, so it should work after
> another restart.

Done!

Patch
diff mbox series

From 794e09178f9053a31fa2fe579d4d1dd56bce237a Mon Sep 17 00:00:00 2001
From: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date: Thu, 28 Feb 2019 16:02:09 +0000
Subject: [PATCH] Add hi1616-ubunut-{aarch64,armhf} builders

---
 master.cfg                         | 3 ++-
 scripts/slave/buildbot_selector.py | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/master.cfg b/master.cfg
index 701def3..c30591f 100644
--- a/master.cfg
+++ b/master.cfg
@@ -26,7 +26,8 @@  builder_map = {
   'glibc-ppc-linux': ['debian8-ppc-power8-1'],
   'glibc-ppc64le-linux': ['fedora25-ppc64le-power8-1'],
   'glibc-s390x-linux': ['marist-fedora-s390x'],
-  'glibc-aarch64-linux': ['tx1-ubuntu-aarch64'],
+  'glibc-aarch64-linux': ['hi1616-ubuntu-aarch64'],
+  'glibc-armhf-linux': ['hi1616-ubuntu-armhf'],
 }
 
 # Sets with all builders and all slaves.
diff --git a/scripts/slave/buildbot_selector.py b/scripts/slave/buildbot_selector.py
index 6c2394b..795bcdd 100755
--- a/scripts/slave/buildbot_selector.py
+++ b/scripts/slave/buildbot_selector.py
@@ -31,6 +31,7 @@  BOT_ASSIGNMENT = {
     'glibc-aarch64-linux': bash('glibc-native.sh', [
         '--enable-tunables'
     ]),
+    'glibc-armhf-linux': bash('glibc-native.sh'),
 }
 
 BOT_ADDITIONAL_ENV = {
-- 
2.17.1