Skip to content

CI: set ccache path so settings are saved on initial seed#10991

Open
padelsbach wants to merge 1 commit into
wolfSSL:masterfrom
padelsbach:ccache-init-seed-settings
Open

CI: set ccache path so settings are saved on initial seed#10991
padelsbach wants to merge 1 commit into
wolfSSL:masterfrom
padelsbach:ccache-init-seed-settings

Conversation

@padelsbach

Copy link
Copy Markdown
Contributor

Description

Set the path prior to running ccache --set-config so that the settings end up in the right path on the first run (or after the weekly re-seed).

Prior to this change, the settings are saved to a different directory. Cache keys contain the settings, so the first run has incorrect keys. On subsequent loads, the cache is already restored and the keys are correct, but there are cache misses on this run unnecessarily.

Note this does not impact existing caches.

Found while adding ccache to wolfHSM.

Testing

How did you test?

Checklist

  • added tests
  • updated/added doxygen
  • updated appropriate READMEs
  • Updated manual and documentation

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