Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ccache to base-builder. (#12675)
This installs clang wrappers at /ccache/bin, and sets up a build cache at /ccache/cache. To use this, inside the project container we just need to do: ``` export PATH=/ccache/bin:$PATH ``` In another PR, we can store the /ccache/cache somewhere we can pull down at runtime. Some results: Fresh compile: real 0m49.249s user 10m41.818s sys 1m2.097s With ccache cache: real 0m9.877s user 0m6.278s sys 0m19.966s Fresh compile: real 1m17.214s user 0m49.454s sys 0m27.963s With ccache: real 0m34.962s user 0m18.092s sys 0m17.083s
- Loading branch information