[Boost.Build] Multi-Threaded Build to Leverage Multiple Cores

Hi Everyone, Is there already an option for bjam to leverage multi-core systems? I noticed that it only uses one processor in a sequential fashion. In make, there's a '-j' option to define the number of jobs to be spawned. Insights would be most appreciated. Have a great day! -- Dean Michael C. Berris C++ Software Architect Orange and Bronze Software Labs, Ltd. Co. web: http://software.orangeandbronze.com/ email: dean@orangeandbronze.com mobile: +63 928 7291459 phone: +63 2 8943415 other: +1 408 4049532 blogs: http://mikhailberis.blogspot.com http://3w-agility.blogspot.com http://cplusplus-soup.blogspot.com

Dean Michael Berris skrev:
Hi Everyone,
Is there already an option for bjam to leverage multi-core systems? I noticed that it only uses one processor in a sequential fashion. In make, there's a '-j' option to define the number of jobs to be spawned.
-jx Run up to x shell commands concurrently. is supported in bjam. Bjørn

On 11/20/06, Bjørn Roald <bjorn@4roald.org> wrote:
Dean Michael Berris skrev:
In make, there's a '-j' option to define the number of jobs to be spawned.
-jx Run up to x shell commands concurrently.
Okay, this is my bad... I didn't find this information in the docs though, but I may be looking at the wrong docs. I tried this, and it seems that (on Windows) it doesn't make too much difference on a dual core system. It might be a hardware spec problem but I will investigate further. Thanks for the heads up! -- Dean Michael C. Berris C++ Software Architect Orange and Bronze Software Labs, Ltd. Co. web: http://software.orangeandbronze.com/ email: dean@orangeandbronze.com mobile: +63 928 7291459 phone: +63 2 8943415 other: +1 408 4049532 blogs: http://mikhailberis.blogspot.com http://3w-agility.blogspot.com http://cplusplus-soup.blogspot.com
participants (2)
-
Bjørn Roald
-
Dean Michael Berris