-
Notifications
You must be signed in to change notification settings - Fork 542
Open
Description
Since Valdi uses bazel and doesn't distribute pre-built libraries yet, it can take a while to build and then if you bootstrap a new project it will need to rebuild everything.
To speed this up, one option is to do something like add this to ~/.bazelrc
build --disk_cache=~/.cache/bazel/disk-cache
I did this and then ran valdi build ios and saw:
- first project, took about 6.8min to build
- wrote ~1.6GB into that cache directory
- Also saw that the bazel-out directory in my project was about 1.5GB
- second project, took 30sec to build. saw the bazel-out directory was 640MB, I think because bazel only fetches the top level artifacts from cache rather than all intermediate.
In the future, maybe the project can offer a public read-only remote cache server to save more time here too.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels