Repository navigation
[eg] deprecate cfortran and Hepevt headers and announce mv to ROOT/ - #23388
Conversation
pcanal
left a comment
There was a problem hiding this comment.
I understand the challenge with cfortran.h being duplicated across product.
That said, Hepevt.h is part of the TGenerator interface and defined/declare the default layout a fortran implemented generator can/should use to leverage the default implementation available within TGenerator.
So this PR (underlying feature) is not a technical/straight-forward cleanup but rather a real feature deprecation: "no longer supporting Fortran based generator".
So this deserve a larger discussion and the conclusion might be to recommend this PR, to delay this PR or to expand this PR to deprecate a larger set of functionality.
Why so? It's only used by TGenerator.cxx but not by TGenerator.h Or you mean someone was using directly in some downstream code? and then binding those in some way ? |
yes (via the 'magic' of common blocks) Per the documentation: |
wouldn't it make then more sense to copy-paste HepEvt.h into TGenerator.h rather than having a separate header? And then remove HepEvt.h Otherwise it can also be 'magically' broken if only includes TGenerator.h, right? |
Test Results 24 files 24 suites 4d 3h 22m 0s ⏱️ For more details on these failures, see this check. Results for commit a54ae4a. ♻️ This comment has been updated with latest results. |
No more than any other loosely coupled entities ... They are not always use in concert, so it also make sense to keep them separated (eg. |
|
Would it be then ok to directly move the header to ROOT/cfortran.h and ROOT/Hepevt.h? To avoid collision with cfortran.h installed by libcfitsio-dev, as a workaround while you decide if this feature may be deprecated or not? |
|
Probably also fixes #20700 if we fully deprecate it. |
remove this when moving from public to private interface after deprecation
|
Failures seem unrelated. |
I think this is a fair compromise. |
|
Failures seem unrelated. Can someone maybe restart Windows build? |
|
remaining Ubu failure is unrelated |
It's urgent to avoid a sure collision with Debian when doing make install
libcfitsio-dev installs cfortran.h on the same destination as ROOT.
fyi @agheata