[v2,21/21] .shippable.yml: add linux-user cross-build for ppc-softmmu

Message ID 20180629205232.27190-22-alex.bennee@linaro.org
State New
Headers show
Series
  • Travis, Code Coverage and Cross Build updates
Related show

Commit Message

Alex Bennée June 29, 2018, 8:52 p.m.
Use our new ability to use linux-user powered docker images to build
ppc-softmmu.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>

---
 .shippable.yml | 8 ++++++++
 1 file changed, 8 insertions(+)

-- 
2.17.1

Comments

Alex Bennée July 1, 2018, 9:26 p.m. | #1
Alex Bennée <alex.bennee@linaro.org> writes:

> Use our new ability to use linux-user powered docker images to build

> ppc-softmmu.

>

> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>

> ---

>  .shippable.yml | 8 ++++++++

>  1 file changed, 8 insertions(+)

>

> diff --git a/.shippable.yml b/.shippable.yml

> index f74a3de3ff..12f9d3b221 100644

> --- a/.shippable.yml

> +++ b/.shippable.yml

> @@ -25,6 +25,14 @@ env:

>        TARGET_LIST=mips64el-softmmu,mips64el-linux-user

>      - IMAGE=debian-ppc64el-cross

>        TARGET_LIST=ppc64-softmmu,ppc64-linux-user,ppc64abi32-linux-user

> +    include:

> +      # Additional linux-user cross build

> +      - pre_ci:

> +          - ./configure --target-list=ppc-linux-user --static

> +          - make -j$(($(getconf _NPROCESSORS_ONLN) + 1))

> +          - make docker-image-powerpc-user-cross

> +        env: IMAGE=debian-image-powerpc-user-cross

> +             TARGET_LIST=ppc-softmmu


OK this doesn't work, back to the drawing board for the CI bit then.

>  build:

>    pre_ci:

>      - make docker-image-${IMAGE} V=1



--
Alex Bennée

Patch

diff --git a/.shippable.yml b/.shippable.yml
index f74a3de3ff..12f9d3b221 100644
--- a/.shippable.yml
+++ b/.shippable.yml
@@ -25,6 +25,14 @@  env:
       TARGET_LIST=mips64el-softmmu,mips64el-linux-user
     - IMAGE=debian-ppc64el-cross
       TARGET_LIST=ppc64-softmmu,ppc64-linux-user,ppc64abi32-linux-user
+    include:
+      # Additional linux-user cross build
+      - pre_ci:
+          - ./configure --target-list=ppc-linux-user --static
+          - make -j$(($(getconf _NPROCESSORS_ONLN) + 1))
+          - make docker-image-powerpc-user-cross
+        env: IMAGE=debian-image-powerpc-user-cross
+             TARGET_LIST=ppc-softmmu
 build:
   pre_ci:
     - make docker-image-${IMAGE} V=1