Apple-Boost-BuildScript icon indicating copy to clipboard operation
Apple-Boost-BuildScript copied to clipboard

Building boost 1.80.0 with BCP (thinning)

Open guillaumealgis opened this issue 2 years ago • 0 comments

Currently the build is broken for the latest 1.80.0 version of Boost when thinning is enabled (the default).

Example of build output :

[errno 2] boostcpp.jam (No such file or directory)
Jamroot:153: in modules.load
ERROR: rule "boostcpp.set-version" unknown in module "Jamfile</Users/guillaume/Projects/Ipso/Apple-Boost-BuildScript/src/boost_1_80_0_thinned>".
/Users/guillaume/Projects/Ipso/Apple-Boost-BuildScript/src/boost_1_80_0/tools/build/src/build/project.jam:372: in load-jamfile
/Users/guillaume/Projects/Ipso/Apple-Boost-BuildScript/src/boost_1_80_0/tools/build/src/build/project.jam:64: in load
/Users/guillaume/Projects/Ipso/Apple-Boost-BuildScript/src/boost_1_80_0/tools/build/src/build/project.jam:142: in project.find
/Users/guillaume/Projects/Ipso/Apple-Boost-BuildScript/src/boost_1_80_0/tools/build/src/build-system.jam:618: in load
/Users/guillaume/Projects/Ipso/Apple-Boost-BuildScript/src/boost_1_80_0/tools/build/src/kernel/modules.jam:294: in import
/Users/guillaume/Projects/Ipso/Apple-Boost-BuildScript/src/boost_1_80_0/tools/build/src/kernel/bootstrap.jam:135: in module scope

I'm not quite sure what is happening, it seems B2 / BCP changed something in this release of boost, the content of the src/boost_1_80_0_thinned has changed from the previous versions.

Help welcome.

In the meantime, if you need to build Boost 1.80.0 you can pass the --no-thinning parameter to the script.

guillaumealgis avatar Sep 03 '22 17:09 guillaumealgis