Skip to content
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

CI: Add Ccache to builds to speed them up #83

Merged
merged 4 commits into from
Jan 10, 2025

Conversation

mirenradia
Copy link
Member

As promised in #82, this PR enables building with Ccache to speed up re-compilations on the same branch. It uses GitHub's cache action to save and restore Ccache's cache.

Once this PR is merged, feature branches will also be able to use caches from the default develop branch.

This PR branch is currently based onto that of #82.

@mirenradia mirenradia added enhancement New feature or request devops Issues related to DevOps labels Dec 23, 2024
@mirenradia mirenradia self-assigned this Dec 23, 2024
Also switch to building fcompare with USE_MPI=TRUE so that AMReX isn't
rebuilt with a different configuration and Ccache can be used.
Also do some minor reformatting.
@mirenradia mirenradia force-pushed the enhancement/ci_ccache branch from d9b93bb to e88c779 Compare January 8, 2025 13:55
@mirenradia mirenradia marked this pull request as ready for review January 8, 2025 13:56
@julianakwan julianakwan merged commit b82cf50 into develop Jan 10, 2025
56 checks passed
@julianakwan julianakwan deleted the enhancement/ci_ccache branch January 10, 2025 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devops Issues related to DevOps enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants