[PATCH 14/18] tests/docker: drop debian-tricore-cross's partial status

Alex Bennée posted 18 patches 3 years ago
Maintainers: "Alex Bennée" <alex.bennee@linaro.org>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Thomas Huth <thuth@redhat.com>, Wainer dos Santos Moschetta <wainersm@redhat.com>, Beraldo Leal <bleal@redhat.com>, Ed Maste <emaste@freebsd.org>, Li-Wen Hsu <lwhsu@freebsd.org>, Peter Maydell <peter.maydell@linaro.org>, Paolo Bonzini <pbonzini@redhat.com>, "Marc-André Lureau" <marcandre.lureau@redhat.com>, "Daniel P. Berrangé" <berrange@redhat.com>, Alexander Bulekov <alxndr@bu.edu>, Bandan Das <bsd@redhat.com>, Stefan Hajnoczi <stefanha@redhat.com>, Darren Kenny <darren.kenny@oracle.com>, Qiuhao Li <Qiuhao.Li@outlook.com>, John Snow <jsnow@redhat.com>, Cleber Rosa <crosa@redhat.com>, Markus Armbruster <armbru@redhat.com>, Michael Roth <michael.roth@amd.com>
[PATCH 14/18] tests/docker: drop debian-tricore-cross's partial status
Posted by Alex Bennée 3 years ago
This image is perfectly capable of building QEMU, and indeed we do
that on gitlab. Drop the DOCKER_PARTIAL_IMAGES setting so we can also
test the gitlab build locally.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
 tests/docker/Makefile.include | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include
index 665ddde518..bfb0dcac21 100644
--- a/tests/docker/Makefile.include
+++ b/tests/docker/Makefile.include
@@ -128,7 +128,6 @@ DOCKER_PARTIAL_IMAGES += debian-mips-cross
 DOCKER_PARTIAL_IMAGES += debian-nios2-cross
 DOCKER_PARTIAL_IMAGES += debian-riscv64-test-cross
 DOCKER_PARTIAL_IMAGES += debian-sh4-cross debian-sparc64-cross
-DOCKER_PARTIAL_IMAGES += debian-tricore-cross
 DOCKER_PARTIAL_IMAGES += debian-xtensa-cross
 DOCKER_PARTIAL_IMAGES += fedora-cris-cross
 
-- 
2.34.1


Re: [PATCH 14/18] tests/docker: drop debian-tricore-cross's partial status
Posted by Richard Henderson 3 years ago
On 1/19/23 08:04, Alex Bennée wrote:
> This image is perfectly capable of building QEMU, and indeed we do
> that on gitlab. Drop the DOCKER_PARTIAL_IMAGES setting so we can also
> test the gitlab build locally.
> 
> Signed-off-by: Alex Bennée<alex.bennee@linaro.org>
> ---
>   tests/docker/Makefile.include | 1 -
>   1 file changed, 1 deletion(-)

Why are we doing so, though?

Unlike the other container-cross.yml jobs, we are not cross-compiling.
We are building for an x86_64 host, not a tricore host.

We appear to be using this container simply to provide a cross-compiler for compiling 
tricore tests.  Which is fine, I suppose, but I think the job should be modeled more like 
build-some-softmmu, instead of modeled like a cross-build.


r~

Re: [PATCH 14/18] tests/docker: drop debian-tricore-cross's partial status
Posted by Alex Bennée 3 years ago
Richard Henderson <richard.henderson@linaro.org> writes:

> On 1/19/23 08:04, Alex Bennée wrote:
>> This image is perfectly capable of building QEMU, and indeed we do
>> that on gitlab. Drop the DOCKER_PARTIAL_IMAGES setting so we can also
>> test the gitlab build locally.
>> Signed-off-by: Alex Bennée<alex.bennee@linaro.org>
>> ---
>>   tests/docker/Makefile.include | 1 -
>>   1 file changed, 1 deletion(-)
>
> Why are we doing so, though?

Only so I could debug what was failing upstream.

> Unlike the other container-cross.yml jobs, we are not cross-compiling.
> We are building for an x86_64 host, not a tricore host.
>
> We appear to be using this container simply to provide a
> cross-compiler for compiling tricore tests.  Which is fine, I suppose,
> but I think the job should be modeled more like build-some-softmmu,
> instead of modeled like a cross-build.

It's just to work around the fact we don't have QEMU test coverage for
our debian-all-test-cross because of the custom binutils bits. That's
why it gained the ability to build QEMU (albeit just one target).

-- 
Alex Bennée
Virtualisation Tech Lead @ Linaro
Re: [PATCH 14/18] tests/docker: drop debian-tricore-cross's partial status
Posted by Philippe Mathieu-Daudé 3 years ago
On 19/1/23 19:04, Alex Bennée wrote:
> This image is perfectly capable of building QEMU, and indeed we do
> that on gitlab. Drop the DOCKER_PARTIAL_IMAGES setting so we can also
> test the gitlab build locally.
> 
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
>   tests/docker/Makefile.include | 1 -
>   1 file changed, 1 deletion(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>