switch to Skylark version of http_archive (#45)

Bazel 0.12.0 release notes say:
(https://blog.bazel.build/2018/04/11/bazel-0.12.html)

> The native http_archive rule has been deprecated. Use the Skylark version available via load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") instead.

> The native git_repository rule has been deprecated. Use the Skylark version available via load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository") instead.

1 file changed
tree: 4c12dfe8ded5d476f472f9eb3b42eefa93491b52
  1. .bazelci/
  2. bazelrc/
  3. configs/
  4. container/
  5. examples/
  6. platforms/
  7. rules/
  8. skylib/
  9. test/
  10. third_party/
  11. toolchains/
  12. .gitignore
  13. AUTHORS
  14. CONTRIBUTING.md
  15. CONTRIBUTORS
  16. LICENSE
  17. README.md
  18. WORKSPACE
README.md

Build 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.