Skip to content

Simplify Boost libs integration#5037

Merged
pwojcikdev merged 2 commits intonanocurrency:developfrom
RickiNano:BoostRoot
Feb 27, 2026
Merged

Simplify Boost libs integration#5037
pwojcikdev merged 2 commits intonanocurrency:developfrom
RickiNano:BoostRoot

Conversation

@RickiNano
Copy link
Copy Markdown
Contributor

Use BOOST_INCLUDE_LIBRARIES with only direct dependencies instead of manually listing 70+ transitive Boost sub-libraries.
Also removes boost_property_tree link workaround (now handled automatically)

@gr0vity-dev-bot
Copy link
Copy Markdown

gr0vity-dev-bot commented Feb 26, 2026

Test Results for Commit 79d9394

Pull Request 5037: Results
Overall Status:

Test Case Results

  • 5n4pr_conf_10k_bintree: PASS (Duration: 113s)
  • 5n4pr_conf_10k_change: PASS (Duration: 205s)
  • 5n4pr_conf_change_dependant: PASS (Duration: 129s)
  • 5n4pr_conf_change_independant: PASS (Duration: 136s)
  • 5n4pr_conf_send_dependant: PASS (Duration: 142s)
  • 5n4pr_conf_send_independant: PASS (Duration: 140s)
  • 5n4pr_rocks_10k_bintree: PASS (Duration: 127s)
  • 5n4pr_rocks_10k_change: FAIL (Duration: 289s)
  • Log

Last updated: 2026-02-27 19:05:48 UTC

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the project’s CMake-based Boost integration to rely on Boost’s top-level CMake (submodules/boost) and BOOST_INCLUDE_LIBRARIES for selecting only the Boost libraries directly used by nano-node, letting Boost handle transitive dependencies automatically.

Changes:

  • Replaces manual add_subdirectory(submodules/boost/libs/<lib>) enumeration with BOOST_INCLUDE_LIBRARIES + a single add_subdirectory(submodules/boost ...).
  • Removes the boost_property_tree interface link “workaround” that manually injected missing dependencies.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

CMakeLists.txt Outdated
Comment on lines +410 to +411
# Then set up boost modules Only list libraries directly used by nano-node;
# BoostRoot resolves transitive dependencies automatically.
Copy link

Copilot AI Feb 27, 2026

Choose a reason for hiding this comment

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

The Boost setup comment reads as two sentences run together ("modules Only list..."). Please split into separate sentences/lines (and add missing punctuation) to keep the CMakeLists comment readable and unambiguous.

Suggested change
# Then set up boost modules Only list libraries directly used by nano-node;
# BoostRoot resolves transitive dependencies automatically.
# Then set up Boost modules.
# Only list libraries directly used by nano-node; BoostRoot resolves transitive dependencies automatically.

Copilot uses AI. Check for mistakes.
@pwojcikdev pwojcikdev merged commit 54a8196 into nanocurrency:develop Feb 27, 2026
28 checks passed
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