[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PULL 31/45] tests/docker: add more images to PARTIAL_IMAGES when no
From: |
Alex Bennée |
Subject: |
Re: [PULL 31/45] tests/docker: add more images to PARTIAL_IMAGES when not on x86_64 |
Date: |
Fri, 20 Sep 2019 07:23:01 +0100 |
User-agent: |
mu4e 1.3.4; emacs 27.0.50 |
Philippe Mathieu-Daudé <address@hidden> writes:
> Hi Alex,
>
> On 9/10/19 10:43 AM, Alex Bennée wrote:
>> This prevents us trying to do builds which we can't complete.
>>
>> Signed-off-by: Alex Bennée <address@hidden>
>>
>> diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include
>> index 7df8dbe1a17..50a400b573a 100644
>> --- a/tests/docker/Makefile.include
>> +++ b/tests/docker/Makefile.include
>> @@ -106,6 +106,15 @@ docker-image-debian-s390x-cross: docker-image-debian9
>> docker-image-debian-win32-cross: docker-image-debian9-mxe
>> docker-image-debian-win64-cross: docker-image-debian9-mxe
>>
>> +# For non-x86 hosts not all cross-compilers have been packaged
>> +ifneq ($(ARCH),x86_64)
>> +DOCKER_PARTIAL_IMAGES += debian-mips-cross debian-mipsel-cross
>> debian-mips64el-cross
>> +DOCKER_PARTIAL_IMAGES += debian-ppc64el-cross
>> +DOCKER_PARTIAL_IMAGES += debian-s390x-cross
>> +DOCKER_PARTIAL_IMAGES += debian-win32-cross debian-win64-cross
>> +DOCKER_PARTIAL_IMAGES += fedora travis
>> +endif
>> +
>> docker-image-debian-alpha-cross: docker-image-debian10
>> docker-image-debian-arm64-cross: docker-image-debian10
>> docker-image-debian-hppa-cross: docker-image-debian10
>>
>
> I wanted to run the Travis tests locally (per
> docs/devel/testing.rst:364) but I got:
>
> $ make docker-travis@travis
> LD address@hidden
> cc: fatal error: no input files
> compilation terminated.
> make: *** [rules.mak:118: address@hidden] Error 1
>
> Bisected to this patch:
>
> e5389e44147e4c8d652006ed086c48f74684726a is the first bad commit
> commit e5389e44147e4c8d652006ed086c48f74684726a
> Author: Alex Bennée <address@hidden>
> Date: Thu Aug 15 19:40:48 2019 +0000
>
> tests/docker: add more images to PARTIAL_IMAGES when not on x86_64
>
> This prevents us trying to do builds which we can't complete.
>
> Removing 'travis' from this list we get it working again.
Have you run configure? I had to work around this in shippable:
# usually host ARCH is set by configure
- echo "ARCH=$(uname -m)" > config-host.mak
I guess more logic could be put in if the ARCH is empty
>
> Regards,
>
> Phil.
--
Alex Bennée
- [Qemu-devel] [PULL 24/45] tests/docker: update Debian Sid image, (continued)
- [Qemu-devel] [PULL 24/45] tests/docker: update Debian Sid image, Alex Bennée, 2019/09/10
- [Qemu-devel] [PULL 36/45] .travis.yml: Cache Python PIP packages, Alex Bennée, 2019/09/10
- [Qemu-devel] [PULL 25/45] tests/docker: pin powerpc-user-cross to a snapshot, Alex Bennée, 2019/09/10
- [Qemu-devel] [PULL 35/45] .travis.yml: Increase cache timeout from 3min to 20min, Alex Bennée, 2019/09/10
- [Qemu-devel] [PULL 39/45] .travis.yml: Enable ccache on OSX, Alex Bennée, 2019/09/10
- [Qemu-devel] [PULL 17/45] tests/docker: move our HPPA cross compile to Buster, Alex Bennée, 2019/09/10
- [Qemu-devel] [PULL 43/45] .travis.yml: Cache Linux/Clang jobs together, Alex Bennée, 2019/09/10
- [Qemu-devel] [PULL 40/45] .travis.yml: Document how the build matrix use caches, Alex Bennée, 2019/09/10
- [Qemu-devel] [PULL 31/45] tests/docker: add more images to PARTIAL_IMAGES when not on x86_64, Alex Bennée, 2019/09/10
- [Qemu-devel] [PULL 28/45] tests/docker: avoid $SHELL invoke bash directly, Alex Bennée, 2019/09/10
- Re: [Qemu-devel] [PULL 00/45] testing updates (fixes, upgrades, caching), Peter Maydell, 2019/09/10