Software
Software copied to clipboard
Investigate Bazel Disk Cache
Description of the task
According to bazel, there is a way to save compile outputs. We set a disk cache, and it doesn't seem to be used for some reason.
https://github.com/UBC-Thunderbots/Software/blob/dd34bc9b55d5ef2259a2d8f442ebb9a2142096fb/src/.bazelrc#L22-L25
The line above doesn't do what it say it does.
Reference:
https://bazel.build/remote/caching#disk-cache
It will be nice if someone fix this because rebuild takes a long time!
FYI: in my local machine, the disk cache directory is ~50GB.
Acceptance criteria
- [ ] Fix Bazel Disk Cache