Subject: [Boost-bugs] [Boost C++ Libraries] #2670: NetBSD pkgsrc support -- allow exclusion of all libraries from build process
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-01-22 04:30:31
#2670: NetBSD pkgsrc support -- allow exclusion of all libraries from build
process
--------------------------------+-------------------------------------------
Reporter: brook | Owner: grafik
Type: Bugs | Status: new
Milestone: Boost 1.38.0 | Component: bjam
Version: Boost 1.37.0 | Severity: Problem
Keywords: bjam NetBSD pkgsrc |
--------------------------------+-------------------------------------------
This is a followup to a part of ticket #2540 (patch-ap) as requested.
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.
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.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/2670> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:59 UTC