Skip to content

[pull] master from bazelbuild:master#585

Merged
pull[bot] merged 2 commits intoufo2011:masterfrom
bazelbuild:master
Oct 27, 2021
Merged

[pull] master from bazelbuild:master#585
pull[bot] merged 2 commits intoufo2011:masterfrom
bazelbuild:master

Conversation

@pull
Copy link
Copy Markdown

@pull pull bot commented Oct 27, 2021

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

meteorcloudy and others added 2 commits October 27, 2021 01:00
So that we can safely rename the module name of protobuf from com_google_protobuf to just protobuf.

RELNOTES: None
PiperOrigin-RevId: 405830339
The Apple toolchain has 2 native binaries that are inputs to every
single action. Because of this if you want to share caches between Apple
Silicon machines and Intel machines, you either need to force them to be
x86_64 binaries and suffer the performance loss on Apple Silicon
machiens, or use fat binaries so the sha's match on both architectures,
which is what this change does. These binaries are so small that the
size impact of this doesn't matter. Since Apple Silicon support requires
Xcode 12 this falls back to compiling the single architecture binary if
it fails, under the assumption that means you're on Xcode 11 or lower.
We don't have a better indication at this point of what Xcode version
you're using, so this seems like a fine workaround until Xcode 12 is the
minimum supported version.

Closes #13452.

PiperOrigin-RevId: 405842940
@pull pull bot added the ⤵️ pull label Oct 27, 2021
@pull pull bot merged commit 80c56ff into ufo2011:master Oct 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants