Repository navigation
fix: bump minimum Boost to 1.78 to fix boost::filesystem link errors - #9042
Conversation
…9039) BOOST_PROCESS_USE_STD_FS was defined unconditionally but only exists since Boost 1.78. On older versions (e.g. 1.74), boost::process still uses boost::filesystem internally, causing undefined reference errors because Boost::filesystem was never linked. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe pull request updates Boost version requirements for OpenMS from 1.74.0 to 1.78.0 and removes outdated version hints from the CMake configuration. A compile definition is added to configure Boost.Process to use standard C++ filesystem instead of boost::filesystem library, addressing linker errors related to undefined Boost filesystem symbols. Changes
Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Add missing Build System entry for minimum Boost version bump to 1.78 (#9042) to fix boost::filesystem link errors. Co-authored-by: Copilot <[email protected]>
|
installation instructions, particularly Linux and MacOS should be augmented to install Boost::filesystem |
|
I think it is not needed anymore |
Add missing Build System entry for minimum Boost version bump to 1.78 (#9042) to fix boost::filesystem link errors. Co-authored-by: GitHub Copilot <[email protected]> Co-authored-by: Copilot <[email protected]>
Summary
BOOST_PROCESS_USE_STD_FS(defined atsrc/openms/CMakeLists.txt:166) was introduced in Boost 1.78. On older versions,boost::processstill usesboost::filesysteminternally, butBoost::filesystemis not linked — causing undefined reference errors at link time.Test plan
🤖 Generated with Claude Code
Summary by CodeRabbit