All of lore.kernel.org
 help / color / mirror / Atom feed
* building boost statically
@ 2016-04-28 22:47 Sage Weil
  2016-04-28 22:56 ` Robin H. Johnson
                   ` (2 more replies)
  0 siblings, 3 replies; 21+ messages in thread
From: Sage Weil @ 2016-04-28 22:47 UTC (permalink / raw)
  To: ceph-devel; +Cc: kdreyer

Hi all,

We'd really like to use the latest boost, mainly so that we can use 
small_vector in a zillion places and avoid extra memory allocations.  The 
distros, as always, are behind.

The thoguht is to bring it in as yet another submodule, build it 
statically (it's pretty fast), and link statically.  There are a handful 
of places where the distro boost links dynamically.  For example, on 
xenial, it's

libboost-iostreams1.58.0
libboost-program-options1.58.0
libboost-random1.58.0
libboost-system1.58.0
libboost-thread1.58.0

I'm not sure how we should deal with that.  We could simply link it 
statically.  Alternatively, we could ship packages.. but if we do that we 
might as well just conditionally build against the new features and then 
build a full set of backported boost packages for the distros we care 
about.

I'm not sure how to best proceed.  But it would be really great to get 
access to new boost features like small_vector...

sage


^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2016-05-03 16:28 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-28 22:47 building boost statically Sage Weil
2016-04-28 22:56 ` Robin H. Johnson
2016-04-28 23:14   ` Sage Weil
2016-04-28 23:45     ` Matt Benjamin
2016-04-29  7:01     ` Piotr Dałek
2016-04-28 23:05 ` Yehuda Sadeh-Weinraub
2016-04-29  2:31 ` Haomai Wang
2016-04-29 22:55   ` Ken Dreyer
2016-04-30  1:43     ` Sage Weil
2016-04-30  3:24       ` Allen Samuels
2016-05-01 15:08         ` Jesse Williamson
2016-05-01 15:14           ` Sage Weil
2016-05-02  3:28             ` Adam C. Emerson
2016-05-02 16:09               ` Jesse Williamson
2016-05-02 16:14                 ` Adam C. Emerson
2016-05-02 16:18                   ` Jesse Williamson
2016-05-02 16:31                     ` Adam C. Emerson
2016-05-02 23:04                   ` Matt Benjamin
2016-05-03  1:01                     ` Jesse Williamson
2016-05-03  1:14                       ` Matt Benjamin
2016-05-03 16:28             ` Robert LeBlanc

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.