wiki:CMakeModularizationStatus

Version 18 (modified by Dave Abrahams, 11 years ago) ( diff )

--

CMake Modularization Status

All Boost libraries currently inhabit a single subversion repository. This page documents the status of the effort to modularize boost. Those working on the modularization are simultaneously porting the build/test system from Boost.Build to CMake.

Automated Tests

You can review the current status of modularization here.

Modularization

Each time there's a new commit to Boost's trunk, this script modularizes a Git repository mirroring Boost SVN and distributes the updated files into separate per-library git repositories. As you can see, the script is being kept up-to-date by Daniel Pfeifer.

The column labelled “Boost.Modularize” on the right side of the automated test page shows the modularization process itself. If that column is green, it tells you that every file is currently “accounted for” and has been assigned to a module. If there are files that don't have a modularized home, we get an error like this one. (in that run, it looks like someone just added the Boost.Heap library). When that happens, Daniel get an email and he fixes it.

Integration Testing

The other columns represent the results of Boost "integration tests" of the modularized state on several platforms. An integration test is essentially equivalent to Boost's official unmodularized tests: we run all of the libraries' tests together, with the latest state of each library. Each time there's a change in the modularized state, we kick off integration tests.

TODOs

Porting Test Jamfiles

The integration testing columns are currently not all green in part because several libraries have not had their test Jamfiles ported to CMake yet. These tickets document the libraries whose test Jamfiles have been ported, and these show the libraries whose Jamfiles still need to be ported. Most of these should be really straightforward to handle based on looking at Jamfiles and examples of commits that closed unit test tickets (follow the link in each ticket).

For a more complex example, see the CMake file for Boost.Python, graciously ported by Ravikiran Rajagopal. These are among the most complex because they have to invoke Python instead of just building and running C++ executables.

Porting Documentation Jamfiles

Libraries with generated documentation (e.g. via Quickbook, Docbook, or RestructuredText) need to have their Jamfiles ported as well. There's a list of tickets here.

Rewriting Boost History

Several methods have been discussed for preserving the history of Boost in the modularized git repositories; we still have to settle on and implement one approach. The easiest to implement, though not necessarily the most useful possible arrangement, would be to simply allow people to graft the Boost SVN history onto their modularized Git repository.

Further Testing

There are several levels at which we might want to confirm that the CMake build instructions are doing the same thing that the Boost.Build Jamfiles are.

How Can I Help?

Read the section on porting test Jamfiles and close a few of the open tickets. Most of these should be easy even if you don't know much about Boost.Build or CMake!

Note: See TracWiki for help on using the wiki.