-
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
Rebased cmake-staging branch (post PRs 33, 37) #38
Conversation
Co-authored-by: Cory Fields <cory-nospam-@coryfields.com> Co-authored-by: Vasil Dimov <vd@FreeBSD.org>
Co-authored-by: Cory Fields <cory-nospam-@coryfields.com>
To configure CMake for cross-compiling, use `--toolchain depends/${HOST}/share/toolchain.cmake` command-line option.
Many thanks to @TheCharlatan who suggested to leverage the "fixup/autosquash" git functionality! |
Friendly ping @fanquake @theuni @TheCharlatan @luke-jr @willcl-ark @stickies-v @ajtowns @w0xlt @pablomartin4btc @vasild The plan is to continue the work on #32 on top of this updated staging branch. |
For whatever reason, I had to move the "fixup! cmake: Add position independent code support" down to after the "add bitcoind" commit in order for the rebase to work. Maybe some config option difference for handling merge order or something? After that, following along, the diff from this PR to what I generated with my rebase: $ git diff HEAD..hebasto/231024-linear
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6a5e9dcc66..10b484bebd 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -18,7 +18,7 @@
cmake_minimum_required(VERSION 3.16...3.28)
project("Bitcoin Core"
- VERSION 25.99.0
+ VERSION 26.99.0
DESCRIPTION "Bitcoin client software"
HOMEPAGE_URL "https://bitcoincore.org/"
LANGUAGES CXX ASM
@@ -232,7 +232,7 @@ endif()
include(cmake/optional.cmake)
-find_package(Python3 3.8 COMPONENTS Interpreter)
+find_package(Python3 3.9 COMPONENTS Interpreter)
set(PYTHON_COMMAND ${Python3_EXECUTABLE})
add_subdirectory(src)
diff --git a/src/bench/CMakeLists.txt b/src/bench/CMakeLists.txt
index feec7290b1..3e9b144c77 100644
--- a/src/bench/CMakeLists.txt
+++ b/src/bench/CMakeLists.txt
@@ -23,6 +23,7 @@ add_executable(bench_bitcoin
checkqueue.cpp
crypto_hash.cpp
descriptors.cpp
+ disconnected_transactions.cpp
duplicate_inputs.cpp
ellswift.cpp
examples.cpp The version bump is obvious. |
LGTM. I'm curious if other reviewers have the same issue reproducing the rebase? |
LGTM I got the same experience as in #38 (comment) and produced the same diff. The change from commit 1246971 |
Thank you for the reviewing! This branch has been force pushed into the https://github.com/hebasto/bitcoin/tree/cmake-staging. Closing. |
This is the cmake-staging branch rebased on the recent bitcoin/master one with the squashed "!fixup" commits.
Testing instructions are the same as for #31:
cmake-staging
branch (post PRs 17, 18, 19) #31 (comment)cmake-staging
branch (post PRs 17, 18, 19) #31 (comment) (except for Debian 10 with CMake 3.13)A note for reviewers:
First, the
git rebase -i --autosquash master
command was applied:cmake-staging/pr38-init -- > cmake-staging/pr38-autosquash
Then, the recent changes in the build system in the master branch were applied:
cmake-staging/pr38-autosquash --> this PR branch