-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
adding spdlog/1.7.0 + add header only component + fixing hooks #2174
Conversation
Some configurations of 'spdlog/1.4.2' failed in build 1 (
|
An unexpected error happened and has been reported. Help is on its way! 🏇 |
Ooc: what is the reason for having a header-only component and how it can be used? |
It's a design choice of the maintainer, it shows there are two different and distinct modes of working with a library
💯 That's what we are trying to recreate, so whether you use Conan or not it should be a seamless integration |
I see 👍. Can't tell now but have strange feeling about having deferent components (doing almost the same) depending on option. |
Some configurations of 'spdlog/1.4.2' failed in build 3 (
|
Personally I agree, however that it was what the project maintainer has decide to do. It's our responsibility its seamless offer via conan. there are other conan generators to simplify your work flow at the cost of being conan specific. |
Some configurations of 'spdlog/1.4.2' failed in build 4 (
|
Some configurations of 'spdlog/1.7.0' failed in build 5 (
|
An unexpected error happened and has been reported. Help is on its way! 🏇 |
only use one cpp_info global versus components refactor package_info missed a cpp_info global adding component requirements
…pilation when header_only=True
bd14116
to
793cc48
Compare
An unexpected error happened and has been reported. Help is on its way! 🏇 |
All green in build 8 (
|
Co-authored-by: Uilian Ries <[email protected]>
Should we add the fix for #2228 from 2233 ? |
Co-authored-by: Uilian Ries <[email protected]>
config.yml syntax error in build 10:
|
the Bot is having problems with this PR 🤕 |
All green in build 11 (
|
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
self.cpp_info.components["libspdlog"].defines.append("SPDLOG_COMPILED_LIB") | ||
|
||
self.cpp_info.components[component_name].defines.append("SPDLOG_FMT_EXTERNAL") | ||
if self.options["fmt"].header_only: |
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.
Shouldn't this be other way around? I get
Component 'fmt::fmt-header-only' not found in 'fmt' package requirement
ERROR: Component 'fmt::fmt-header-only' not found in 'fmt' package requirement
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.
Your fmt package should be outdated. You can run conan install -U , or remove remove from cache and install again.
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.
This didn't go away even after bumping fmt from 6.2.1 to the latest (7.somthing, this triggered pulling a new recipe).
I think it's being addressed in #2243
Specify library name and version: spdlog/1.7.0
fixes #2228
conan-center hook activated.