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

Message ID 95e18ced-2a8b-0b92-15c8-67cca7bab431@arm.com
State Not applicable
Headers

Commit Message

Szabolcs Nagy March 18, 2019, 10:04 a.m. UTC
  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.
  

Comments

Tulio Magno Quites Machado Filho March 18, 2019, 12:57 p.m. UTC | #1
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

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 = {
-- 
2.17.1