qemu/tests/docker/dockerfiles
Mukilan Thiyagarajan b9052d3634 tests/docker: use prebuilt toolchain for debian-hexagon-cross
The current docker image for cross compiling hexagon guests
is manually built since it takes >2 hours to build from source.

This patch:
 1. Solves the above issue by using the prebuilt clang
    toolchain hosted on CodeLinaro [1] and maintained by QUIC [2].
 2. The dockerfile is also switched from multi-stage to single stage
    build to allow the CI docker engine to reuse the layer cache.
 3. Re-enables the hexagon-cross-container job to be always run in
    CI and makes it a non-optional dependency for the
    build-user-hexagon job.

The changes for 1 & 2 together bring down the build time to
~3 minutes in GitLab CI when cache is reused and ~9 minutes
when cache cannot be reused.

[1]: https://github.com/CodeLinaro/hexagon-builder
[2]: https://github.com/quic/toolchain_for_hexagon/releases/

Signed-off-by: Mukilan Thiyagarajan <quic_mthiyaga@quicinc.com>
[AJB: also tweak MAINTAINERS, remove QEMU_JOB_ONLY_FORKS and comment]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20221219144354.11659-1-quic_mthiyaga@quicinc.com>
Message-Id: <20221221090411.1995037-6-alex.bennee@linaro.org>
2022-12-23 15:16:31 +00:00
..
debian-microblaze-cross.d tests/docker: Add debian-microblaze-cross image 2021-11-04 10:32:00 +00:00
debian-nios2-cross.d tests/docker: Add debian-nios2-cross image 2021-11-04 10:31:32 +00:00
alpine.docker tests: Add sndio to the FreeBSD CI containers / VM 2022-10-28 09:39:21 +02:00
centos8.docker tests: Add sndio to the FreeBSD CI containers / VM 2022-10-28 09:39:21 +02:00
debian-all-test-cross.docker tests/docker: Add flex/bison to debian-all-test 2022-10-31 20:37:58 +00:00
debian-alpha-cross.docker tests/docker: update and flatten debian-alpha-cross 2022-09-20 16:27:08 +01:00
debian-amd64-cross.docker tests: Add sndio to the FreeBSD CI containers / VM 2022-10-28 09:39:21 +02:00
debian-amd64.docker tests: Add sndio to the FreeBSD CI containers / VM 2022-10-28 09:39:21 +02:00
debian-arm64-cross.docker tests: Add sndio to the FreeBSD CI containers / VM 2022-10-28 09:39:21 +02:00
debian-armel-cross.docker tests: Add sndio to the FreeBSD CI containers / VM 2022-10-28 09:39:21 +02:00
debian-armhf-cross.docker tests: Add sndio to the FreeBSD CI containers / VM 2022-10-28 09:39:21 +02:00
debian-bootstrap.docker docker: add commentary to debian-bootstrap.docker 2018-07-24 11:45:25 +01:00
debian-bootstrap.pre tests/docker: add support for DEB_KEYRING 2020-07-27 09:41:35 +01:00
debian-hexagon-cross.docker tests/docker: use prebuilt toolchain for debian-hexagon-cross 2022-12-23 15:16:31 +00:00
debian-hppa-cross.docker tests/docker: update and flatten debian-hppa-cross 2022-09-20 16:27:12 +01:00
debian-loongarch-cross.docker tests/docker: update and flatten debian-loongarch-cross 2022-09-20 17:22:08 +01:00
debian-m68k-cross.docker tests/docker: update and flatten debian-m68k-cross 2022-09-20 16:27:17 +01:00
debian-mips64-cross.docker tests/docker: update and flatten debian-mips64-cross 2022-09-20 16:27:20 +01:00
debian-mips64el-cross.docker tests: Add sndio to the FreeBSD CI containers / VM 2022-10-28 09:39:21 +02:00
debian-mips-cross.docker Deprecate 32 bit big-endian MIPS 2022-09-20 17:22:08 +01:00
debian-mipsel-cross.docker tests: Add sndio to the FreeBSD CI containers / VM 2022-10-28 09:39:21 +02:00
debian-native.docker trivial: Fix duplicated words 2022-08-01 11:58:02 +02:00
debian-powerpc-test-cross.docker tests/docker: flatten debian-powerpc-test-cross 2022-09-20 16:27:31 +01:00
debian-ppc64el-cross.docker tests: Add sndio to the FreeBSD CI containers / VM 2022-10-28 09:39:21 +02:00
debian-riscv64-cross.docker target/hexagon: manually add flex/bison/glib2 to remaining containers 2022-10-06 11:53:20 +01:00
debian-riscv64-test-cross.docker tests/docker: flatten debian-riscv64-test-cross 2022-09-20 17:22:08 +01:00
debian-s390x-cross.docker tests: Add sndio to the FreeBSD CI containers / VM 2022-10-28 09:39:21 +02:00
debian-sh4-cross.docker tests/docker: update and flatten debian-sh4-cross 2022-09-20 16:27:24 +01:00
debian-sparc64-cross.docker tests/docker: update and flatten debian-sparc64-cross 2022-09-20 16:27:28 +01:00
debian-toolchain.docker tests/docker: update and flatten debian-toolchain 2022-09-20 17:22:08 +01:00
debian-tricore-cross.docker tests: Drop perl-Test-Harness from the CI containers / VMs 2022-04-20 08:54:16 +02:00
debian-xtensa-cross.docker tests/docker: use explicit docker.io registry 2021-07-14 14:33:53 +01:00
fedora-cris-cross.docker tests/docker: use project specific container registries 2021-07-14 14:33:53 +01:00
fedora-i386-cross.docker target/hexagon: manually add flex/bison/glib2 to remaining containers 2022-10-06 11:53:20 +01:00
fedora-win32-cross.docker tests/docker: update fedora-win[32|64]-cross with lcitool 2022-10-31 20:32:04 +00:00
fedora-win64-cross.docker tests/docker: update fedora-win[32|64]-cross with lcitool 2022-10-31 20:32:04 +00:00
fedora.docker tests: Add sndio to the FreeBSD CI containers / VM 2022-10-28 09:39:21 +02:00
opensuse-leap.docker tests: Add sndio to the FreeBSD CI containers / VM 2022-10-28 09:39:21 +02:00
python.docker gitlab: add python linters to CI 2021-06-01 16:21:21 -04:00
ubuntu2004.docker tests: Add sndio to the FreeBSD CI containers / VM 2022-10-28 09:39:21 +02:00