Skip to content

cmake, ci: Ccache improving in macOS jobs - #120

Merged
hebasto merged 1 commit into
cmake-stagingfrom
240313-cmake-CK
Mar 17, 2024
Merged

hebasto merged 1 commit into
cmake-stagingfrom
240313-cmake-CK

Conversation

@hebasto

@hebasto hebasto commented Mar 14, 2024 •

Copy link
Copy Markdown
Owner

For the recent two consequential CI runs:

I've noticed a pure Ccache performance for the "macOS 13 native, x86_64, Xcode 14.3" job:

Cacheable calls:     634 / 634 (100.0%)
  Hits:                0 / 634 ( 0.00%)

This PR sets CCACHE_COMPILERCHECK=%compiler% -v for macOS jobs to avoid false cache invalidating.

The other option, i.e., content, has been tried as well in my experiments, but it also has cache performance issues.

@hebasto

hebasto commented Mar 14, 2024

Copy link
Copy Markdown
Owner Author

Friendly ping @m3dwards @pablomartin4btc :)

Set `CCACHE_COMPILERCHECK` to avoid false cache invalidating.
@hebasto hebasto changed the title cmake, ci: Ccache improving cmake, ci: Ccache improving in macOS jobs Mar 16, 2024
@hebasto

hebasto commented Mar 16, 2024

Copy link
Copy Markdown
Owner Author

@pablomartin4btc pablomartin4btc left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

utACK 326d0f7

Thanks for providing the improved results, I can see "Ccache stats" task looks fine now.

image

@hebasto
hebasto merged commit 822c3fc into cmake-staging Mar 17, 2024
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