commit | 2bdd3289d69b022bdd98d0924068266bc9d3dcf3 | [log] [tgz] |
---|---|---|
author | Yun Peng <pcloudy@google.com> | Tue Jul 23 05:46:01 2019 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Jul 23 05:46:57 2019 -0700 |
tree | cee2741dd70c1c60940e7260142a3cff1060c5cb | |
parent | 172bf72018118dfdaddae431d5b9bde7a3932d11 [diff] |
Fix building ijar_cc_binary and singlejar_cc_bin without sandbox by removing dependency on @bazel_tools//tools/cpp:malloc As @laszlocsomor [explained](https://github.com/bazelbuild/bazel/pull/8742#issuecomment-506745688 ), building `ijar_cc_binary` and `singlejar_cc_bin` on Windows (where sandbox is not available yet) will have header conflict due to the same headers are shipped in both @bazel_tools and @local_java_tools. `ijar_cc_binary` and `singlejar_cc_bin` only declare headers in @local_java_tools as dependency, but it will search `external/bazel_tools` first because every cc targets depend on `@bazel_tools//tools/cpp:malloc` [implicitly](https://docs.bazel.build/versions/master/be/c-cpp.html#cc_binary). This change remove the dependency on `@bazel_tools//tools/cpp:malloc` to avoid this confusion. Closes #8954. PiperOrigin-RevId: 259519714
{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.