Skip to content

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.

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(flatbuffers VERSION 1.12.0)
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.

@xDimon
Copy link
Member

xDimon commented Mar 17, 2025

Let's close it?

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.

5 participants