Skip to content
Stefano Zaghi edited this page Feb 9, 2015 · 1 revision

Build large projects: maximize building speedup on parallel architectures

This is not the case, but building a huge project can be time consuming. Often, a source depends on many others that can be compiled concurrently. On parallel architectures FoBiS.py can build such a dependencies concurrently with a strong speedup on the serial compilation of each dependency. The concurrency compilation of independent sources is automatically handled by FoBiS.py you must only specify that you want take advantage of such a feature by the specification of the number of cpus must be used

FoBiS.py build -j #cpus

Using the switch -j enables a pool of concurrent jobs (the number of which should be equal to the number of physical cpus or cores available) for compiling targets dependencies. Presently, the pool is not optimized and balanced accordingly to the number of files that must be (re-)compiled.

Clone this wiki locally