New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CircleCI ccache cache #236

Open
blowekamp opened this Issue Nov 28, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@blowekamp
Member

blowekamp commented Nov 28, 2018

The CircleCI build use ccache to cache compile results to expedite rebuilds of ITK as most CI is just rebuilding the same ITK files with little change. The ccache is saved via the CircleCI cache mechanism. The cache is then retrieved via a best matching file name which include the the arch and branch name. This is correctly being restored when the branch matches. For example the master branch always retrieves the master branch cached ccache, which results is build and testing taking about 5-10 min. However for pull request what are designated with the branch name "pull/###" the cache can be retrieved if the branch is rebuild but is does not fall back to the master cached ccache as intended.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment