[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v4 27/49] tests/tcg: enable building for ARM
From: |
Alex Bennée |
Subject: |
Re: [Qemu-devel] [PATCH v4 27/49] tests/tcg: enable building for ARM |
Date: |
Fri, 18 May 2018 16:48:44 +0100 |
User-agent: |
mu4e 1.1.0; emacs 26.1 |
Philippe Mathieu-Daudé <address@hidden> writes:
> On 05/17/2018 02:46 PM, Alex Bennée wrote:
>> This allows us to use the docker cross compiler image to build these
>> tests.
>>
>> Signed-off-by: Alex Bennée <address@hidden>
>> ---
>> tests/tcg/arm/Makefile.include | 8 ++++++++
>> 1 file changed, 8 insertions(+)
>> create mode 100644 tests/tcg/arm/Makefile.include
>>
>> diff --git a/tests/tcg/arm/Makefile.include b/tests/tcg/arm/Makefile.include
>> new file mode 100644
>> index 0000000000..8e7eac008f
>> --- /dev/null
>> +++ b/tests/tcg/arm/Makefile.include
>> @@ -0,0 +1,8 @@
>> +# Makefile.include for all ARM targets
>> +#
>> +# We don't have any bigendian build tools so we only use this for armhf
>> +
>> +ifeq ($(TARGET_NAME),arm)
>> +DOCKER_IMAGE=debian-armhf-cross
>
> [Note for a later series:]
> Since this image comes with ARMv7 libraries, I find clearer to rename as
> arm32v7, following new Docker scheme. This will ease to add arm32v6 (and
> arm32v5 if possible...)
I'm not sure if that is worthwhile. Any linux-user build will be ARMv7
or v8 AArch32 and the compilers can always be set to older CPU types.
Testing that we have correct UNDEF behaviour for older CPUs is probably
better handled by things like RISU?
>
>> +DOCKER_CROSS_COMPILER=arm-linux-gnueabihf-gcc
>> +endif
>>
>
> Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
> Tested-by: Philippe Mathieu-Daudé <address@hidden>
--
Alex Bennée
- Re: [Qemu-devel] [PATCH v4 21/49] tests/tcg/i386: add runner for test-i386-fprem, (continued)
- [Qemu-devel] [PATCH v4 43/49] tests/tcg: enable building for sparc64, Alex Bennée, 2018/05/17
- [Qemu-devel] [PATCH v4 20/49] tests/tcg/i386: fix test-i386, Alex Bennée, 2018/05/17
- [Qemu-devel] [PATCH v4 23/49] tests/tcg/x86_64: add Makefile.target, Alex Bennée, 2018/05/17
- [Qemu-devel] [PATCH v4 27/49] tests/tcg: enable building for ARM, Alex Bennée, 2018/05/17
- [Qemu-devel] [PATCH v4 33/49] tests/tcg: move MIPS specific tests into subdir, Alex Bennée, 2018/05/17
- [Qemu-devel] [PATCH v4 18/49] tests/tcg: enable building for i386, Alex Bennée, 2018/05/17
- [Qemu-devel] [PATCH v4 45/49] tests/tcg: enable building for RISCV64, Alex Bennée, 2018/05/17
- [Qemu-devel] [PATCH v4 49/49] tests/tcg: override runners for broken tests (!UPSTREAM), Alex Bennée, 2018/05/17
- [Qemu-devel] [PATCH v4 36/49] tests/tcg: enable building for s390x, Alex Bennée, 2018/05/17
- [Qemu-devel] [PATCH v4 47/49] Makefile.target: add (clean-/build-)guest-tests targets, Alex Bennée, 2018/05/17
- [Qemu-devel] [PATCH v4 25/49] tests/tcg/i386/test-i386: fix printf format, Alex Bennée, 2018/05/17