-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
boost submodule #11265
boost submodule #11265
Conversation
@@ -6,7 +6,7 @@ if test -e build; then | |||
fi | |||
mkdir build | |||
cd build | |||
cmake $@ .. | |||
cmake BOOST_J=$(nproc) $@ .. |
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.
i think the BOOST_J=
should be -DBOOST_J=
2743b43
to
813e958
Compare
This implements option #4 for external boost, based on upstream discussion. In option #4: 1. boost is added as a submodule 2. builds default to using the attached boost module 3. building against a system-provided boost is supported, but must be configured explicitly Because all of the boost components are attached as nested submodules in the upstream boost repository, neither the nested submodules nor the root boost submodule have been cloned into modules in github.com/ceph (acked by Sage). Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Build Boost using the src/boost submodule, unless overridden by -DWITH_SYSTEM_BOOST. If -DBOOST_J=<n> is provided, builds Boost with <n> jobs. Boost builds in the configured Build directory. Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Pull-up Boost to the commit which merged the upstream fix for upstream Boost/iostreams bug #11860 (template arity warnings), per discussion in core. Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
This lets us build boost with all processors. Signed-off-by: Sage Weil <sage@redhat.com>
@liewegas I had problem running tests with this PR
And build failed http://gitbuilder.sepia.ceph.com/gitbuilder-ceph-rpm-centos7-amd64-basic/log.cgi?log=036984ad235166b1c46c1dc39e2650aba343090c |
Wrt the actual build failure, it looks as if this CMake (2.8.10) CHECK_INCLUDE_FILES_CXX is behaving differently; the proximate cause of failure is a failed check for boost/asio/coroutine.hpp, which does exist. Also we need to add python to the list of boost libs being bootstrapped. I'm inclined to just do that unconditionally. I'll check actual build with -DCEPH_MGR=ON. I think I'll need to create a branch with additional commits and mention it here. |
@mattbenjamin thanks, shall we remove |
No description provided.