@@ -138,15 +138,7 @@ toolchain as a one-off, there are a couple of differences:
138
138
The required version of Xcode changes frequently and is often a beta release.
139
139
Check this document or the host information on <https://ci.swift.org> for the
140
140
current required version.
141
- 1. **If you are running on Apple Silicon hardware** (M1, M2, etc):
142
- Ensure you have the native arm64 build of Python configured.
143
- Run `file $(which python3)`; it should print "arm64".
144
- If it prints "x86_64", you are running Python in compatibility mode (Rosetta),
145
- and will need to ensure the native version of Python is installed and
146
- configured in your PATH.
147
- Running `uname -m` should also print "arm64", otherwise your terminal is also
148
- running in Rosetta mode.
149
- 1. Install [CMake][], [Ninja][] and [Sccache][]:
141
+ 2. Install [CMake][], [Ninja][] and [Sccache][]:
150
142
- Via [Homebrew][] (recommended):
151
143
```sh
152
144
brew install cmake ninja sccache
@@ -204,6 +196,15 @@ toolchain as a one-off, there are a couple of differences:
204
196
* If you installed and want to use Sccache: Run ` sccache --version` ; check
205
197
that this succeeds.
206
198
199
+ > ** Note**
200
+ > If you are running on Apple Silicon hardware (M1, M2, etc), ensure you have
201
+ > the native arm64 build of these dependencies installed and configured in your PATH.
202
+ >
203
+ > e.g. running ` file $( which python3) ` should print " arm64" .
204
+ >
205
+ > If it prints " x86_64" , you are running Python in compatibility mode (Rosetta), and building Swift will fail.
206
+ > Running ` uname -m` should also print " arm64" , otherwise your terminal is running in Rosetta mode.
207
+
207
208
# ## The roles of different tools
208
209
209
210
At this point, it is worthwhile to pause for a moment
0 commit comments