Re: new boost

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 29 Aug 2016, Ken Dreyer wrote:
> On Fri, Aug 26, 2016 at 12:42 PM, Sage Weil <sweil@xxxxxxxxxx> wrote:
> > Now that we've transitioned to cmake, I'd like to resurrect the discussion
> > about moving to a new version of boost.  I'm dying to use small_vector and
> > flat_map.
> >
> > IIRC, we have a few options:
> >
> > 1) boost as a submodule.  compile and link statically.
> >  - easy to maintain
> >  - no packaging impact
> >  - dev/build environment is not dependent on system install boost
> 
> The end-to-end build time is going to get even longer, and there is a
> maintenance cost when we stop paying that tech debt a little bit at a
> time when the distros release new boost packages. GitHub says Ceph's
> civetweb is "This branch is 26 commits ahead, 1551 commits behind
> civetweb:master". How do we keep that same thing from happening over
> the years with a bundled boost?

civetweb is a bit of a special case because (1) we have to fork because we 
have functionality that isn't necessarily suitable for upstream and (2) 
it's mean to be linked statically anyway.  But yes, it is a maintenance 
burden.

> Can we have a middle ground, where we use an up-to-date bundled
> version of boost on distros without the features you want, and then
> use the system boost if it's new enough (ie Fedora and presumably
> Xenial or Yakkety)?

I think this is #4:

> 4) #1, with cmake smarts to let you choose the submodule or installed 
> boost (and possibly autoselect system boost if it's new enough).

The goal should be to eventually drop the submodule as supported distros 
are brought up to date.  I suspect, though, that we'll find other shiny 
new features we'll want to start using so this may never happen...

sage

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux