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
Conversation
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>
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 |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry, nvm. i found it at https://github.com/ceph/ceph/pull/19054/files#diff-b5fd6691c22ab2c09a283b8bdda0e9ecR22
@cbodley 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. |
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