Repository navigation
ci: Cache LLVM downloads separately - #42
Merged
Merged
Conversation
tgross35
force-pushed
the
ci-cache
branch
4 times, most recently
from
September 20, 2026 08:59
1a67072 to
a9ced76
Compare
rust-cache made some changes (presumably [1]) that delete most non-Rust files before caching, including the LLVM source, but leave the directories. This causes `download-llvm.sh` to think the source exists and skip a re-download, but the build fails because the needed files are missing. It's not clear whether the download was being cached previously, or if rust-cache deleted the directories so it was always re-downloaded. Move the directory in CI and set up a separate cache step so rust-cache isn't responsible for these files anymore. [1]: Swatinem/rust-cache@3bf42ac
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
rust-cache made some changes (presumably 1) that delete most non-Rust files before caching, including the LLVM source, but leave the directories. This causes
download-llvm.shto think the source exists and skip a re-download, but the build fails because the needed files are missing. It's not clear whether the download was being cached previously, or if rust-cache deleted the directories so it was always re-downloaded.Move the directory in CI and set up a separate cache step so rust-cache isn't responsible for these files anymore.