Skip to content

Update GettingStarted with note on M1 Macs #67765

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

Merged
merged 1 commit into from
Aug 8, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions docs/HowToGuides/GettingStarted.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,15 @@ toolchain as a one-off, there are a couple of differences:
* If you installed and want to use Sccache: Run `sccache --version`; check
that this succeeds.

> **Note**
> If you are running on Apple Silicon hardware (M1, M2, etc), ensure you have
> the native arm64 build of these dependencies installed and configured in your PATH.
>
> e.g. running `file $(which python3)` should print "arm64".
>
> If it prints "x86_64", you are running Python in compatibility mode (Rosetta), and building Swift will fail.
> Running `uname -m` should also print "arm64", otherwise your terminal is running in Rosetta mode.

### The roles of different tools

At this point, it is worthwhile to pause for a moment
Expand Down