-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Update cmake to version 3.28.3 #9861
Conversation
✅ Deploy Preview for meta-velox canceled.
|
Hello @kgpai, @majetideepak, @assignUser, @pedroerp, @bdice. |
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.
Could you also add the changes to the env files in this PR and add the new cmake version to setup-ubuntu.sh?
906a532
to
4663474
Compare
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.
Once the docker CI is green, I'll tag this to be merged.
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.
This change means we need to update the prestissimo images too.
cc: @majetideepak
@tigrux One final thing, can you also update the dependency documentation to list out we require cmake 3.28 ? |
CMake 3.24 and the 3.28 provide two notable improvements to the FetchContent module - New in version 3.24: OVERRIDE_FIND_PACKAGE - This makes the content available to be available for find_package. - New in version 3.28: EXCLUDE_FROM_ALL - Prevents the targets of the content from being added to the all target. These improvements are going to significantly decrease the complexity of dependencies that are provided via cmake modules.
@kgpai has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Conbench analyzed the 1 benchmark run on commit There were no benchmark performance regressions. 🎉 The full Conbench report has more details. |
Summary: CMake 3.24 and the 3.28 provide two notable improvements to the FetchContent module - New in version 3.24: OVERRIDE_FIND_PACKAGE - This makes the content available to be available for find_package. - New in version 3.28: EXCLUDE_FROM_ALL - Prevents the targets of the content from being added to the all target. These improvements are going to significantly decrease the complexity of dependencies that are provided via cmake modules. Pull Request resolved: facebookincubator#9861 Reviewed By: pedroerp Differential Revision: D57571112 Pulled By: kgpai fbshipit-source-id: 7bbd50740cb1c811f07dd7eaadf583884a41a3cc
This reverts commit 206ff47.
Hi @kgpai @assignUser, we notice the docker image |
@rui-mo that docker image is outdated and superseded by |
@assignUser Thank you for providing us with the detailed information. We will change to use the updated ones. Thanks! |
My CLion IDE has CMake 3.25.2 as the default. I had to create a new toolchain for CMake using homebrew CMake (version 3.29.2) by following the steps here https://stackoverflow.com/questions/58506437/cmake-version-in-clion-not-updating |
I updated CLion to latest version (CLion 2024.1.1, Build #CL-241.15989.121, built on April 25, 2024) to fix the issue locally. PrestoDB builds failing when we want to update Velox prestodb/presto#22812 |
Seems like this breaks for Fedora 38 users as well as it ships with CMake 3.27 by default. |
Any easy way to get the latest cmake is via |
Summary: CMake 3.24 and the 3.28 provide two notable improvements to the FetchContent module - New in version 3.24: OVERRIDE_FIND_PACKAGE - This makes the content available to be available for find_package. - New in version 3.28: EXCLUDE_FROM_ALL - Prevents the targets of the content from being added to the all target. These improvements are going to significantly decrease the complexity of dependencies that are provided via cmake modules. Pull Request resolved: facebookincubator#9861 Reviewed By: pedroerp Differential Revision: D57571112 Pulled By: kgpai fbshipit-source-id: 7bbd50740cb1c811f07dd7eaadf583884a41a3cc
Summary: CMake 3.24 and the 3.28 provide two notable improvements to the FetchContent module - New in version 3.24: OVERRIDE_FIND_PACKAGE - This makes the content available to be available for find_package. - New in version 3.28: EXCLUDE_FROM_ALL - Prevents the targets of the content from being added to the all target. These improvements are going to significantly decrease the complexity of dependencies that are provided via cmake modules. Pull Request resolved: facebookincubator#9861 Reviewed By: pedroerp Differential Revision: D57571112 Pulled By: kgpai fbshipit-source-id: 7bbd50740cb1c811f07dd7eaadf583884a41a3cc
CMake 3.24 and the 3.28 provide two notable improvements to the FetchContent module
These improvements are going to significantly decrease the complexity of dependencies that are provided via cmake modules.