Autoconf repo rule (#260)

* experimental repo rule to generate bazel configs
Create new repository rule to replace completely our process to publish toolchain configs and platforms.
See doc in rule for full explanation of how it works (that info should be sufficient to understand as an external customer what to do).

Sorry this is a massive PR, tried to break down code into separate functions to make it easy to parse.
* continue work on experimental repo rule

* more progress towards repo rule for autoconf

* adding docs + support for env vars

* improve docs

* more docs

* fixes

* fixes

* support using default project for autoconf

* generate BUILD file with platforms + toolchain targets

* extra docs

* support for rc's

* last fixes

* last doc nits

* more doc nit fixes

* more doc nit fixes

* more doc nit fixes

* adding puller dep to repositories

* use l.gcr.io

* additional deps

* fix caught in testing

* address initial review comments

* address initial review comments

* fix long line

* add validations

* simplify this PR by not using the puller

* buildifier fixes

* add again skylib archive

* run buildifier

* add new rbe rule target build to presubmit

* buildify

* addressing review comments

* addressing review comments

* addressing review comments
9 files changed
tree: 7d3c252c1fe9ed447371a9cd97c24b199da36131
  1. .bazelci/
  2. bazelrc/
  3. configs/
  4. constraints/
  5. container/
  6. examples/
  7. release/
  8. repositories/
  9. rules/
  10. tests/
  11. third_party/
  12. .gitignore
  13. .travis.yml
  14. AUTHORS
  15. CONTRIBUTING.md
  16. CONTRIBUTORS
  17. LICENSE
  18. README.md
  19. WORKSPACE
README.md
Travis CIBazel CI
Build StatusBuild status

bazel-toolchains

https://github.com/bazelbuild/bazel-toolchains is a repository where Google hosts Bazel toolchain configs. These configs are required to configure Bazel to issue commands that will execute inside a Docker container via a remote execution environment.

These toolchain configs include:

  • C/C++ CROSSTOOL file,
  • BUILD file with toolchain rules, and
  • wrapper scripts.

Release information of toolchain configs can be found at: https://releases.bazel.build/bazel-toolchains.html.

This repository also hosts the skylark rule used to generate toolchain configs.