build: remove threadinterrupt from libbitcoinkernel #26360
pull fanquake wants to merge 1 commits into bitcoin:master from fanquake:kernel_remove_threadinterrupt changing 1 files +0 −1-
fanquake commented at 8:42 am on October 21, 2022: memberExtracted from #26292.
-
build: remove threadinterrupt from libbitcoinkernel afbcd227dd
-
fanquake added the label Build system on Oct 21, 2022
-
hebasto approved
-
hebasto commented at 3:43 pm on October 23, 2022: member
ACK afbcd227dd0889002eeeec6148538ed2e2c9aadb, tested on Ubuntu 22.04.
FWIW,
./configure --with-experimental-kernel-lib --enable-experimental-util-chainstate && make
still works even with the following diff:0--- a/src/Makefile.am 1+++ b/src/Makefile.am 2@@ -886,7 +886,6 @@ libbitcoinkernel_la_SOURCES = \ 3 chain.cpp \ 4 chainparamsbase.cpp \ 5 chainparams.cpp \ 6- clientversion.cpp \ 7 coins.cpp \ 8 compressor.cpp \ 9 consensus/merkle.cpp \ 10@@ -895,11 +894,9 @@ libbitcoinkernel_la_SOURCES = \ 11 core_read.cpp \ 12 dbwrapper.cpp \ 13 deploymentinfo.cpp \ 14- deploymentstatus.cpp \ 15 flatfile.cpp \ 16 fs.cpp \ 17 hash.cpp \ 18- kernel/chain.cpp \ 19 kernel/checks.cpp \ 20 kernel/coinstats.cpp \ 21 kernel/context.cpp \ 22@@ -932,7 +929,6 @@ libbitcoinkernel_la_SOURCES = \ 23 signet.cpp \ 24 support/cleanse.cpp \ 25 support/lockedpool.cpp \ 26- sync.cpp \ 27 txdb.cpp \ 28 txmempool.cpp \ 29 uint256.cpp \
-
fanquake commented at 9:23 am on October 31, 2022: member
still works even with the following diff:
- sync.cpp \
That’s because you didn’t test with
--enable-debug
. Haven’t looked at the other suggestions. -
hebasto commented at 10:28 am on October 31, 2022: member
That’s because you didn’t test with
--enable-debug
.Correct.
Haven’t looked at the other suggestions.
./configure --with-experimental-kernel-lib --enable-experimental-util-chainstate --enable-debug && make
still works with the following diff on Ubuntu 22.04:0--- a/src/Makefile.am 1+++ b/src/Makefile.am 2@@ -886,7 +886,6 @@ libbitcoinkernel_la_SOURCES = \ 3 chain.cpp \ 4 chainparamsbase.cpp \ 5 chainparams.cpp \ 6- clientversion.cpp \ 7 coins.cpp \ 8 compressor.cpp \ 9 consensus/merkle.cpp \ 10@@ -895,11 +894,9 @@ libbitcoinkernel_la_SOURCES = \ 11 core_read.cpp \ 12 dbwrapper.cpp \ 13 deploymentinfo.cpp \ 14- deploymentstatus.cpp \ 15 flatfile.cpp \ 16 fs.cpp \ 17 hash.cpp \ 18- kernel/chain.cpp \ 19 kernel/checks.cpp \ 20 kernel/coinstats.cpp \ 21 kernel/context.cpp \
-
theuni commented at 4:09 pm on October 31, 2022: member
Concept ACK.
FWIW, I anticipate threadinterrupt coming back to the kernel eventually as I think we’ll want to use it to get rid of
shutdown.cpp
.I think it’s fine to re-add it when it’s actually needed though.
-
fanquake commented at 4:11 pm on October 31, 2022: member
still works with the following diff
- deploymentstatus.cpp \
If “works” means compiles, then sure, however this also drops the compile-time deployment status sanity checks from the kernel build.
-
ryanofsky approved
-
ryanofsky commented at 5:41 pm on October 31, 2022: contributorCode review ACK afbcd227dd0889002eeeec6148538ed2e2c9aadb
-
fanquake merged this on Nov 1, 2022
-
fanquake closed this on Nov 1, 2022
-
fanquake deleted the branch on Nov 1, 2022
-
sidhujag referenced this in commit b6455439bc on Nov 1, 2022
-
bitcoin locked this on Nov 1, 2023
fanquake
hebasto
theuni
ryanofsky
Labels
Build system
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-12-27 03:12 UTC
More mirrored repositories can be found on mirror.b10c.me