-
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
Use platform-agnostic library names in Conan recipe #4831
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.
With the change to the library name below, and two changes to your branch in validator-keys-tool (ripple/validator-keys-tool#44), everything seems to work.
Changes:
- Obviously, change the dependency in
conanfile.txt
to match the rippled version in this branch (2.0.0-b4
). - Remove the
beast::uint_test::dstream
debugger output class. I don't know when it stopped working, so it's easier to just take it out for now.
Those changes are in commit ximinez/validator-keys-tool@7a70e66
Update: I assume these blockers have been resolved and are no longer blocking. |
notes:
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #4831 +/- ##
===========================================
- Coverage 61.49% 61.48% -0.01%
===========================================
Files 797 797
Lines 70121 70121
Branches 36238 36238
===========================================
- Hits 43119 43114 -5
- Misses 19759 19760 +1
- Partials 7243 7247 +4 ☔ View full report in Codecov by Sentry. |
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 the latest changes, I'm able to build ripple/validator-keys-tool#44 on both Windows and Linux
|
note: this should be merged prior to ripple/validator-keys-tool#44 (the version number used in that PR will need to be updated) @thejohnfreeman at your convenience, please:
|
Suggested commit message:
|
Use consistent platform-agnostic library names on all platforms. Fix an issue that prevents dependents like validator-keys-tool from linking to libxrpl on Windows. It is bad practice to change the binary base name depending on the platform. CMake already manipulates the base name into a final name that fits the conventions of the platform. Linkers accept base names on the command line and then look for conventional names on disk.
Dependents like validator-keys-tool are not correctly linking to libxrpl on Windows because the library filenames are different. I believe that using the platform-agnostic names (as the linker knows them) will work. I kindly ask that @ximinez please test for me with these steps:
conan export .