boostorg / bcp

Boost.org bcp module
http://boost.org/libs/bcp
Other
14 stars 34 forks source link

bcp in 1.81.0 no longer seems to copy boostrap.sh, etc. #16

Closed brucestephens closed 1 year ago

brucestephens commented 1 year ago

In previous releases (specifically 1.79.0 and before) I could do:

bcp build core system stacktrace /tmp/test 

and /tmp/test includes bootstrap.sh, boost-build.jam, and so on. All the infrastructure needed so I can just run bootstrap.sh and then b2 to build the necessary libraries. But in 1.81.0 it does not. (I've no idea why: it looks like bcp itself is identical in the two versions.)

Arne-W commented 1 year ago

For me its the same. It also does not copy the Jamroot file which makes it impossible to build in a custom namespace.

ErofeevK commented 1 year ago

Indeed, there is no difference in the BCP source code between the two versions. However, the build module has undergone a change. BCP uses the file tools/build/boost-build.jam to trigger special (undiscoverable) dependencies. This file is no longer present in the Boost build module. A commit (9388ae1e9524d3d4ed07a) in the develop branch of BCP fixes this issue by using a different file from the build module also it adds special dependencies for Boost.Graph. I have extracted the necessary changes for our CI build as a patch file. Here it is. BCP_special_deps_9388ae1e9524d3d4ed07a.patch

jzmaddock commented 1 year ago

Apologies for dropping the ball on this one, I'll merge to master once CI has cycled.

jzmaddock commented 1 year ago

Merged. Should be fixed in master too now.