commit | 02781a6302177d76d2ee1c1e3bda41edc6edac67 | [log] [tgz] |
---|---|---|
author | brandjon <brandjon@google.com> | Tue Feb 26 13:46:57 2019 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Feb 26 13:49:04 2019 -0800 |
tree | aa25a0fd01cf5ecebb31e8133f85b574153899fc | |
parent | 4aa059ad9b58ee8342378f27aca93cfefb5c1cda [diff] |
Add Python toolchain definitions to @bazel_tools This adds the toolchain type `@bazel_tools//tools/python:toolchain_type`, which is the toolchain type of Python runtimes. It also adds a toolchain rule for this type, `py_runtime_pair`, loadable from `@bazel_tools//tools/python:toolchain.bzl`. Two constraint settings are also added, `@bazel_tools//tools/python:py[2|3]_interpreter_path`. These will be used to indicate that a platform has a Python interpreter located at a specific path. Work toward #7375. RELNOTES: None PiperOrigin-RevId: 235785173
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel only rebuilds 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
Bazel is released in ‘Beta’. See the product roadmap to learn about the path toward a stable 1.0 release.