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

Merge with cpp-pm hunter #21

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open

Merge with cpp-pm hunter #21

wants to merge 11 commits into from

Conversation

Harrm
Copy link

@Harrm Harrm commented Jan 29, 2021

Mind that crc32c default version is lowered here, because the latest one intereferes with leveldb (will open an issue to the original hunter for that)

  • I've checked this Git style guide. Yes
  • I've checked this CMake style guide. Yes
  • My change will work with CMake 3.2 (minimum requirement for Hunter). Yes
  • I will try to keep this pull request as small as possible and will try not to mix unrelated features. No

@Harrm Harrm self-assigned this Jan 29, 2021
@Harrm Harrm requested review from igor-egorov and xDimon January 29, 2021 13:52
@igor-egorov
Copy link

Well.. How this could be tested? Could you please open a pull request to a libp2p to test if that hunter version does not break libp2p builds?

@Harrm
Copy link
Author

Harrm commented Feb 1, 2021

Well.. How this could be tested? Could you please open a pull request to a libp2p to test if that hunter version does not break libp2p builds?

Yes, currently working on it. There are linkage problems with spdlog.

@@ -139,7 +139,7 @@ hunter_cmake_args(
SPDLOG_BUILD_TESTING=OFF
SPDLOG_BUILD_TESTS=OFF
SPDLOG_BUILD_BENCH=OFF
SPDLOG_FMT_EXTERNAL=NO

Choose a reason for hiding this comment

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

Please note that the initial value "NO" is also legal and was an equivalent for "OFF". docs ref

hunter_default_version(flex VERSION 2.6.4)
hunter_default_version(fmt VERSION 6.1.2)
hunter_default_version(fmt VERSION 7.1.2)

Choose a reason for hiding this comment

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

FYI, this will break soralog with following error:

/build/source/src/impl/sink_to_console.cpp: In function 'void soralog::{anonymous}::put_reset_style(char*&)':
/build/source/src/impl/sink_to_console.cpp:57:32: error: 'fmt::internal' has not been declared
   57 |       const auto &style = fmt::internal::data::reset_color;

Copy link
Member

Choose a reason for hiding this comment

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

Branch master contains commits with fixed soralog.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants