-
Notifications
You must be signed in to change notification settings - Fork 46
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
[FEA] Bump minimum required CMake version to 3.22.3 #78
Comments
Potential issue with moving to CMake 3.22:
|
@kkraus14 I believe that the 3.22.0 regression that hit AWS SDK was found during the RC cycle. And the fixe is in 3.22.0 ( aws/aws-sdk-cpp#1810 ). Are you able to confirm this by building the AWS SDK with 3.22.0? |
Yea I can confirm that 3.22 breaks building AWS SDK 1.8.x. I believe this is fixed in more recent 1.9.x releases, but in the issue linked above it also confirms that using 3.22 breaks building AWS SDK 1.9.152, so I assume any version prior to that will be broken. |
Weird I thought that the following fix for 3.22.0 would fix the problem and only 3.22.0-rc1 and rc2 would have the regression. https://gitlab.kitware.com/cmake/cmake/-/merge_requests/6442 |
I've only tested CMake 3.22.2 since that's what's in conda-forge but can confirm that it reproduces the bug above. |
I was able to reproduce and you are correct this was never properly fixed. I have re-opened the CMake issue and we should be able to get a fix for 3.22.2+ |
Thanks @robertmaynard! |
rmm-python would also benefit from this bump since when we switch to scikit-build we are currently required to include CUDA as one of the project languages due to the way that the C++ rmm component adds libcudacxx's c++17 features to its interface. |
This regression has been fixed in 3.22.3 patch release and the upcoming 3.23.0. CMake does consider this to be invalid |
Is your feature request related to a problem? Please describe.
We should continue leveraging latest CMake improvements, and therefore should review
the improvements that 3.21 and 3.22 will bring to rapids-cmake.
Describe the solution you'd like
I would like to see 3.22 become the required CMake version for rapids-cmake 22.X versions
Additional context
CMake 3.21 would bring in the following improvements:
install()
to copy runtime dependency will need to be reviews and we can see if they can be used when thirdparty dependencies are missing install rulesforeach()
and variable leaking. Most likely will need to update rapids-cmake in places due to thisCMake 3.22 would bring in the following improvements:
The text was updated successfully, but these errors were encountered: