Fix FORM's RNTuple backend build against ROOT 6.40 - #749
Conversation
ROOT 6.40 moved RRawPtrWriteEntry from ROOT::Experimental::Detail to ROOT::Detail. Select the namespace with a ROOT version check so the RNTuple storage backend (FORM_USE_RNTUPLE_STORAGE=ON) compiles against both ROOT 6.38 and 6.40. Fixes Framework-R-D#712.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📜 Recent review details⏰ Context from checks skipped due to timeout. (4)
🧰 Additional context used📓 Path-based instructions (3)**/*.{cpp,cc,cxx,h,hpp}📄 CodeRabbit inference engine (.github/copilot-instructions.md)
Files:
**/*.{hpp,cpp}📄 CodeRabbit inference engine (AGENTS.md)
Files:
**/*.hpp📄 CodeRabbit inference engine (AGENTS.md)
Files:
🔇 Additional comments (2)
📝 WalkthroughWalkthroughThe RNTuple write container now supports ROOT versions before and from 6.40 by conditionally selecting the namespace of ChangesROOT RNTuple compatibility
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## main #749 +/- ##
==========================================
- Coverage 83.85% 83.84% -0.02%
==========================================
Files 172 172
Lines 7198 7198
Branches 845 845
==========================================
- Hits 6036 6035 -1
- Misses 882 883 +1
Partials 280 280
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
gemmeren
left a comment
There was a problem hiding this comment.
Thanks Oliver, LGTM, but @aolivier23 should have a look.
|
Thanks for the reviews and for accepting the fix! |
ROOT 6.40 moved RRawPtrWriteEntry from ROOT::Experimental::Detail to ROOT::Detail. Select the namespace with a ROOT version check so the RNTuple storage backend (FORM_USE_RNTUPLE_STORAGE=ON) compiles against both ROOT 6.38 and 6.40.
Fixes #712.
RRawPtrWriteEntry.ROOT::Detailwith ROOT 6.40+ andROOT::Experimental::Detailfor ROOT 6.38.m_entrymember to use the compatibility alias.