commit | aaae8ce2881c8c1a5d4ad64f20d6e71aa372cf2e | [log] [tgz] |
---|---|---|
author | Keith Smiley <keithbsmiley@gmail.com> | Wed May 12 12:07:25 2021 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Wed May 12 12:08:41 2021 -0700 |
tree | 6ac1ee17702aed60bb2d7ec25d7344c5736383e4 | |
parent | c99992ca5a50dcdf64e6624dfa0950c0d7ada5b0 [diff] |
Update DEFAULT_MACOS_CPU to match host With Apple Silicon machines host tools that use the apple_binary, or apple fragment to fetch the CPU would be built for the wrong architecture, even though the C++ logic would correctly identify the host CPU. This changes this hardcoded value to correctly determine Apple Silicon as arm64, and otherwise fallback to x86_64. Fixes https://github.com/bazelbuild/bazel/issues/12671 Closes #13440. PiperOrigin-RevId: 373421791
{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