Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support MI_OPT_ARCH when targeting multiple CMAKE_OSX_ARCHITECTURES #999

Merged
merged 1 commit into from
Feb 8, 2025

Conversation

jbatez
Copy link
Contributor

@jbatez jbatez commented Feb 2, 2025

When using -DCMAKE_OSX_ARCHITECTURES='x86_64;arm64' to build universal binaries, the existing -march=armv8.1-a ends up applying to both targets but is obviously invalid for the x86_64 target. Prefix with -Xarch_arm64 to ensure it only applies to the arm64 target.

@daanx daanx merged commit cb2719c into microsoft:dev Feb 8, 2025
1 check passed
@daanx
Copy link
Collaborator

daanx commented Feb 8, 2025

Thank you!

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.

2 participants