diff mbox series

[OSSTEST,14/15] cross builds: Build armhf kernels on amd64 hosts

Message ID 20190426164002.22381-15-ian.jackson@eu.citrix.com (mailing list archive)
State Superseded
Headers show
Series Do armhf kernel builds on amd64 | expand

Commit Message

Ian Jackson April 26, 2019, 4:40 p.m. UTC
Our armhf hosts are devboards and very slow, as well as scarce.  It
5takes 17ks or so for a kernel build.  This will go *much* faster on
an amd64 box and we have lots of those too.

standalone-generate-dump-flight-runvars shows that the only change is
to change host_arch from armhf to amd64 in build-armhf-pvops jobs.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
CC: Julien Grall <julien.grall@arm.com>
CC: Stefano Stabellini <sstabellini@kernel.org>
---
 mfi-common | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Julien Grall April 26, 2019, 9:24 p.m. UTC | #1
Hi Ian,

On 4/26/19 5:40 PM, Ian Jackson wrote:
> Our armhf hosts are devboards and very slow, as well as scarce.  It
> 5takes 17ks or so for a kernel build.  This will go *much* faster on

NIT: s/5takes/takes/

> an amd64 box and we have lots of those too.
> 
> standalone-generate-dump-flight-runvars shows that the only change is
> to change host_arch from armhf to amd64 in build-armhf-pvops jobs.
> 
> Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
> CC: Julien Grall <julien.grall@arm.com>
> CC: Stefano Stabellini <sstabellini@kernel.org>

FWIW:

Acked-by: Julien Grall <julien.grall@arm.com>

> ---
>   mfi-common | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/mfi-common b/mfi-common
> index 7b5c894f..30f2692d 100644
> --- a/mfi-common
> +++ b/mfi-common
> @@ -424,7 +424,7 @@ create_build_jobs () {
>       fi
>   
>       job_create_build_crossable build-$arch-pvops build-kern $arch            \
> -                -                                                            \
> +                armhf amd64 -                                                \
>                   kconfighow=xen-enable-xen-config                             \
>                   $RUNVARS $BUILD_RUNVARS $BUILD_LINUX_RUNVARS $arch_runvars   \
>                   $hostos_runvars                                              \
> 

Cheers,
Ian Jackson April 29, 2019, 3:07 p.m. UTC | #2
Julien Grall writes ("Re: [OSSTEST PATCH 14/15] cross builds: Build armhf kernels on amd64 hosts"):
> On 4/26/19 5:40 PM, Ian Jackson wrote:
> > Our armhf hosts are devboards and very slow, as well as scarce.  It
> > 5takes 17ks or so for a kernel build.  This will go *much* faster on
> 
> NIT: s/5takes/takes/

Thanks, fixed.

> FWIW:
> Acked-by: Julien Grall <julien.grall@arm.com>

Thanks.

Ian.
diff mbox series

Patch

diff --git a/mfi-common b/mfi-common
index 7b5c894f..30f2692d 100644
--- a/mfi-common
+++ b/mfi-common
@@ -424,7 +424,7 @@  create_build_jobs () {
     fi
 
     job_create_build_crossable build-$arch-pvops build-kern $arch            \
-                -                                                            \
+                armhf amd64 -                                                \
                 kconfighow=xen-enable-xen-config                             \
                 $RUNVARS $BUILD_RUNVARS $BUILD_LINUX_RUNVARS $arch_runvars   \
                 $hostos_runvars                                              \