commit | 6b126d60c319c574ed598eb38c0bdcc6b10fde03 | [log] [tgz] |
---|---|---|
author | Fabian Meumertzheim <fabian@meumertzhe.im> | Mon Jan 30 08:57:23 2023 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Jan 30 08:58:33 2023 -0800 |
tree | ffbced25d95d1359bae0cd37729a7a181ae3d61b | |
parent | c8f940bb2e0acc691d19661b523d01c4d07b6d8b [diff] |
Support optional toolchains with `find_cpp_toolchain` Rules that want to use optional toolchains but still support builds that don't use C++ toolchain resolution should point their `_cc_toolchain` attribute to the new `@bazel_tools//tools/cpp:optional_current_cc_toolchain` target. Fixes #16966 Closes #16968. PiperOrigin-RevId: 505707967 Change-Id: I251749348f982ae063b51f7d9cc0078a1b61a948
{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:
To report a security issue, please email security@bazel.build with a description of the issue, the steps you took to create the issue, affected versions, and, if known, mitigations for the issue. Our vulnerability management team will respond within 3 working days of your email. If the issue is confirmed as a vulnerability, we will open a Security Advisory. This project follows a 90 day disclosure timeline.
See CONTRIBUTING.md