Improved recompilation times by utilizing CCache.#12834
Improved recompilation times by utilizing CCache.#12834KOLANICH wants to merge 1 commit intoapache:mainfrom KOLANICH:ccache
Conversation
Signed-off-by: KOLANICH <KOLANICH@users.noreply.github.com>
|
Hi @KOLANICH, thanks for submitting a PR! Historically, we did have ccache enabled by default if it was installed. I think there were some issues with using ccache with hexagon, so it was disabled in #11189. If you want to use cmake with your builds you can run |
|
Actually I've created a PR to re-enable ccache here: #12839 |
I have tried this first (but not when configuring, I have edited using
Thanks, I have left my comment there. |
My bad, I have used |
Utilizing CCache is especially useful when one realizes he misses a feature and so recompiles the tool with that feature enabled. Or when one realizes he has accidentially enabled a feature unavalable on his platform, so compilation fails and one has to recompile. In that case without CCache CMake has to cause recompile from scratch since it alters the preprocessor. CCache is capable to detect the recompilation from scratch is not needed and to reuse the suitable artifacts from previous builds.