Repository navigation
[API,BUILD] Remove Boost from installed public headers - #10212
timosachsenberg wants to merge 2 commits into
Conversation
Constrain IDDataContainer equality to equality-comparable records so MSVC can instantiate containers whose records have no operator==. Cover both unsupported equality and supported value comparison in the class test. Include <exception> directly in PeakPickerIM and remove ProSE's unnecessary Arrow header include; its OpenMS helpers accept opaque shared pointers. Rebuilt the core and CLI libraries, affected tools and regression tests on Linux. All 20 selected class and TOPP checks passed, including QPX export.
|
Superseded by #10223 and closing — no work is lost. #10223 contains both commits from this branch ( #10223 is green on Linux g++/clang++, Linux arm and macOS (3002/3002 tests, including Generated by Claude Code |
Installed OpenMS headers expose Boost types and currently make downstream shared-library builds locate Boost. This change removes that requirement.
This is a C++ API/ABI change: downstream C++ code and extensions must be rebuilt. Identification collections expose the supported IDDataContainer API and value-returned ordered views; iterators carry owner and value pointers without per-iterator allocation. Regex arguments use OpenMS::RegularExpression, MetaInfo::MapType uses sorted vector storage, and RandomShuffler exposes seed() instead of its Boost engine.
Validated locally on Linux with GCC 13.3, C++23, a Debug build (-O0 -g1), Boost 1.83 and GUI disabled:
Windows, macOS, GUI builds and the complete pyOpenMS test suite were not run locally.