Remove cmake from Brewfile#83060
Merged
MaxDesiatov merged 1 commit intoswiftlang:mainfrom Jul 17, 2025
Merged
Conversation
We're seeing multiple build failures with CMake 4.0 on macOS: e.g. SwiftPM bootstrapping issues. `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 preinstalling CMake for those who use `Brewfile`.
Contributor
Author
|
@swift-ci smoke test |
bnbarham
reviewed
Jul 15, 2025
| @@ -1,3 +1,2 @@ | |||
| brew "cmake" | |||
Contributor
There was a problem hiding this comment.
Brew allows selecting a specific version doesn't it? Can we just pin it?
Contributor
Author
There was a problem hiding this comment.
It does not, at least for CMake only latest version is provided:
❯ brew install cmake@3.31
Warning: No available formula with the name "cmake@3.31". Did you mean cmake?
==> Searching for similarly named formulae and casks...
==> Formulae
cmake ✔
To install cmake ✔, run:
brew install cmake ✔
❯ brew install cmake@3.31.8
Warning: No available formula with the name "cmake@3.31.8".
==> Searching for similarly named formulae and casks...
Error: No formulae or casks found for cmake@3.31.8.
❯ brew install cmake@3
Warning: No available formula with the name "cmake@3". Did you mean cmake, cake or make?
bnbarham
approved these changes
Jul 17, 2025
Contributor
bnbarham
left a comment
There was a problem hiding this comment.
Would be nice to get this working, but better to not be confusing for now 👍
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Brewfileis not used on CI and is purely a contributor experience helper for at-desk builds. We're seeing multiple build failures with CMake 4.0 on macOS: e.g. SwiftPM bootstrapping issues.build-scriptwill 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 preinstalling CMake for those who useBrewfile.