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

Compress toolchains in parallel fashion via gzp crate #1081

Merged
merged 2 commits into from
May 20, 2022

Conversation

Xanewok
Copy link
Collaborator

@Xanewok Xanewok commented Dec 16, 2021

This should speed toolchain packaging/compression by a considerable amount on multithreaded systems.

Cherry-pick of paritytech/cachepot#127, see discussion there

@Xanewok
Copy link
Collaborator Author

Xanewok commented Dec 16, 2021

It seems this requires rustc 1.49. see rust-lang/rust#55002

@mitchhentges
Copy link
Contributor

I'll look into this in a couple days, I need to sort out what restrictions we have on our MSRV first :)

@mitchhentges
Copy link
Contributor

Ok, this is blocked on this ticket, which should be resolved after our next release.

@glandium
Copy link
Collaborator

glandium commented May 5, 2022

Why not switch to zstd?

@drahnr
Copy link
Collaborator

drahnr commented May 19, 2022

I think one step at a time. Even if we move to zstd, this PR is still a viable addition.

Could you update the manifest and lockfile by merging master?

@Xanewok
Copy link
Collaborator Author

Xanewok commented May 20, 2022

Could you update the manifest and lockfile by merging master?

Done! Sorry, I somewhat filled in the blanks in my head and thought you meant rebase, so that's what I did. Hope that's okay.

@drahnr drahnr merged commit 963f137 into mozilla:main May 20, 2022
@Xanewok Xanewok deleted the igor-par-compress branch May 23, 2022 10:29
emabrey pushed a commit to emabrey/sccache that referenced this pull request Aug 10, 2022
* Compress toolchains in parallel fashion via `gzp` crate

* Use previous compression level of 6
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.

4 participants