Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 307921

Summary: Separate headers-only boost libraries from dev-libs/boost
Product: Gentoo Linux Reporter: Constantin Baranov <const>
Component: [OLD] DevelopmentAssignee: C++ Team [disbanded] <cpp+disabled>
Status: RESOLVED WONTFIX    
Severity: enhancement CC: dev-zero, djc, h.mth, SebastianLuther
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Constantin Baranov 2010-03-05 18:44:49 UTC
This bug is related to bug #293036 and its friends.
Most boost libraries are headers-only, and those they require no
compilation when get installed and a binary, which is built
against these libraries, doesn't require the boost installed
at run time.
I suppose dev-libs/boost could be split up into
dev-libs/boost-headers and dev-libs/boost. The former will
_fast_ install headers without any compilation, while the last
will DEPEND and RDEPEND on boost-headers and will install all
precompiled libraries (it will also inherit most USE flags
of today's dev-libs/boost).
Then a package may DEPEND on dev-libs/boost-headers _only_,
or DEPEND and RDEPEND on dev-libs/boost. (Of course, some
exotic package may RDEPEND on dev-libs/boost-headers only,
as an exception.)

Reproducible: Always

Steps to Reproduce:
Comment 1 Sebastian Luther (few) 2010-03-06 12:48:48 UTC
Sorry, this is not going to happen. 1.42 has a static-libs use flag that lowers
compile time considerably. Splitting is too much of a maintenance burden for
the additional compile time decrease one gains (in case one needs the
headers only). If you need both, you end up with a increase in compile time.
Comment 2 Hanno Zysik (geki) 2010-03-14 08:23:49 UTC
anyone interested in split build of boost may check:
https://forums.gentoo.org/viewtopic-t-819332.html