Boost C++ Libraries: Ticket #3388: Default to parallel build https://svn.boost.org/trac10/ticket/3388 <p> Apparently bjam supports parallel builds with -j 4 (for example). Could it default to parallel builds using the number of cores as guideline? </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3388 Trac 1.4.3 Steven Watanabe Wed, 02 Sep 2009 14:59:53 GMT component changed; owner set https://svn.boost.org/trac10/ticket/3388#comment:1 https://svn.boost.org/trac10/ticket/3388#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">René Rivera</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">bjam</span> </li> </ul> <p> I prefer the default of a non-parallel build. It is more obvious and is consistent with other build tools. </p> Ticket anonymous Wed, 02 Sep 2009 15:11:16 GMT <link>https://svn.boost.org/trac10/ticket/3388#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3388#comment:2</guid> <description> <p> Why is it more obvious? </p> <p> Unfortunately, yes, most other tools default to serial execution as well. :( </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Vladimir Prus</dc:creator> <pubDate>Tue, 10 Nov 2009 07:36:15 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/3388#comment:3 https://svn.boost.org/trac10/ticket/3388#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">wontfix</span> </li> </ul> <p> Given that it's already possible to set per-user default by putting </p> <pre class="wiki">option jobs : 4 ; </pre><p> in any config file, and given that making parallel build the default is controversial, I guess I'll close this issue. </p> Ticket Tino Mon, 11 Feb 2013 09:07:39 GMT <link>https://svn.boost.org/trac10/ticket/3388#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3388#comment:4</guid> <description> <p> Additionally, parallel builds can only be hardcoded to a specific number. AFAIK bjam can not use a make jobserver in the case that boost is only one part of the whole build process. </p> <p> I have a build system that builds several software packages for several architectures in one run. I can specify make -j&lt;number&gt; and the make jobserver will use the specified number of jobs. </p> <p> Except for Boost. I have to hardcode a fixed job number for the boost build (like bjam -j4), that leads to either unused CPU cores, or a lot of overhead, depending on the number of target architectures that are built and the number of CPU cores usable. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Vladimir Prus</dc:creator> <pubDate>Mon, 11 Feb 2013 09:27:01 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/3388#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3388#comment:5</guid> <description> <p> Tino, </p> <p> it's not clear to me what you propose? Making b2 interact with make processes running at part of your bigger build does not seem easy. </p> </description> <category>Ticket</category> </item> </channel> </rss>