Skip to content

[core] deprecate compiledata.h - #23396

Merged
guitargeek merged 6 commits into
root-project:masterfrom
ferdymercury:compdata
Sep 19, 2026
Merged

guitargeek merged 6 commits into
root-project:masterfrom
ferdymercury:compdata

Conversation

@ferdymercury

Copy link
Copy Markdown
Collaborator

This Pull request:

Changes or fixes:

Header was kind of broken, since header guards were missing.
Luckily it was only used by cxx files once.
Plus naming problems.

In a later step we can privatize it, and later skip this header all the way and go towards a CMake definition target #23291

@ferdymercury ferdymercury added the skip code analysis Skip the code analysis CI steps for this PR, including verifying clang-formatting and running Ruff. label Sep 16, 2026

@pcanal pcanal left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Besides the naming problem. I find this file useful for debugging purposes of user installation. Unless we also publish the information in a 'easy/clear' to find way in a move to CMake based, I don't see that move as a beneficial move.

I.e. I would not mind a renamed and improvement but I would not deprecate it (although there is a point to be made that it is an internal details and should not rely upon/used in user code).

@ferdymercury

Copy link
Copy Markdown
Collaborator Author

Besides the naming problem. I find this file useful for debugging purposes of user installation. Unless we also publish the information in a 'easy/clear' to find way in a move to CMake based, I don't see that move as a beneficial move.

I.e. I would not mind a renamed and improvement but I would not deprecate it (although there is a point to be made that it is an internal details and should not rely upon/used in user code).

This could maybe go into etc/ subfolder as a .txt file, or alternatively into info by RootTargets.cmake

But we could decide that later, after telling people to not include it in their downstream code?

@pcanal

pcanal commented Sep 16, 2026

Copy link
Copy Markdown
Member

This could maybe go into etc/ subfolder as a .txt file, or alternatively into info by RootTargets.cmake

With any solution, this file (or its successor) must be the source of truth (as used to build up the ACLiC command line), if it is "only" a duplicata the likelihood that over time it drift to be inaccurate is extremely high.

Comment thread cmake/unix/compiledata.sh Outdated
@ferdymercury
ferdymercury requested a review from pcanal September 16, 2026 21:42
@ferdymercury ferdymercury added this to the 6.42.00 milestone Sep 16, 2026
@github-actions

github-actions Bot commented Sep 17, 2026

Copy link
Copy Markdown

Test Results

    22 files      22 suites   3d 13h 11m 39s ⏱️
 3 853 tests  3 848 ✅ 0 💤 5 ❌
76 234 runs  76 229 ✅ 0 💤 5 ❌

For more details on these failures, see this check.

Results for commit 42b285e.

♻️ This comment has been updated with latest results.

Comment thread README/ReleaseNotes/v642/index.md Outdated
ferdymercury and others added 2 commits September 17, 2026 13:12
Co-authored-by: Philippe Canal <pcanal@fnal.gov>
@ferdymercury
ferdymercury requested a review from pcanal September 17, 2026 11:13

@pcanal pcanal left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks.

@pcanal pcanal closed this Sep 17, 2026
@pcanal pcanal reopened this Sep 17, 2026
@pcanal pcanal added the clean build Ask CI to do non-incremental build on PR label Sep 17, 2026
@pcanal pcanal closed this Sep 17, 2026
@pcanal pcanal reopened this Sep 17, 2026
@ferdymercury

Copy link
Copy Markdown
Collaborator Author

Failures seem unrelated

@guitargeek
guitargeek merged commit c56c2ff into root-project:master Sep 19, 2026
81 of 107 checks passed
@ferdymercury
ferdymercury deleted the compdata branch September 19, 2026 11:03
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