-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Bump CMake version to 3.19.6. #36094
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
Conversation
@shahmishal This patch would require some of the Linux build bots to be updated. |
Can you do a post on the forum about this to check for objections? |
I think you'll need to update the CMake built from source too, see #30695 for an example. |
@buttaface will do. |
79d1a6d
to
fd03488
Compare
Anything holding this back? There is a Foundation patch that I'd like to upstream that needs a CMake bump first, as the last |
@gottesmm any updates or should I try to get swiftpm working? |
fd03488
to
a632d60
Compare
@swift-ci please test. |
a632d60
to
debd172
Compare
@swift-ci please test. |
1 similar comment
@swift-ci please test. |
@zoecarver can you add to the commit message that you are updating the cmake tag for 3.19 in update-checkout? |
Build failed |
Build failed |
@swift-ci please test |
Build failed |
docs/HowToGuides/GettingStarted.md
Outdated
@@ -187,7 +187,7 @@ Double-check that running `pwd` prints a path ending with `swift`. | |||
|
|||
### Spot check dependencies | |||
|
|||
* Run `cmake --version`: This should be 3.18.1 or higher for macOS. | |||
* Run `cmake --version`: This should be 3.17 or higher. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd like to point out something here. Based on my reading of the CMake docs and usage over the years, the real de facto minimum after this pull will be 3.19.1, as that's what the CI will be enforcing. In that case, that's what should be listed as the minimum here in the docs.
@compnerd, can you confirm?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One thing to be aware of is that the cmake issue you are talking about would only apply on Linux where the build behavior occurs. Windows/macOS on CI will just use what is on the system.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, the de facto minimum is the minimum CMake version used on the CI, ie min(mac CI version, linux CI version, Win CI version)
. Raising this for the Linux CI will simply change one input to that equation.
Looks like there was a version mismatch issue. Maybe a clean build will get the bots green. @swift-ci please clean test. |
Build failed |
Looks like this is moving forward in #37517, maybe this pull can just add the doc changes after that's in. |
@gottesmm do you want me to update this to 3.19? It looks like the other PR only updated the checkouts script. |
@zoecarver not time yet. Waiting for one other thing. |
and I am going to want to update to 3.19.6 |
Updates the CMake version for Swift and the Swift Benchmarks to 3.19.6. Updates the docs to reflect this change. Does not modify the required version for building the stdlib.
520667a
to
a13c57c
Compare
@swift-ci please clean test. |
Build failed |
@swift-ci please clean test macOS. |
@swift-ci please test macOS. |
@swift-ci please test Windows. |
1 similar comment
@swift-ci please test Windows. |
Source kit issues :/ @swift-ci please test Windows. |
@swift-ci please test Windows. |
FYI: Even when this is green, please don't merge until Sat or Sun. There is a bunch of commits trying to get into main right now and we don't want to churn the tree with something unless we need to. |
The windows bots keep failing for unrelated issues. This shows that there isn't a problem with the CMake version, though, because those tests wouldn't even be able to run if there was. I'll give this one more try because it would be nice if it was green, but otherwise I'll just land it tomorrow. @swift-ci please test Windows. |
CC: @drodriguez - this seems to have regressed the VS2017 builders :-(. |
Hopefully the next build will use CMake 3.21. Thanks for the heads up! |
Updates the required CMake version for Swift and the Swift Benchmarks to
3.183.19.6. Updates the docs to reflect this change. Doesn't modify the required version for building the stdlib.Required for #36082.