commit | 9d3397179e185211e1078817cf7b2577a9e5e522 | [log] [tgz] |
---|---|---|
author | Yu Yi <yiyu@google.com> | Thu Dec 07 18:03:50 2017 -0500 |
committer | Yu Yi <yiyu@google.com> | Mon Dec 11 06:19:20 2017 +0000 |
tree | ddfe8ec646795be2beed8d4a77c84a4dd9beb4ff | |
parent | fe6d5895bbc9c6975651dde45d8e806884ce0984 [diff] |
fetch and install clang from a public GCS bucket * Stable clang release revision / tarball can be found in a public GCS bucket: - https://storage.googleapis.com/clang-builds-stable/clang-debian8/revisions.txt - https://storage.googleapis.com/clang-builds-stable/clang-debian8/clang_r$revision.tar.gz * clang tarball is fetched by a http_file rule. * golang tarball is fetched by a http_file rule as well. Previously it was done by a new_http_archive rule which will make the tarball itself in the container which results a larger container * Custom Cloud Builder is removed since gcr.io/cloud-builders/bazel contains everything we need (bazel, curl). Tested: - structure tests - container/debian8-clang-fully-loaded/build.sh -p my-project -c debian8-clang-fl -t test-image -a Change-Id: I25511a0054a0aa0c020df08c674151cb88bee530
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:
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.