-
Notifications
You must be signed in to change notification settings - Fork 145
Open
Description
Greetings!
This bug was originally reported by @stevenwdv on the issue conan-io/conan-center-index#28801.
When building Boost 1.89.0 from source, Boost Serialization is always built, even when configured not to be built. The same is not true for Boost 1.88.0, it works as expected: It does not generate boost_serialization when disabled;
BTW, I see no changes from 1.88.0 to 1.89.0: boost-1.88.0...boost-1.89.0 So it seems related to a transitive module.
Environment
OS: Linux (Ubuntu 22.04)
Compiler: GCC 11
Arch: AMD64
Build Type: Release
B2 Options: --without-serialization --without-graph --without-wave link=static
Steps to Reproduce
wget https://archives.boost.io/release/1.89.0/source/boost_1_89_0.tar.bz2
tar jxf boost_1_89_0.tar.bz2
cd boost_1_89_0/
./bootstrap.sh
./b2 --without-serialization --without-graph --without-wave link=static install --prefix=/tmp/install-boost
find /tmp/install-boost/lib -type f -name "*serialization*"
/tmp/install-boost/lib/libboost_serialization.a
Build Log
Full build log shows disabled serialization, but installs libboost_serialization.a.
boost-1.89.0-no-serialization.log
Regards.
stevenwdv
Metadata
Metadata
Assignees
Labels
No labels