mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Update GettingStarted with note on M1 Macs
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user