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

build: enable ccache by default under nix #1976

Merged
merged 1 commit into from
Sep 20, 2024
Merged

build: enable ccache by default under nix #1976

merged 1 commit into from
Sep 20, 2024

Conversation

rprospero
Copy link
Contributor

This PR enables ccache by default within the nix shell.

To be honest, it re-enables it. It had always been enabled, but it was being overshadowed by distcc, which I don't believe is being used by anyone on the development team. By entering the nix develop in the update flake and deleting the build directory and recreating it from the preset, you'll enable ccache.

As a quick benchmark, I managed to recompile the full dissolve GUI build on IDAaaS in 128 seconds.

Copy link
Contributor

@Danbr4d Danbr4d left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Definitely builds faster when used

@Danbr4d Danbr4d merged commit d6e7f37 into develop Sep 20, 2024
10 checks passed
@Danbr4d Danbr4d deleted the ccache branch September 20, 2024 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants