Skip to content

Enable ccache to speed up local clean builds #8613

@whosayn

Description

@whosayn

Is your feature request related to a problem? Please describe.
Clean builds take very long time during iterative development, which shouldn't be the case since devs modify a very small number of files. A no-op clean build on my intel mac takes 40mins with make -j10

Describe the solution you'd like
We should enable usage of ccache to cache compiler outputs when it's installed on the machine. This will allow us to skip having to re-compile unchanged files during clean builds. A no-op clean build on my intel mac takes 3mins with make -j10 and an up-to-date cache.

Additional context
This would allow us to subsequently enable usage of a remote cache for CI runners

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions