Domanda

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

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top