commit | 3b9e6f201a9a3465720aad8712ab7bcdeaf2e5da | [log] [tgz] |
---|---|---|
author | Yannic Bonenberger <contact@yannic-bonenberger.com> | Wed May 06 06:52:09 2020 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Wed May 06 06:53:07 2020 -0700 |
tree | 214ff25f04368e615c0a75b56e3df6246707051a | |
parent | 73d238b2b9106ec8bf8b7d4407cd4793f03a173a [diff] |
Add optional tool_path_origin to Tools in C++ crosstool This change adds an optional field to the C++ crosstool proto that allows configuring the origin tool_path is relative to. For now, the origin can be one of the following: - CROSSTOOL_PACKAGE: If tool_path is a relative path, it's assumed to be relative to the package of the crosstool top. - FILESYSTEM_ROOT: tool_path is an absolute path. This is checked by Bazel. - WORKSPACE_ROOT: tool_path must be a relative path and is assumed to be relative to the exec-root of the workspace (similar to other executables). Updates bazelbuild/bazel#8438 Closes #10967. PiperOrigin-RevId: 310142352
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel rebuilds only what is necessary. With advanced local and distributed caching, optimized dependency analysis and parallel execution, you get fast and incremental builds.
One tool, multiple languages: Build and test Java, C++, Android, iOS, Go, and a wide variety of other language platforms. Bazel runs on Windows, macOS, and Linux.
Scalable: Bazel helps you scale your organization, codebase, and continuous integration solution. It handles codebases of any size, in multiple repositories or a huge monorepo.
Extensible to your needs: Easily add support for new languages and platforms with Bazel's familiar extension language. Share and re-use language rules written by the growing Bazel community.
Follow our tutorials:
See CONTRIBUTING.md