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

Revise CircleCI caching strategies #1666

Open
tlaurion opened this issue May 6, 2024 · 0 comments
Open

Revise CircleCI caching strategies #1666

tlaurion opened this issue May 6, 2024 · 0 comments

Comments

@tlaurion
Copy link
Collaborator

tlaurion commented May 6, 2024

Context:

Cache speeding up builds : fail.

Basically we loose around 45 minutes, some of which blocks other boards from building.

Some thoughts:

  • We should build muslcross alone on circleci and chache and reuse that.
  • For the rest i'm not sure I see the point of using caching anymore for to save CPU time from CI at the cost of more bandwidth and waiting time prior of starting builds in most use case
  • On nix, we could put musl-cross-make as first step for both x86 and ppc64 under docker image and modify Makefile to check if provided per nix and if the case use it
  • advance on prior step and use nix coreboot-buildstacks

After that, optimizations would come from moving all modules into nix expressions. But I'm not sure we want to go there yet. Seems to close contributions to nix developers which I do not categorize myself in still.

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

1 participant