Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 307921 - Separate headers-only boost libraries from dev-libs/boost
Summary: Separate headers-only boost libraries from dev-libs/boost
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: C++ Team [disbanded]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-05 18:44 UTC by Constantin Baranov
Modified: 2010-03-14 08:23 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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