Question

I was wondering if it is possible to build (via blddemo) some of the directories (i.e. their trees) in parallel while others not.

I have a situation where some of the directories containing parts of the software have been adjusted to build in parallel (i.e. build -M x works great) while others not and thus I cannot do a global MP build.

Thanks, Pawel

Was it helpful?

Solution

Set the BUILD_MULTIPROCESSOR environment variable, then use the SYNCHRONIZE_BLOCK and SYNCHRONIZE_DRAIN macros in your SOURCES files to enforce your desired build ordering.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top