[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: hexagon: check-tcg rebuilding up to date image
From: |
Fabiano Rosas |
Subject: |
Re: hexagon: check-tcg rebuilding up to date image |
Date: |
Fri, 03 Mar 2023 19:01:54 -0300 |
Matheus Tavares Bernardino <quic_mathbern@quicinc.com> writes:
> Hi,
>
> We noticed that local `make check-tcg` is rebuilding the docker image
> for qemu-hexagon at every run, whereas previously it would say "Image is
> up to date" and move on.
>
> This was changed at 0b1a649047 (tests/docker: use direct RUNC call to
> build containers, 2023-02-28), where we started to no longer use
> docker.py and its image_matches_dockerfile() to skip image builds.
>
> Is this new behavior by design? Or perhaps do we have some local
> docker misconfiguration that is not correctly using caches?
Hi,
We started relying on docker for the cache. Are you using docker or
podman? There should be a RUNC variable in config-host.mak that you can
check.
And for the record, which version of either podman or docker?
Alex,
I think we might need to add DOCKER_BUILDKIT=1 $(RUNC) ... to properly
make use of caching with docker. As for podman, I'm seeing conflicting
information on the web as to whether it even supports caching.