commit | 1782f0ae751569607ef88930c822ac460a1f8bb3 | [log] [tgz] |
---|---|---|
author | Thi Doan <thi.doan@linecorp.com> | Wed Dec 02 01:01:07 2020 +0900 |
committer | Philipp Wollermann <philwo@google.com> | Mon Dec 07 18:13:08 2020 +0100 |
tree | 89ae9c2c7188b1751f99461937c1b4d26295f950 | |
parent | 82ac8e94c101617a66022a64fec102b60684badd [diff] |
Patch grpc to fix cares selecting the wrong source when building for darwin_arm64 cpu. This should use constraints instead of cpu flags, but that should be fixed on the grpc repository. I just added new `config_setting`s here to keep the patch size small. This should allow building a Bazel binary for Apple Silicon hardware from an Intel Mac with: ``` USE_BAZEL_VERSION=last_green bazel build -c opt --cpu=darwin_arm64 //src:bazel ``` (This needs last green Bazel because we need recent changes to `@bazel_tools` which needs a Bazel release.) Closes #12594. Signed-off-by: Philipp Wollermann <philwo@google.com>
{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