Skip to content

Commit ede4949

Browse files
authored
GettingStarted.md: avoid preinstalling CMake (#83063)
We're seeing multiple build failures with CMake 4.0: e.g. SwiftPM bootstrapping issues on macOS. `build-script` will always build a fixed version of CMake that's known to work if preinstalled one is not found. Let's reduce the chances for confusion by not recommending preinstalled CMake in `GettingStarted.md`.
1 parent 1a116f3 commit ede4949

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

docs/HowToGuides/GettingStarted.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,18 +142,17 @@ toolchain as a one-off, there are a couple of differences:
142142
1. Install Xcode. The minimum required version is specified in the node
143143
information on <https://ci.swift.org>, may change frequently, and is often
144144
a beta release.
145-
1. Install [CMake][], [Ninja][] and [Sccache][]:
145+
1. Install [Ninja][] and [Sccache][]:
146146
- Via [Homebrew][] (recommended):
147147
```sh
148-
brew install cmake ninja sccache
148+
brew install ninja sccache
149149
```
150150
- Via [Homebrew Bundle][]:
151151
```sh
152152
brew bundle
153153
```
154154
155155
[Xcode]: https://developer.apple.com/xcode/resources/
156-
[CMake]: https://cmake.org
157156
[Ninja]: https://ninja-build.org
158157
[Homebrew]: https://brew.sh/
159158
[Homebrew Bundle]: https://github.com/Homebrew/homebrew-bundle
@@ -200,7 +199,6 @@ toolchain as a one-off, there are a couple of differences:
200199

201200
### Spot check dependencies
202201

203-
* Run `cmake --version`; this should be at least 3.19.6 (3.24.2 if you want to use Xcode for editing on macOS).
204202
* Run `python3 --version`; this should be at least 3.6.
205203
* Run `ninja --version`; check that this succeeds.
206204
* If you installed and want to use Sccache: Run `sccache --version`; check

0 commit comments

Comments
 (0)