faithfracture / Apple-Boost-BuildScript

Script for building Boost for Apple platforms (iOS, iOS Simulator, tvOS, tvOS Simulator, OS X)
279 stars 111 forks source link

Building boost 1.80.0 with BCP (thinning) #80

Open guillaumealgis opened 2 years ago

guillaumealgis commented 2 years ago

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.