-
Notifications
You must be signed in to change notification settings - Fork 1.4k
[CMake] Add dataframe option #3957
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
Conversation
|
Starting build on |
|
It may be a good idea to make dataframe optional and disable (or require it to be off) on 32bits machines. The proliferation of these things not availble on 32bits will only get more and more complicated. We already have a few other places where this needs to be checked. It's better to have a |
|
@Axel-Naumann correct me if I'm wrong. We do not plan to make dataframe optional since we expect gcc/clang to figure out their discrepancies and resolve the 32bit issue for RDF? However, from the technical side, I agree with @amadio having a dataframe flag would make stuff much easier and for sure more consistent on the long run. |
|
@dpiparo I thought rdf was reenabled on 32 bits at some point, do I remember incorrectly? @amadio I don't have anything against a dataframe option that is usually on and is turned off on 32 bit machines. If I had time I'd check that we actually still need to disable rdf on 32 bits, but the failure was not easy to reproduce. |
|
Starting build on |
This comment has been minimized.
This comment has been minimized.
|
@amadio I put a commit on top with a dataframe option. Better like this? |
|
Oh, well, I forgot some places. |
|
Build failed on ROOT-performance-centos7-multicore/default. |
|
Starting build on |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
amadio
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please rebase and put all changes in a single commit, to avoid having broken commits in between. Thanks.
|
Starting build on |
1 similar comment
|
Starting build on |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Starting build on |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Starting build on |
|
@amadio @Axel-Naumann ok, that is getting out of hands 😅 we can have the very first commit to just fix the issue OR add the dataframe option to the build system, which is really a lot of changes. Is just fixing the 32bit issue it worth? |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
We should discuss that in person, given that this is easily possible :-) Can we do that on Monday? |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
As I mentioned on mattermost, the proliferation of bug prone if conditions is also getting out of hand and will be a nightmare to maintain. I think that we should reconsider this way of disabling RDataFrame and just re-enable it (and other deps) everywhere. |
This comment has been minimized.
This comment has been minimized.
|
Starting build on |
|
Starting build on |
|
This is connected to the roottest PR here. |
|
But hey, it works now :) |
|
Much nicer! I think with a couple of tweaks this will be ready to merge. |
|
Build failed on ROOT-performance-centos7-multicore/default. Warnings:
Failing tests: |
The new cmake option `dataframe` enables building the ROOTDataFrame library and takes care of implication on the build system. The option is enabled by default unless a 32bit system is detected.
|
Starting build on |
|
@phsft-bot build |
|
Starting build on |
amadio
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We might need "@dataframe@" == 1 in root-config, but otherwise, good to go, it seems.
| -lMultiProc" | ||
|
|
||
| if [ "@UNIX@" != "1" ] || [ "@CMAKE_SIZEOF_VOID_P@" != "4" ]; then | ||
| if [ "@dataframe@" == "ON" ]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can use the suggestion below for now, but we should have a generic solution if more things are allowed to be OFF in the future:
| if [ "@dataframe@" == "ON" ]; then | |
| if echo "${features}" | grep -q "dataframe"; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Meh, Stefan didn't enable pushing by repo owners. I'll merge (after amending) by hand.
Because RDataFrame is not available on 32bit, we have to disable the
experimental parts of TMVA which are dependent on it as well.