-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace genreflex in favor of rootcling #379
base: master
Are you sure you want to change the base?
Conversation
According to https://github.com/root-project/root/blob/fb17cef3cb381772f7d930c213801b82b65fef52/core/dictgen/src/rootcling_impl.cxx#L5572 and genreflex -debug, the -f is needed
here we'd probably need you to check if this is all fine @vgvassilev . Thanks @imorlxs 🚀 |
This looks reasonable to me. Maybe we should remove the whitespace changes and configure the editor to not do them automatically. That change is a small but important step towards getting C++ modules support for BioDynaMo. |
I just fixed the whitespace changes. Is this PR ready to merge? |
Looks good to me! |
@imorlxs @vgvassilev can you comment if and how that affects the codebase or it's compilation? Does it compile identically, e.g., is genreflex a deprecated command that we now replace with cling or what's the difference now? Would be great if you could elaborate on that such that we can understand that contribution better and have it documented here. Also @imorlxs, the call to cling is once
and once
I noticed that the |
genreflex is a hard link to rootcling but with less capabilities. That is, genreflex is a driver for rootcling but does not support all flags that we need to enable C++ modules for BDM. That's the motivation to move, moreover, genreflex is in practice deprecated :) |
As @vgvassilev said, since ROOTv6. genreflex is nothing but a wrapper around rootcling 1. Genreflex internally uses rootcling, and the rootcling call can be showed with The flags can be in any position because the way the ROOT parser works, and can also be with one minus or two. I made a commit fixing it and putting the two call the same way. Thank you for the feedback! |
Quality Gate passedIssues Measures |
@vgvassilev