-
Notifications
You must be signed in to change notification settings - Fork 5
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: Replace genbuild.sh
with GenerateBuildInfo.cmake
#54
Conversation
No need to test non-CMake stuff in this branch.
Add CI test for `obj/build.h` generation.
Friendly ping @fanquake @theuni @TheCharlatan @vasild @pablomartin4btc :) |
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.
tACK 2e2a7b5
Built on Ubuntu 22.04, ran ctest
, functionals and executed bitcoind -signet
up to full headers sync.
Light ACK, why not remove |
Sure. After transition to CMake is completed? Right now it seems useful to keep it to ensure that |
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.
tACK 2e2a7b5
Built cross-compiled for Windows on WSL Ubuntu 22.04 (instructions), binaries are fine and ran on Windows 11 Pro but 2 tests are failing running ctest
, I've verified that's also happening on cmake-staging
branch, so I've opened #55.
Going to merge this PR shortly to unlock Windows builds. |
This PR replaces shell
share/genbuild.sh
script with CMakeGenerateBuildInfo.cmake
script, which works on all platforms, including Windows.Fixes build on Windows after #51.
Please note, that in the master branch, MSVC builds lack build info entirely.
Added a CI test to ensure equivalence of the script replacement.