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

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top