[libvirt PATCH 2/2] gitlab: Enable improved ccache usage

Andrea Bolognani abologna at redhat.com
Wed Apr 15 15:50:03 UTC 2020


On Wed, 2020-04-15 at 13:38 +0100, Daniel P. Berrangé wrote:
> On Mon, Mar 30, 2020 at 07:31:03PM +0200, Andrea Bolognani wrote:
> > Since we're touching this anyway, we make a few more changes:
> > $CCACHE_DIR is no longer created manually, because ccache will
> > take care of creating it for us if it doesn't already exist; the
> 
> I could have sworn I had a build failure when I didn't have the
> mkdir present when originally doing this recipe. It might have
> been from gitlab itself, rather than ccache, eg when unpacking
> the cache archive to the non-existant dir.  But assuming the
> CI pipeline works for you...

I tried again to make sure, because I had not considered the GitLab
angle. If you look at any of the build on

  https://gitlab.com/abologna/libvirt/pipelines/136291992

you'll see that the cache gets restored successfully.

-- 
Andrea Bolognani / Red Hat / Virtualization




More information about the libvir-list mailing list