-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Support boost 1.69 #2804
Support boost 1.69 #2804
Conversation
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 our local FindBoost.cmake should be updated with latest: https://github.com/Kitware/CMake/blob/master/Modules/FindBoost.cmake
Jenkins Build SummaryBuilt from this commit Built at 20190130 - 16:33:38 Test Results
|
It isn't looking good on macOS:
I've got a comment in cpplang.slack.com #boost about this. Waiting for responses. |
Pushed a commit to update FindBoost.cmake to the latest, as suggested by @mellery451 |
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.
Despite the macOS failure for boost 1.69, this PR tests out fine with boost 1.68 and 1.67.
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.
👍 with boost 1.69.0 on Windows. I did see the following Cmake warning:
CMake Warning (dev) at C:\ripple\rippled\CMakeLists.txt:599 (find_package):
Policy CMP0074 is not set: find_package uses <PackageName>_ROOT variables.
Run "cmake --help-policy CMP0074" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
Line 599 in CMakeLists.txt find_package (OpenSSL ${_ssl_min_ver} REQUIRED)
Policy: https://cmake.org/cmake/help/git-stage/policy/CMP0074.html
@miguelportilla I would expect that warning for cmake 3.12.4 or greater, but I don't think it has anything to do with this PR. Maybe you recently upgraded your cmake version (or visual studio if it includes CMake)? We should go ahead and explicitly set policy CMP0074 in our cmake, but I don't think it needs to be in this PR. |
Anything missing from this PR? Arch Linux ships boost 1.69 by now (https://www.archlinux.org/packages/extra/x86_64/boost/) and this would be nice to have. |
@MarkusTeufelberger There is an issue with the mac build that we don't have a good solution for so we decided not to merge this yet. I wasn't aware any distros were shipping with boost 1.69, so it seemed like a good idea to delay this. However, this change should be backward's compatable with older boosts, so it should be OK to merge. Since arch ships with boost 1.69, I'll rebase/retest this and see if it can be marked passed. Thanks for the info about arch. |
496bd9b
to
58de894
Compare
Rebased, squashed and retested locally on boost 1.68 and 1.69. Unless there are objections from the team or CI issues I'll mark this passed when CI finishes. |
Still 👍 from me. |
Latest beast changes LGTM. On Windows, all targets build and tests pass. 👍 |
Fedora 30 will ship with Boost 1.69 too: https://apps.fedoraproject.org/packages/boost |
Thanks for the info @MarkusTeufelberger. BTW, this PR will go into the first 1.3.0 beta; |
No description provided.