use http_archive instead of git_repository rule

* http_archive is recommended to replace git_repository rule, see
https://docs.bazel.build/versions/master/be/workspace.html#git_repository

Tested:
bazel build //rules:debian8-clang-0.7.0-autoconfig
bazel build //rules:trusty-gcc-0.7.0-autoconfig
bazel build //rules:xenial-gcc-0.7.0-autoconfig

Change-Id: I9866a39a22f14c4a7360530ea79ef3cbc342c632
1 file changed
tree: c64ce25a4b8f47881ba8d2ed50e6503651969c61
  1. configs/
  2. examples/
  3. rules/
  4. .gitignore
  5. AUTHORS
  6. CONTRIBUTING.md
  7. CONTRIBUTORS
  8. LICENSE
  9. README.md
  10. WORKSPACE
README.md

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.

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