[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] tests/docker: use prebuilt toolchain for debian-hexagon-cros
From: |
Alex Bennée |
Subject: |
Re: [PATCH] tests/docker: use prebuilt toolchain for debian-hexagon-cross |
Date: |
Mon, 19 Dec 2022 19:38:26 +0000 |
User-agent: |
mu4e 1.9.7; emacs 29.0.60 |
Mukilan Thiyagarajan <quic_mthiyaga@quicinc.com> writes:
> 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/
>
> Based-on: <20221215095820.13374-1-quic._5Fmthiyaga@quicinc.com>
> tests/tcg/multiarch: remove unused variable in linux-test
> Signed-off-by: Mukilan Thiyagarajan <quic_mthiyaga@quicinc.com>
Queued to testing/next, thanks.
--
Alex Bennée
Virtualisation Tech Lead @ Linaro