-
Notifications
You must be signed in to change notification settings - Fork 122
Open
Labels
BugIssues that describe a bug and possibly a suggested solutionIssues that describe a bug and possibly a suggested solutionDevOpsFor everything related to logistics of codeFor everything related to logistics of codeDifficulty - 7Well-defined tasks that require some understanding about the relevant system and toolsWell-defined tasks that require some understanding about the relevant system and toolsTestingField testing, test infrastructure, robot tuningField testing, test infrastructure, robot tuningTriageWhen it's unclear if it's worth doing or how to startWhen it's unclear if it's worth doing or how to start
Description
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.
Lines 22 to 25 in dd34bc9
| # Use a local directory as a remote cache. This shares artifacts when switching | |
| # between git branches or workspaces for the same project. | |
| # See https://docs.bazel.build/versions/master/remote-caching.html#disk-cache | |
| build --disk_cache=~/.cache/thunderbots_bazel_disk_cache |
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
Metadata
Metadata
Assignees
Labels
BugIssues that describe a bug and possibly a suggested solutionIssues that describe a bug and possibly a suggested solutionDevOpsFor everything related to logistics of codeFor everything related to logistics of codeDifficulty - 7Well-defined tasks that require some understanding about the relevant system and toolsWell-defined tasks that require some understanding about the relevant system and toolsTestingField testing, test infrastructure, robot tuningField testing, test infrastructure, robot tuningTriageWhen it's unclear if it's worth doing or how to startWhen it's unclear if it's worth doing or how to start