On 10/13/2013 04:08 PM, Beman Dawes wrote:
I'm trying to test the instructions at
https://svn.boost.org/trac/boost/wiki/TryModBoost
The first three steps work as expected:
git clone --recursive https://github.com/boostorg/boost.git modular-boost
cd modular-boost
.\bootstrap
but this step:
.\b2 headers
outputs "...found 1 target..." but doesn't create the expected "boost"
directory structure.
Are the instructions not correct?
They are correct if you add the changes in modular-build svn branch.
in svn
svn diff -r r85881:r85973 > ~/modular-build.patch
in git layout
patch -p0 -i ~/modular-build.patch
Hopefully modular-build branch will soon be committed to trunk and thus be part of the automated git conversion.
The remaining work holding this off is AFAIK related to installation of headers without first doing ".\b2 headers". So this is really not needed as instructions says to do "./b2 headers" explicitly, and subsequent install will work. The explicit call to the "headers" target will eventually become redundant, it is still needed in a few places.
Also there may be concern that lack of testing of r85973 which is fixing predef/test build in the modular layout may also hold back the merge.
Remaining issues need not hold off merging to trunk as I don't think they are not breaking anything in SVN. I do not expect problems in SVN layout, but I am not making that call. I think it is worth the risk of breakage in trunk as we can always pull it out if it gets bad. When trunk testing is OK we have a functioning baseline of Boost.Build for the modular layout. We can hunt down remaining issues with simply testing in the git clones from the conversion, possibly getting some testers running from the git side.