-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Add recipe for CERN ROOT data analysis framework. #3732
Conversation
This comment has been minimized.
This comment has been minimized.
@prince-chrismc thank you for your helpful comments. I have responded in line above and will work on addressing them. |
Fixes two classes of CI failure: (1) ROOT6 requires C++ standard >= 11. This is now checked with tools.check_min_cppstd. (2) Seg fault when building with clang dues LLVM library loading issues. See: https://root-forum.cern.ch/t/root-with-geant4-llvm-problems/21960
This comment has been minimized.
This comment has been minimized.
Implement improvements suggested by @prince-chrismc including: (1) Remove default options for dependent packages. (2) Remove all f-strings for python 2 compatibility. (3) Cache CMake object. (4) Use dependencies from CCI where available. (5) Reduce size of test_package. (6) Apply version check boiler plate from conan-io/conan#8002.
This comment has been minimized.
This comment has been minimized.
(1) Remove unused variable. (2) Prefer class variables over instance variables. (3) Move source patching from source method to build method. (4) String formatting style changes. (5) Use tools to remove files over in-recipe implementation.
This comment has been minimized.
This comment has been minimized.
This should fix the failing CI clang-5 build.
This comment has been minimized.
This comment has been minimized.
Co-authored-by: Chris Mc <[email protected]>
This comment has been minimized.
This comment has been minimized.
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.
I think this is enough for a first pass.
Recipes do not need to be perfect and we can comeback to fix/add things as needed
One small editorial
Co-authored-by: Chris Mc <[email protected]>
This comment has been minimized.
This comment has been minimized.
This should solve build issues on gcc and clang when libcxx != libstdc++11. See: <#3732 (comment)>
This comment has been minimized.
This comment has been minimized.
I think the latest error is due to a missing include of |
Yes. This seems to be a portability problem in ROOT. For the record the compiler error is There is a stack overflow post that gives a good explanation of this: https://stackoverflow.com/questions/29551755/why-getenv-can-get-name-resolved-without-a-std. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
All green in build 26 (
|
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.
LGTM 🚀
Specify library name and version: root/v6-22-02
conan-center hook activated.
This pull request adds a recipe for the ROOT data analysis framework (https://root.cern/).
ROOT can only be built in shared mode at present. This violates #KB-H050: "DEFAULT SHARED OPTION VALUE" and is being discussed in conan-io/hooks#252. For now I have removed the shared default to allow this hook check to pass. However, depending on the outcome of the referenced issue, this option may need to be added back in.