commit | ed2109f8b760773be77bcda07a912a6461b578aa | [log] [tgz] |
---|---|---|
author | Alexis Hunt <lexer@google.com> | Thu Jun 07 11:09:42 2018 -0400 |
committer | Ola Rozenfeld <olaola@google.com> | Wed Jun 20 13:47:53 2018 -0400 |
tree | 1b1f035e546766f1315f0ec01f899cb381ef5b6a | |
parent | a98914d5c081c3292f0a8a7bc5aaada0b06ef1ab [diff] |
Add a working directory to the Action message. This allows a job to be started from a directory other than the input root. While Bazel does not need this functionality, it is not uncommon for other build systems to descend into subdirectories to run their actions, and forcing them to either re-architect so that they run from input root or include a wrapper script is not optimal, especially given that such wrappers are platform-dependent and, on platforms with high process startup latency, may cost performance.
The Remote Execution API is an API that, at its most general, allows clients to request execution of binaries on a remote system. It is intended primarily for use by build systems, such as Bazel, to distribute build and test actions through a worker pool, and also provide a central cache of build results. This allows builds to execute faster, both by reusing results already built by other clients and by allowing many actions to be executed in parallel, in excess of the resource limits of the machine running the build.
The APIs in this repository refer to several general-purpose APIs published by Google in the Google APIs repository. You will need to refer to packages from that repository in order to generate code using this API. If you build the repository using the included BUILD
files, Bazel will fetch the protobuf compiler and googleapis automatically.
The repository contains BUILD
files to build the protobuf library with Bazel. If you wish to use them with your own project in Bazel, you will possibly want to declare cc_proto_library
, java_proto_library
, etc. rules that depend on them.
Other build systems will have to run protoc on the protobuf files, and link in the googleapis and well-known proto types, manually.