qemu/tests/docker
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
..
dockerfiles tests/docker: use prebuilt toolchain for debian-hexagon-cross 2022-12-23 15:16:31 +00:00
common.rc tests/docker: allow user to override check target 2022-11-22 09:49:03 +00:00
docker.py tests/docker: remove FROM qemu/ support from docker.py 2022-09-20 17:22:08 +01:00
Makefile.include tests/docker: use prebuilt toolchain for debian-hexagon-cross 2022-12-23 15:16:31 +00:00
run tests/docker: run script use realpath instead of readlink 2022-10-06 11:53:20 +01:00
test-block docker: test-block: Don't continue if build fails 2017-09-29 11:14:15 +08:00
test-build tests/docker: move DEF_TARGET_LIST setting to common.rc 2019-09-10 14:14:31 +01:00
test-clang tests/docker: remove FEATURES env var from templates 2021-07-14 14:33:53 +01:00
test-debug tests/docker: remove FEATURES env var from templates 2021-07-14 14:33:53 +01:00
test-full docker: move make check into check_qemu helper 2018-07-24 11:45:25 +01:00
test-mingw tests/docker: update test-mingw to run single build 2022-10-31 20:37:58 +00:00
test-misc tests/docker: remove FEATURES env var from templates 2021-07-14 14:33:53 +01:00
test-quick tests/docker: move DEF_TARGET_LIST setting to common.rc 2019-09-10 14:14:31 +01:00
test-static tests/docker: add test script for static linux-user builds 2020-08-21 06:18:35 -04:00
test-tcg tests/docker: add a test-tcg for building then running check-tcg 2021-03-10 12:13:59 +00:00
test-tsan tests/docker: remove FEATURES env var from templates 2021-07-14 14:33:53 +01:00
test-unit docker: add test-unit runner 2018-07-24 11:45:25 +01:00