Skip to content

GettingStarted.md: avoid preinstalling CMake #83063

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
Jul 17, 2025

Conversation

MaxDesiatov
Copy link
Contributor

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.

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`.
@MaxDesiatov
Copy link
Contributor Author

@swift-ci smoke test

- Via [Homebrew][] (recommended):
```sh
brew install cmake ninja sccache
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See my other comment, can we just pin it instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ditto, the answer is "no" unfortunately

@MaxDesiatov MaxDesiatov requested a review from bnbarham July 15, 2025 21:40
@MaxDesiatov
Copy link
Contributor Author

@swift-ci smoke test macos

Copy link
Contributor

@bnbarham bnbarham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be nice to get this working, but better to not be confusing for now 👍

@MaxDesiatov MaxDesiatov merged commit ede4949 into swiftlang:main Jul 17, 2025
3 checks passed
@MaxDesiatov MaxDesiatov deleted the maxd/say-no-to-cmake4.0 branch July 17, 2025 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants