This is an archive of the discontinued LLVM Phabricator instance.

[libc++][ci] Install ccache in the Docker image
ClosedPublic

Authored by ldionne on May 18 2023, 2:11 PM.

Details

Reviewers
Mordante
Group Reviewers
Restricted Project
Commits
rG437ec156ef69: [libc++][ci] Install ccache in the Docker image
Summary

This will allow using ccache in the jobs that build Clang, which
should speed up those jobs.

Diff Detail

Event Timeline

ldionne created this revision.May 18 2023, 2:11 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 18 2023, 2:11 PM
Herald added a subscriber: arichardson. · View Herald Transcript
ldionne requested review of this revision.May 18 2023, 2:11 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 18 2023, 2:11 PM
Herald added a reviewer: Restricted Project. · View Herald Transcript
Mordante accepted this revision.May 19 2023, 8:11 AM
Mordante added a subscriber: Mordante.

LGTM! I wonder whether it would make sense to store the cache itself outside the docker image so is can be reused between runs or does the image keep running?

This revision is now accepted and ready to land.May 19 2023, 8:11 AM

LGTM! I wonder whether it would make sense to store the cache itself outside the docker image so is can be reused between runs or does the image keep running?

My understanding is that the container keeps running between CI jobs, so that shouldn't be needed.

This revision was automatically updated to reflect the committed changes.

LGTM! I wonder whether it would make sense to store the cache itself outside the docker image so is can be reused between runs or does the image keep running?

My understanding is that the container keeps running between CI jobs, so that shouldn't be needed.

A great. Some CIs tend to restart containers between runs.