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

Update doc to mention installing Rosetta to execute macos x86_64 binary on Apple Silicon #463

Merged

Conversation

cedricvidal
Copy link
Contributor

@cedricvidal cedricvidal commented Oct 6, 2023

Fixes #460 MacOS binary CPU architecture incompatible with Apple Silicon M2

The macos binary compiled by the macos-* Github Action runner is a x86_64 architecture binary, it's not an arm64 binary so it requires Rosetta to run on Apple Silicon.

This PR updates the documentation to mention installing Rosetta prior to executing the binary if on Apple Silicon. Not that contrary to graphical applications, MacOS will not automatically offer user to install Rosetta when executing a x86_64 binary on the command line.

@cedricvidal cedricvidal force-pushed the features/460-cli-macos-bad-cpu-arch-m2 branch 2 times, most recently from 89667e4 to 7dd02f2 Compare October 6, 2023 03:10
@cedricvidal cedricvidal closed this Oct 6, 2023
@cedricvidal cedricvidal reopened this Oct 6, 2023
@cedricvidal cedricvidal changed the title MacOS binary CPU architecture incompatible with Apple Silicon M2 Fixes #460 MacOS binary CPU architecture incompatible with Apple Silicon M2 Oct 6, 2023
@cedricvidal cedricvidal force-pushed the features/460-cli-macos-bad-cpu-arch-m2 branch from 7dd02f2 to c15cdd0 Compare October 6, 2023 03:13
@cedricvidal cedricvidal changed the title Fixes #460 MacOS binary CPU architecture incompatible with Apple Silicon M2 MacOS binary CPU architecture incompatible with Apple Silicon M2 Oct 6, 2023
@cedricvidal cedricvidal changed the title MacOS binary CPU architecture incompatible with Apple Silicon M2 Update doc to mention installing Rosetta if on Apple Silicon Oct 6, 2023
@cedricvidal cedricvidal marked this pull request as ready for review October 6, 2023 03:20
@cedricvidal cedricvidal changed the title Update doc to mention installing Rosetta if on Apple Silicon Update doc to mention installing Rosetta to execute x86_64 binary on Apple Silicon Oct 6, 2023
@cedricvidal cedricvidal changed the title Update doc to mention installing Rosetta to execute x86_64 binary on Apple Silicon Update doc to mention installing Rosetta to execute macos x86_64 binary on Apple Silicon Oct 6, 2023
@jdubois jdubois merged commit bf4fa47 into microsoft:main Oct 6, 2023
6 checks passed
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.

[BUG] MacOS binary CPU architecture incompatible with Apple Silicon M2
2 participants