Skip to content

Revise CircleCI caching strategies #1666

@tlaurion

Description

@tlaurion

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions