← Back to Pull requests

Require CMake 4.3 #2618

Merged
robertmaynard merged 19 files (44 lines) on Nov 23, 2026 14:43 UTC
View on GitHub
robertmaynard robertmaynard commented on Nov 19, 2026 14:43 UTC
Author

Description


Raise the minimum required CMake version to 4.3.

  • Bump cmake_minimum_required() to 4.3 so that the NEW behavior of every policy introduced in CMake 4.1 through 4.3 (CMP0186-CMP0210) is enabled.

  • Bump the cmake requirement in dependencies.yaml, the generated conda environment files, conda recipes (conda_build_config.yaml) and pyproject.toml build requirements.

  • Update documentation, CI images and presets that mention the minimum.
  • Before this PR is merged, the PRs for the following projects should already be merged, or at least have passing CI:

  • cuopt: https://github.com/NVIDIA/cuopt/pull/2324 (merged)

  • cugraph-gnn: https://github.com/rapidsai/cugraph-gnn/pull/570 (open)

  • cugraph: https://github.com/rapidsai/cugraph/pull/5738 (merged)

  • cuml: https://github.com/NVIDIA/cuml/pull/8903 (merged)

  • raft: https://github.com/NVIDIA/raft/pull/3218 (merged)

  • cudf: https://github.com/NVIDIA/cudf/pull/25328 (open)

  • rapidsmpf: https://github.com/rapidsai/rapidsmpf/pull/1328 (open)

  • ucxx
  • Contributes to rapidsai/build-planning#349

    Checklist


  • I am familiar with the Contributing Guidelines.

  • New or existing tests cover these changes.

  • The documentation is up to date with these changes.
  • Diff: 44 lines (+22 / -22) across 19 files Reviewer: cryos Review duration: 5760m
    All Vouch review confidence checks passed
    Residual risk 0.16 = Change Risk (0.54) × (1 − Review Confidence (0.70)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.54 · 44 lines diff across 19 files
    0.54
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.54 · 2 substantive comment(s)
    0.54
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    70%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.228
    Mass File Touch mass_file_touch
    0.080
    Real PR Conversation Timeline
    4 items
    coderabbitai[bot] coderabbitai[bot] commented on Nov 19, 2026 14:47 UTC
    Bot

    <!-- coderabbit-ai-generated:v1 -->

    <!-- This is an auto-generated comment: summarize by coderabbit.ai -->
    <!-- review_stack_entry_start -->

    <a href="https://app.coderabbit.ai/change-stack/rapidsai/rmm/pull/2618?scope=ghh_OusAJGA4HG8ljoOV0wJvVx8NmnZIjc2DdjmxOu0xZWA&amp;cs_source=review_comment"><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-stack-buttons-v1/explain-change-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-stack-buttons-v1/explain-change.svg"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-stack-buttons-v1/explain-change.svg" alt="Explain Change →" height="32"></picture></a>

    <!-- review_stack_entry_end -->
    <!-- recent_review_status_start -->

    No actionable comments were generated in the recent review.

    <!-- recent_review_status_end -->
    <!-- walkthrough_start -->

    <details>
    <summary><strong>Summary</strong></summary>
    <dl>
    <dd>
    <br>

    <!-- This is an auto-generated comment: release notes by coderabbit.ai -->

    Summary by CodeRabbit

    Chores
    Raised the minimum required CMake version from 4.0 to 4.3 across project builds and documented requirements. The maximum version remains below 4.5 where specified.

    <!-- end of auto-generated comment: release notes by coderabbit.ai -->
    The pull request raises the minimum CMake version from 4.0 to 4.3 across project requirements, package build constraints, and the README. Existing <4.5 upper bounds and fatal-error behavior remain. Two CMake copyright notices are also updated.

    Changes: CMake Minimum Version

    |Layer / File(s)|Summary|
    |:---|:---|
    |CMake requirements and build constraints <br> cmake/RAPIDS.cmake, cpp/CMakeLists.txt, cpp/cmake/tests/, cpp/examples/basic/CMakeLists.txt, python//CMakeLists.txt, conda/environments/all_cuda-_arch-.yaml, conda/recipes//conda_build_config.yaml, dependencies.yaml, python//pyproject.toml, README.md|CMake minimum-version declarations and package constraints now specify 4.3 instead of 4.0. Existing <4.5 upper bounds and fatal-error behavior remain. Copyright notices in cmake/RAPIDS.cmake, cpp/examples/basic/CMakeLists.txt, and python/librmm/CMakeLists.txt are updated.|

    <!-- change_assessment_start -->
    Estimated code review effort: 2 (Simple) | ~5 minutes

    <!-- change_assessment_commit:"d65d92e0bc465fe6457c9bc95165a9486242005f" -->
    <!-- change_assessment_priority:{"version":1,"urgency":"p2","manual":false} -->
    Change: Other
    <!-- change_assessment_end -->

    Possibly related PRs

  • rapidsai/rmm#2611: It constrains the CMake build dependency to below 4.5 in dependency sources that this pull request also updates.
  • Suggested reviewers: kylefromnvidia, vyasr

    </dd>
    </dl>
    </details>

    <!-- walkthrough_end -->
    <details>
    <summary><strong>Merge Risk:</strong> <strong><picture><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/risk-unassessed-16.svg" width="16" height="16" align="absmiddle" alt=""></picture> Minimal</strong> · up to <code>d65d9</code></summary>
    <dl>
    <dd>
    <br>

    <!-- final_review_risk_start -->
    <!-- final_review_risk_label
    Merge Risk: ⚪ Minimal · up to d65d9
    -->
    <!-- final_review_risk_coverage:{"sourceCommitId":"d65d92e0bc465fe6457c9bc95165a9486242005f","coveredCommitId":"d65d92e0bc465fe6457c9bc95165a9486242005f","kind":"reviewed"} -->

    This change raises the minimum required CMake version to 4.3 consistently across build files, packaging constraints and documentation. No concrete merge-blocking issue was found. The Label Checker status still needs the missing category and breaking labels added.
    <!-- final_review_risk_end -->

    </dd>
    </dl>
    </details>
    <!-- pre_merge_checks_walkthrough_start -->

    <details>
    <summary><strong>Pre-merge checks: <sup><picture><img src="https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-counter-passed-14-v2.svg" width="14" height="14" align="middle" alt="Passed" title="Passed"></picture></sup> 4</strong></summary>
    <dl>
    <dd>
    <br>

    | Check name | Status | Explanation |
    | :------------------------ | :--------------------------------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
    | Title check | !Passed | The title "Require CMake 4.3" names the main change: raising the minimum required CMake version from 4.0 to 4.3 across the build files, dependency manifests, and conda and pyproject configurations. It… |
    | Description check | !Passed | The description states the purpose (raising the minimum CMake version to 4.3 to enable CMP0186-CMP0210 NEW behavior), lists the files and areas touched (dependencies.yaml, conda environment files, con… |
    | Linked Issues check | !Passed | Check skipped because no linked issues were found for this pull request. |
    | Out of Scope Changes check | !Passed | Check skipped because no linked issues were found for this pull request. |

    <details>
    <summary><strong>Full details: Title check</strong></summary>
    <dl>
    <dd>
    <br>

    Explanation

    The title "Require CMake 4.3" names the main change: raising the minimum required CMake version from 4.0 to 4.3 across the build files, dependency manifests, and conda and pyproject configurations. It is short, specific, and matches the changeset and objectives.

    </dd>
    </dl>
    </details>

    <details>
    <summary><strong>Full details: Description check</strong></summary>
    <dl>
    <dd>
    <br>

    Explanation

    The description states the purpose (raising the minimum CMake version to 4.3 to enable CMP0186-CMP0210 NEW behavior), lists the files and areas touched (dependencies.yaml, conda environment files, conda recipes, pyproject.toml, documentation, CI images, presets), and lists related cross-project PRs. This matches the changeset.

    </dd>
    </dl>
    </details>

    </dd>
    </dl>
    </details>

    <!-- pre_merge_checks_walkthrough_end -->
    <!-- finishing_touch_checkbox_start -->

    <details>
    <summary><strong>Finishing Touches</strong></summary>
    <dl>
    <dd>
    <br>

    <details open>
    <summary><strong>Generate unit tests (beta)</strong></summary>
    <dl>
    <dd>
    <br>

  • <!-- {"checkboxId": "f47ac10b-58cc-4372-a567-0e02b2c3d479", "radioGroupId": "utg-output-choice-group-unknown_comment_id"} --> Create a new PR
  • </dd>
    </dl>
    </details>

    <!-- finishing_touch_suggestion:fix_ci -->
    <details open>
    <summary><strong>Fix failing CI checks</strong></summary>
    <dl>
    <dd>
    <br>

  • <!-- {"checkboxId": "6d21cfe8-ec3f-40e2-9222-b8318b64d3b0", "radioGroupId": "fix-ci-output-choice-group-unknown_comment_id"} --> Create a new PR
  • </dd>
    </dl>
    </details>
    </dd>
    </dl>
    </details>

    <!-- finishing_touch_checkbox_end -->

    <!-- autopilot:start -->

  • <!-- {"checkboxId":"2708ad07-9f24-4260-9c11-7dc76a49f2e3"} --> <strong title="Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts">Autofix</strong> · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

  • <!-- autopilot:end -->
    <!-- recent_review_start -->

    <h6>
    <details>
    <summary><strong><picture><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/info.svg" width="12" height="12" align="absmiddle" alt=""></picture> Recent review info</strong></summary>
    <dl>
    <dd>
    <br>

    <!-- review_info_content -->
    <details>
    <summary><strong><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/cog-dark.svg"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/cog.svg" width="16" height="16" align="absmiddle" alt=""></picture> Run configuration</strong></summary>
    <dl>
    <dd>
    <br>

  • Source mode: Auto

  • Repository: [rapidsai/rmm](<https://github.com/rapidsai/rmm>)

  • Branch: [main](<https://github.com/rapidsai/rmm/tree/main>)

  • File: [.coderabbit.yaml](<https://github.com/rapidsai/rmm/blob/5df46ae6fb4ff7a86d5981348a64e13d52e35bb2/.coderabbit.yaml>)

  • Commit: [5df46ae](<https://github.com/rapidsai/rmm/commit/5df46ae6fb4ff7a86d5981348a64e13d52e35bb2>)

  • Layers: Repository YAML

  • Review profile: CHILL

  • Plan: Enterprise

  • Run ID: 09da4d9b-33f6-4e99-9dda-01e41b09ff79
  • </dd>
    </dl>
    </details>

    <details>
    <summary><strong><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/git-commit-horizontal-dark.svg"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/git-commit-horizontal.svg" width="16" height="16" align="absmiddle" alt=""></picture> Commits</strong></summary>
    <dl>
    <dd>
    <br>

    Reviewing files that changed from the base of the PR and between 5df46ae6fb4ff7a86d5981348a64e13d52e35bb2 and d65d92e0bc465fe6457c9bc95165a9486242005f.

    </dd>
    </dl>
    </details>

    <details>
    <summary><strong><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/file-plus-corner-dark.svg"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/file-plus-corner.svg" width="16" height="16" align="absmiddle" alt=""></picture> Files selected for processing: 19</strong></summary>
    <dl>
    <dd>
    <br>

    README.md
    cmake/RAPIDS.cmake
    conda/environments/all_cuda-129_arch-aarch64.yaml
    conda/environments/all_cuda-129_arch-x86_64.yaml
    conda/environments/all_cuda-134_arch-aarch64.yaml
    conda/environments/all_cuda-134_arch-x86_64.yaml
    conda/recipes/librmm/conda_build_config.yaml
    conda/recipes/rmm/conda_build_config.yaml
    cpp/CMakeLists.txt
    cpp/cmake/tests/CMakeLists.txt
    cpp/cmake/tests/rmm_abi_namespace/CMakeLists.txt
    cpp/cmake/tests/rmm_abi_namespace/consumer/CMakeLists.txt
    cpp/cmake/tests/rmm_abi_namespace/verify_symbol_versions.cmake
    cpp/examples/basic/CMakeLists.txt
    dependencies.yaml
    python/librmm/CMakeLists.txt
    python/librmm/pyproject.toml
    python/rmm/CMakeLists.txt

  • python/rmm/pyproject.toml
  • </dd>
    </dl>
    </details>

    Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 11 remain after this review.

    </dd>
    </dl>
    </details>
    </h6>

    <!-- recent_review_end -->

    cryos cryos approved these changes on Nov 19, 2026 15:09 UTC
    Approved Reviewer

    Approved these changes.

    robertmaynard robertmaynard commented on Nov 23, 2026 14:43 UTC
    Author

    /merge

    Reviewers
    Assignees
    robertmaynard robertmaynard
    Labels
    risk: low confidence: 70.1% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 54.3% (MEDIUM) · Higher = larger blast radius
    54.3%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 70.1% · Lower = rushed or shallow review
    70.1%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 16.2% · Safe to merge
    16.2%
    Repository