Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmake: update minimum boost version to 1.66 #19808

Merged
merged 4 commits into from Jan 6, 2018

Conversation

cbodley
Copy link
Contributor

@cbodley cbodley commented Jan 5, 2018

fixes compilation failures in radosgw with boost 1.66, and pins that as the required version so we don't have to continue supporting beast as a submodule

Fixes: http://tracker.ceph.com/issues/22600

Signed-off-by: Casey Bodley <cbodley@redhat.com>
Fixes: http://tracker.ceph.com/issues/22600

Signed-off-by: Casey Bodley <cbodley@redhat.com>
the beast library is included in boost 1.66

Signed-off-by: Casey Bodley <cbodley@redhat.com>
adds a more specific option for this boost::context dependency, which was
previously only used by the radosgw beast frontend. see
http://tracker.ceph.com/issues/20048 for more background

Signed-off-by: Casey Bodley <cbodley@redhat.com>
@cbodley
Copy link
Contributor Author

cbodley commented Jan 5, 2018

this contains the cmake changes for boost 1.66 from #19054, which were reviewed and tested there

@@ -330,4 +330,7 @@
/* Defined if getentropy() is available */
#cmakedefine HAVE_GETENTROPY

/* Defined if boost::context is available */
#cmakedefine HAVE_BOOST_CONTEXT
Copy link
Contributor

@tchaikov tchaikov Jan 6, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this macro used anywhere? or i am just missing something.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tchaikov tchaikov merged commit 077351f into ceph:master Jan 6, 2018
@wjwithagen
Copy link
Contributor

@cbodley
Got this working under FreeBSD...
To replicate this is a bit harder

Mainly due to the fact that Boost 1.66 has not made it in the current set of packages. So I've build my own packages for Boost and matching Cmake. But it doable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants