Skip to content

Conversation

@ptheywood
Copy link
Member

@ptheywood ptheywood commented Sep 24, 2025

Add Support for CMake 4.x

  • CI: On Windows install CUDA >= 12 from redist packages
  • CI: Add CMake CI includeing CMake 3.25.2, 3.31 and 4.x
    • Include Windows CMake builds - as linux is fine with CMake 4.x
  • Fix CMake warnings and errors with CMake 4.x
    • Bump dependencies
    • Address CMake 3.30+ deprecation of FetchContent_Populate(name)
    • Remove no longer required explicit policy setting due to increased minimum cmake
  • Update cmake_minimum_required upper bound to 4.1.1
  • Fixes Manylinux_2_28.yml filename

@ptheywood ptheywood mentioned this pull request Sep 24, 2025
6 tasks
@ptheywood ptheywood marked this pull request as ready for review September 30, 2025 12:12
@ptheywood ptheywood requested a review from mondus September 30, 2025 12:12
@ptheywood ptheywood force-pushed the cmake4 branch 4 times, most recently from f06e856 to 6b3348c Compare September 30, 2025 17:02
Base automatically changed from cuda-13 to master October 1, 2025 11:52
This is no longer required as CMP0135 was introduced with CMake 3.24, which is now below our minimum of CMake 3.25.2
It was introduced in 3.13 which is below our minimum so not required
FetchConent_Populate(name) was deprecated in CMake 3.30.

Using FetchContent_Declare(SOURCE_SUBDIR) with an invalid subdirectory allows for similar behaviour to before

Removes the workaround which set CMP0169 to OLD
Use CMake 3.x to build Devil on Manylinux, as a CMake 4 compatible version is not availble
@ptheywood ptheywood merged commit 9282bf4 into master Oct 1, 2025
17 checks passed
@ptheywood ptheywood deleted the cmake4 branch October 1, 2025 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants