commit | ed4639b53585c74ba838f790d1775cfbe0e7437e | [log] [tgz] |
---|---|---|
author | Googler <noreply@google.com> | Wed May 12 05:21:10 2021 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Wed May 12 05:22:12 2021 -0700 |
tree | ba3ae82e993665be88813b93fd9529f095ec0101 | |
parent | 5b95d9162b56b51c8e8f66258981ddf3c5d96765 [diff] |
Remove unneeded and conservative checking for LLVM compiler The implicit ThinLTO features were only being added if we detected that this was an LLVM compiler. This checking relied on the compiler toolchain including the substring "llvm" which it may not always have when using LLVM. If a specific compiler is needed this should be transitioned into the feature configurations. The easiest way to test this was to remove "llvm" from the mock toolchain name. With that change and without this fix the 3 implicit ThinLTO enablement tests in CcBinaryThinLtoTest.java fail, but with this fix they don't. PiperOrigin-RevId: 373348337
{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