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

[CI] Attempt to fix nightly cache evictions #5826

Merged
merged 3 commits into from
Aug 10, 2023

Conversation

teqdruid
Copy link
Contributor

Short integration tests are filling the cache. Hopefully not appending the timestamp will replace rather than add new ones. Also attempt to enable sharing cache between nightly and short.

Short integration tests are filling the cache. Hopefully not appending
the timestamp will replace rather than add new ones. Also attempt to
enable sharing cache between nightly and short.
@youngar
Copy link
Member

youngar commented Aug 10, 2023

Nice! I didn't realize that setting the key was not enough, should have checked the cache. Here are two examples from right now:

ccache-build-circt-clang-Release-ON-ON-2023-08-10T13:39:15.718Z                             136.19 MB  refs/heads/main       8 hours ago
ccache-shortintegration-ON-Release-clang-2023-08-10T06:25:28.315Z                           370.91 MB  refs/heads/main       8 hours ago

So, the ccache step is also prepending the keys with ccache as well as appending the time stamp.

These two jobs have slightly different cmake flags, might want to make the completely identical if they are going to share a cache. Nightly has these two additional flags:

-DLLVM_TARGETS_TO_BUILD="host"
-DLLVM_USE_SPLIT_DWARF

I would also consider putting a note in each file that they should be kept in sync.

@teqdruid teqdruid merged commit 8cb55c2 into main Aug 10, 2023
5 checks passed
@teqdruid
Copy link
Contributor Author

Merging this and waiting a few days to see how effective it is.

@teqdruid teqdruid deleted the dev/teqdruid/cache-share-replacement branch August 10, 2023 23:39
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.

None yet

2 participants