Improve toolchain caching

Instead of putting full copy of toolchain to every build directory
(/build/<release_or_build>/) create a single copy of it in
/build/toolchains/<toolchain_id> and symlink to it through a
/build/<release_or_build>/toolchain synlink

Also clean up some dead code that is not used anywhere.

Change-Id: I2959884a2e580ba55092b829e51664c5fcb19f21
Reviewed-on: https://cos-review.googlesource.com/c/cos/tools/+/33261
Tested-by: Oleksandr Tymoshenko <ovt@google.com>
Cloud-Build: GCB Service account <228075978874@cloudbuild.gserviceaccount.com>
Reviewed-by: Meena Shanmugam <meenashanmugam@google.com>
1 file changed
tree: c40f6f9a99aea62f5c76997c789001666556cd04
  1. release/
  2. src/
  3. testing/
  4. .gitignore
  5. BUILD.bazel
  6. cloudbuild.yaml
  7. CONTRIBUTING.md
  8. deps.bzl
  9. go.mod
  10. go.sum
  11. LICENSE
  12. README.md
  13. run_tests.sh
  14. WORKSPACE
README.md

Tools for Container-Optimized OS

This is a repository of various tools developed for Container-Optimized OS. Examples include cos-gpu-installer, cos-toolbox, etc.

See CONTRIBUTING.md for how to contribute.