Overview | Releases | Download | Docs | Links | Help | RecentChanges

TomBarber

Thinking about ParallelBuildIdeas

I have put together a small test of the parallel build structure and it seems to be possible at least to have one makefile that includes makefile fragments from various sub-directories.

It also seems to be possible to only build fragments from a single subdirectory, using:

make moo_TARGETS

or a similar command. Not sure about being able to implementing a make -C moo style build command.

It also seems to build in parallel when typing:

make -j 2

will compile the two directories simulataneously before linking them into an executable.

I have added a copy of this test to the SctRodDaq CVS under the following directory:

/SCT/ParallelBuild_Test/README
Any comments on how it works and what to do next are welcome!