
On 24 Apr 2025 19:05, Mason Loyet via Boost wrote:
Hi,
I am attempting to use BCP to put boost into a different namespace as below:
mkdir myboost_1_88_0 curl -L https://archives.boost.io/release/1.88.0/source/boost_1_88_0.tar.bz2 | tar -xvjf - cd boost_1_88_0 && ./bootstrap.sh && ./b2 tools/bcp && ./dist/bin/bcp --namespace=myboost . ../myboost_1_88_0 cd ../myboost_1_88_0 ./b2
This results in:
… error: Unable to find file or target named error: '/boost/align//boost_align' error: referred to from project at error: '/home/mloyet/external/boost-test/myboost_1_88_0/libs/atomic/build'
The snippet appears to work for 1.84.0. Has something changed? Am I invoking BCP incorrectly?
I think, this may be because Boost.Align hasn't merged the support for modular b2 that is gradually being implemented in Boost libraries. Also, I'm not sure if bcp itself supports modular b2. Specifically, I don't see where it copies the <library>/build.jam files.