Skip to content

Preserve Abseil architecture-specific compiler flags on macOS - #415

Open
sylvesterkaczmarek wants to merge 1 commit into
google-deepmind:mainfrom
sylvesterkaczmarek:fix/abseil-macos-arch-flags-378
Open

sylvesterkaczmarek wants to merge 1 commit into
google-deepmind:mainfrom
sylvesterkaczmarek:fix/abseil-macos-arch-flags-378

Conversation

@sylvesterkaczmarek

Copy link
Copy Markdown

Backport Abseil's grouped architecture options without changing the pinned dependency revision. This prevents CMake deduplication from passing unguarded x86 flags to arm64 compilers.

Fixes the -msse4.1 failure in #378.

Validation: reproduced the error using the pinned Abseil CMake files; arm64 and x86_64 object compilation passed after the patch. Applying the patch twice also passed. Full MJPC and gRPC builds were not run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant