Boost C++ Libraries: Ticket #2670: NetBSD pkgsrc support -- allow exclusion of all libraries from build process https://svn.boost.org/trac10/ticket/2670 <p> This is a followup to a part of ticket <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2540" title="#2540: Patches: patches for improved NetBSD/pkgsrc support (closed: fixed)">#2540</a> (patch-ap) as requested. </p> <p> The purpose of this patch is to make it easy to not build any libraries during a bjam run. This is required in order to support the pkgsrc packaging system. That system has divided Boost into a series of different packages, each corresponding to different components, e.g., headers, libraries other than python, python libraries, etc. Several of these packages run bjam in the course of building themselves. By default, bjam builds everything. In the case of some of these (e.g., libs with/without python) there already exist bjam arguments to control the process appropriately. However, if just the headers and no libraries are desired, there is no easy way to exclude all libraries from the build. The only apparent mechanism is to explicitly exclude each library individually, a process that is tedious and error prone given the changing library content. The attached patch provides a way (i.e., via the bjam argument --without-*) to exclude all libraries. The header only pkgsrc package (boost-headers) uses this to accomplish its task without needing to know an explicit list of libraries to exclude. </p> <p> There should be no impact of this on any current use of the --without-XXX bjam argument, because the use of '*' is not currently supported. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2670 Trac 1.4.3 brook Thu, 22 Jan 2009 04:31:06 GMT attachment set https://svn.boost.org/trac10/ticket/2670 https://svn.boost.org/trac10/ticket/2670 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">patch-ap</span> </li> </ul> Ticket Steven Watanabe Sat, 24 Jan 2009 00:17:39 GMT <link>https://svn.boost.org/trac10/ticket/2670#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2670#comment:1</guid> <description> <p> There used to be a target called install-headers. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>brook</dc:creator> <pubDate>Thu, 12 Feb 2009 04:17:05 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/2670#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2670#comment:2</guid> <description> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/2670#comment:1" title="Comment 1">steven_watanabe</a>: </p> <blockquote class="citation"> <p> There used to be a target called install-headers. </p> </blockquote> <p> I just tried that as a top level argument to bjam for 1.38.0 and it apparently no longer exists. Perhaps that is what you meant by 'used to be', but I wasn't certain. </p> <p> What was the rationale for removing it? Can it be added back in? Is that a better approach than the patch I suggested? I think it is, as it is a positive statement (install this) not a negative one (install everything but this). </p> </description> <category>Ticket</category> </item> <item> <dc:creator>René Rivera</dc:creator> <pubDate>Sat, 14 Feb 2009 20:09:06 GMT</pubDate> <title>component, milestone changed; owner deleted https://svn.boost.org/trac10/ticket/2670#comment:3 https://svn.boost.org/trac10/ticket/2670#comment:3 <ul> <li><strong>owner</strong> <span class="trac-author">René Rivera</span> removed </li> <li><strong>component</strong> <span class="trac-field-old">bjam</span> → <span class="trac-field-new">Building Boost</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">Boost 1.38.0</span> → <span class="trac-field-new">Boost 1.39.0</span> </li> </ul> Ticket Vladimir Prus Fri, 29 May 2009 09:00:50 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/2670#comment:4 https://svn.boost.org/trac10/ticket/2670#comment:4 <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">fixed</span> </li> </ul> <p> The target is now named install-proper-headers. I have verified that </p> <pre class="wiki"> bjam --prefix=/tmp/xxx install-proper-headers </pre><p> does try to install headers and does not build any libraries. I am gonna close this issue, please open if something does not work on your end. </p> Ticket