Skip to content

[cmake] modernize and simplify RConfigure generation - #23261

Draft
ferdymercury wants to merge 2 commits into
root-project:masterfrom
ferdymercury:rconfigmodern
Draft

[cmake] modernize and simplify RConfigure generation#23261
ferdymercury wants to merge 2 commits into
root-project:masterfrom
ferdymercury:rconfigmodern

Conversation

@ferdymercury

Copy link
Copy Markdown
Collaborator

This Pull request:

Changes or fixes:

This is a first step towards later using the defined target to remove dependencies with a global header file in some external / builtins targets, it's better to just depend on a config time target if one just needs the ROOT global defs.

Besides, 150 lines of boilerplate code are removed.

Checklist:

  • tested changes locally
  • updated the docs (if necessary)

@dpiparo

dpiparo commented Sep 4, 2026

Copy link
Copy Markdown
Member

A slightly related issue ROOT-8061

@ferdymercury

ferdymercury commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator Author

Unfortunately, for this to go forward, we need CMake 3.27
So blocked by #19941
LLVM goes towards 3.30 soon https://discourse.llvm.org/t/rfc-raising-minimum-required-cmake-version-to-3-31 llvm/llvm-project@e192ec4

I will continue later on with RConfig.hxx that it has a lot of definitions that can be solved at config time and thus is movable to RConfigure.h.

@ferdymercury ferdymercury added skip code analysis Skip the code analysis CI steps for this PR, including verifying clang-formatting and running Ruff. clean build Ask CI to do non-incremental build on PR labels Sep 4, 2026
@github-actions

github-actions Bot commented Sep 5, 2026

Copy link
Copy Markdown

Test Results

    15 files      15 suites   2d 11h 54m 49s ⏱️
 3 852 tests  3 852 ✅ 0 💤 0 ❌
50 289 runs  50 289 ✅ 0 💤 0 ❌

Results for commit 99482fc.

♻️ This comment has been updated with latest results.

inbuilt configure file and mention also current cplusplus not just ROOT in error message
@ferdymercury
ferdymercury force-pushed the rconfigmodern branch 3 times, most recently from d467a3c to 26c9477 Compare September 7, 2026 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

clean build Ask CI to do non-incremental build on PR skip code analysis Skip the code analysis CI steps for this PR, including verifying clang-formatting and running Ruff.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants