Skip to content

Would you take a patch to add sccache to the image? #14

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

Closed
cbeck88 opened this issue May 23, 2025 · 2 comments
Closed

Would you take a patch to add sccache to the image? #14

cbeck88 opened this issue May 23, 2025 · 2 comments

Comments

@cbeck88
Copy link

cbeck88 commented May 23, 2025

Hi, I earlier made a patch adding sccache to the clux/muslrust image:

clux/muslrust#144

which worked well and made our builds faster.

However, they recently stopped installing openssl and libpq which I need for my build, and recommended checking out this image instead if I need those. (clux/muslrust#81 (comment))

Would you be interested in a similar patch to add the sccache tool to this image?

@BlackDex
Copy link
Owner

Hello @cbeck88, thanks for taking the time to create an issue.
I was already working on some other changes, some which i borrowed from clux's version, so i borrowed the sscache too while at it.

It's a work in progress right now, since I first want to check all architectures and build Vaultwarden etc... before pushing.

If you have any other suggestions, please let me know.

@BlackDex
Copy link
Owner

@cbeck88 I added sccache and the images are currently building. I hope everything builds correctly, I had to make a small adjustment on how many stages buildkit should build in parallel, and i hope 3 won't OOMKill the server like 4 did.

Once released you should be able to use sccache in the same way as for clux's muslrust images.

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

No branches or pull requests

2 participants