Skip to content
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

Allowing not to build param: this will clean up any logger of any lib… #30

Merged
merged 9 commits into from
Jun 21, 2018

Conversation

guiguem
Copy link
Member

@guiguem guiguem commented Jun 20, 2018

…rary built using scarab (if desired).
Other libraries generally don't use the factories, but codec factories get registered anyway, leading to an useless verbosity.
Adding an option not to build param (which is responsible for this registration) has been added.

Basically, this makes Cicada loading less verbose: from

        _                __
  _____(_)________ _____/ /___ _
 / ___/ / ___/ __ `/ __  / __ `/
/ /__/ / /__/ /_/ / /_/ / /_/ /
\___/_/\___/\__,_/\__,_/\__,_/


RooFit v3.60 -- Developed by Wouter Verkerke and David Kirkby
                Copyright (C) 2000-2013 NIKHEF, University of California & Stanford University
                All rights reserved, please read http://roofit.sourceforge.net/license.txt

2018-06-19 18:21:53 [DEBUG] (tid 0x7fff89c61380) ility/factory.hh(210): Registered a factory for class json at 0x1163c9f00, factory #0 for 0x7fc5fd331fc0
2018-06-19 18:21:53 [DEBUG] (tid 0x7fff89c61380) ility/factory.hh(210): Registered a factory for class json at 0x1163c9f28, factory #0 for 0x7fc5fbf5ceb0
2018-06-19 18:21:53 [DEBUG] (tid 0x7fff89c61380) ility/factory.hh(210): Registered a factory for class yaml at 0x1163c9f70, factory #1 for 0x7fc5fd331fc0
2018-06-19 18:21:53 [DEBUG] (tid 0x7fff89c61380) ility/factory.hh(210): Registered a factory for class yaml at 0x1163c9fa0, factory #1 for 0x7fc5fbf5ceb0

to

        _                __
  _____(_)________ _____/ /___ _
 / ___/ / ___/ __ `/ __  / __ `/
/ /__/ / /__/ /_/ / /_/ / /_/ /
\___/_/\___/\__,_/\__,_/\__,_/


RooFit v3.60 -- Developed by Wouter Verkerke and David Kirkby
                Copyright (C) 2000-2013 NIKHEF, University of California & Stanford University
                All rights reserved, please read http://roofit.sourceforge.net/license.txt

@guiguem guiguem requested a review from nsoblath June 20, 2018 01:25
@laroque laroque mentioned this pull request Jun 20, 2018
Copy link
Member

@nsoblath nsoblath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes do not properly account for the dependencies between the different optionally-built parts of scarab. If we're going to make param optional, we really should have a block of the CMakeLists.txt file that handles the logic of the dependencies. The dependencies are that each of the codecs requires param, and authentication requires the JSON codec.

@guiguem
Copy link
Member Author

guiguem commented Jun 20, 2018

Adding extra logic to handle the dependencies: authentication depends on codec_json which depends on param

Mathieu Guigue and others added 6 commits June 20, 2018 14:29
…urns on and off the option to use command-line JSON in configurator.
… into feature/no_param_builder

# Conflicts:
#	library/CMakeLists.txt
…ld options and build option dependencies. CMakeLists.txt updated to require that dependent options be set correctly.
Copy link
Member

@nsoblath nsoblath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good now

@nsoblath nsoblath merged commit babd153 into develop Jun 21, 2018
@nsoblath nsoblath deleted the feature/no_param_builder branch June 21, 2018 00:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants