Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When your macOS build has tools that build with the Apple rules, such as `macos_command_line_application`, you likely want to share caches between Apple Silicon and Intel machines. Today your tool would build for the host architecture (ideally, see bazelbuild#13440) which means the tools would differ between the different architectures, leading to split caches. This flag allows you to pass `--host_macos_cpus=arm64,x86_64` in order to produce a fat binary for host tools. This has the downside of increasing binary size for your tools, but likely that trade-offs is worth it for almost everyone versus having split caches.
- Loading branch information