File tree Expand file tree Collapse file tree 5 files changed +15
-10
lines changed Expand file tree Collapse file tree 5 files changed +15
-10
lines changed Original file line number Diff line number Diff line change @@ -143,7 +143,6 @@ du -sh "${PREVIOUS_RELEASES_DIR}"
143
143
if [[ $HOST = * -mingw32 ]]; then
144
144
# Generate all binaries, so that they can be wrapped
145
145
make " $MAKEJOBS " -C src/secp256k1 VERBOSE=1
146
- make " $MAKEJOBS " -C src minisketch/test.exe VERBOSE=1
147
146
" ${BASE_ROOT_DIR} /ci/test/wrap-wine.sh"
148
147
fi
149
148
Original file line number Diff line number Diff line change @@ -14,7 +14,12 @@ set -ex
14
14
GIT_ARCHIVE=" $1 "
15
15
DISTNAME=" $2 "
16
16
17
- git archive --prefix=" ${DISTNAME} /" HEAD | tar -xp
17
+ git archive --prefix=" ${DISTNAME} /" HEAD | tar -xp --exclude ' *minisketch*'
18
+
19
+ # Generate correct build info file from git, before we lose git
20
+ GIT_BUILD_INFO=" $( share/genbuild.sh /dev/stdout) "
21
+ sed ' s/\/\/ No build information available/' " ${GIT_BUILD_INFO} " ' /' -i " ${DISTNAME} /share/genbuild.sh"
22
+
18
23
cd " ${DISTNAME} "
19
24
20
25
./autogen.sh
Original file line number Diff line number Diff line change 18
18
exit 1
19
19
fi
20
20
21
+ # This checks that we are actually part of the intended git repository, and not just getting info about some unrelated git repository that the code happens to be in a directory under
22
+ git_check_in_repo () {
23
+ ! { git status --porcelain -uall --ignored " $@ " 2> /dev/null || echo ' ??' ; } | grep -q ' ?'
24
+ }
25
+
21
26
GIT_TAG=" "
22
27
GIT_COMMIT=" "
23
- if [ " ${BITCOIN_GENBUILD_NO_GIT} " != " 1" ] && [ -e " $( command -v git) " ] && [ " $( git rev-parse --is-inside-work-tree 2> /dev/null) " = " true" ]; then
28
+ if [ " ${BITCOIN_GENBUILD_NO_GIT} " != " 1" ] && [ -e " $( command -v git) " ] && [ " $( git rev-parse --is-inside-work-tree 2> /dev/null) " = " true" ] && git_check_in_repo share/genbuild.sh ; then
24
29
# clean 'dirty' status of touched files that haven't been modified
25
30
git diff > /dev/null 2> /dev/null
26
31
@@ -40,7 +45,9 @@ if [ -n "$GIT_TAG" ]; then
40
45
elif [ -n " $GIT_COMMIT " ]; then
41
46
NEWINFO=" #define BUILD_GIT_COMMIT \" $GIT_COMMIT \" "
42
47
else
43
- NEWINFO=" // No build information available"
48
+ # NOTE: The NEWINFO line below this comment gets replaced by a string-match in contrib/guix/libexec/make_release_tarball.sh
49
+ # If changing it, update the script too!
50
+ NEWINFO=' // No build information available'
44
51
fi
45
52
46
53
# only update build.h if necessary
Original file line number Diff line number Diff line change @@ -231,7 +231,6 @@ BITCOIN_CORE_H = \
231
231
node/mempool_persist_args.h \
232
232
node/miner.h \
233
233
node/mini_miner.h \
234
- node/minisketchwrapper.h \
235
234
node/peerman_args.h \
236
235
node/protocol_version.h \
237
236
node/psbt.h \
@@ -436,7 +435,6 @@ libbitcoin_node_a_SOURCES = \
436
435
node/mempool_persist_args.cpp \
437
436
node/miner.cpp \
438
437
node/mini_miner.cpp \
439
- node/minisketchwrapper.cpp \
440
438
node/peerman_args.cpp \
441
439
node/psbt.cpp \
442
440
node/timeoffsets.cpp \
@@ -1108,8 +1106,6 @@ endif
1108
1106
echo " };" ; \
1109
1107
} > " $@ .new" && mv -f " $@ .new" " $@ "
1110
1108
1111
- include Makefile.minisketch.include
1112
-
1113
1109
if EMBEDDED_LEVELDB
1114
1110
include Makefile.crc32c.include
1115
1111
include Makefile.leveldb.include
Original file line number Diff line number Diff line change @@ -114,7 +114,6 @@ BITCOIN_TESTS =\
114
114
test/miner_tests.cpp \
115
115
test/miniminer_tests.cpp \
116
116
test/miniscript_tests.cpp \
117
- test/minisketch_tests.cpp \
118
117
test/multisig_tests.cpp \
119
118
test/net_peer_connection_tests.cpp \
120
119
test/net_peer_eviction_tests.cpp \
@@ -343,7 +342,6 @@ test_fuzz_fuzz_SOURCES = \
343
342
test/fuzz/merkleblock.cpp \
344
343
test/fuzz/message.cpp \
345
344
test/fuzz/miniscript.cpp \
346
- test/fuzz/minisketch.cpp \
347
345
test/fuzz/mini_miner.cpp \
348
346
test/fuzz/muhash.cpp \
349
347
test/fuzz/multiplication_overflow.cpp \
You can’t perform that action at this time.
0 commit comments