mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-12 19:20:42 +02:00
Merge branch 'rm_minisketch-25+k' into svg_icon-25+knots
This commit is contained in:
commit
83f5372e9b
@ -9,14 +9,12 @@ export LC_ALL=C.UTF-8
|
||||
if [[ $HOST = *-mingw32 ]]; then
|
||||
# Generate all binaries, so that they can be wrapped
|
||||
CI_EXEC make "$MAKEJOBS" -C src/secp256k1 VERBOSE=1
|
||||
CI_EXEC make "$MAKEJOBS" -C src minisketch/test.exe VERBOSE=1
|
||||
CI_EXEC "${BASE_ROOT_DIR}/ci/test/wrap-wine.sh"
|
||||
fi
|
||||
|
||||
if [ -n "$QEMU_USER_CMD" ]; then
|
||||
# Generate all binaries, so that they can be wrapped
|
||||
CI_EXEC make "$MAKEJOBS" -C src/secp256k1 VERBOSE=1
|
||||
CI_EXEC make "$MAKEJOBS" -C src minisketch/test VERBOSE=1
|
||||
CI_EXEC "${BASE_ROOT_DIR}/ci/test/wrap-qemu.sh"
|
||||
fi
|
||||
|
||||
|
@ -14,7 +14,12 @@ set -ex
|
||||
GIT_ARCHIVE="$1"
|
||||
DISTNAME="$2"
|
||||
|
||||
git archive --prefix="${DISTNAME}/" HEAD | tar -xp
|
||||
git archive --prefix="${DISTNAME}/" HEAD | tar -xp --exclude '*minisketch*'
|
||||
|
||||
# Generate correct build info file from git, before we lose git
|
||||
GIT_BUILD_INFO="$(share/genbuild.sh /dev/stdout)"
|
||||
sed 's/\/\/ No build information available/'"${GIT_BUILD_INFO}"'/' -i "${DISTNAME}/share/genbuild.sh"
|
||||
|
||||
cd "${DISTNAME}"
|
||||
|
||||
./autogen.sh
|
||||
|
@ -18,9 +18,14 @@ else
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# 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
|
||||
git_check_in_repo() {
|
||||
! { git status --porcelain -uall --ignored "$@" 2>/dev/null || echo '??'; } | grep -q '?'
|
||||
}
|
||||
|
||||
GIT_TAG=""
|
||||
GIT_COMMIT=""
|
||||
if [ "${BITCOIN_GENBUILD_NO_GIT}" != "1" ] && [ -e "$(command -v git)" ] && [ "$(git rev-parse --is-inside-work-tree 2>/dev/null)" = "true" ]; then
|
||||
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
|
||||
# clean 'dirty' status of touched files that haven't been modified
|
||||
git diff >/dev/null 2>/dev/null
|
||||
|
||||
@ -40,7 +45,9 @@ if [ -n "$GIT_TAG" ]; then
|
||||
elif [ -n "$GIT_COMMIT" ]; then
|
||||
NEWINFO="#define BUILD_GIT_COMMIT \"$GIT_COMMIT\""
|
||||
else
|
||||
NEWINFO="// No build information available"
|
||||
# NOTE: The NEWINFO line below this comment gets replaced by a string-match in contrib/guix/libexec/make_release_tarball.sh
|
||||
# If changing it, update the script too!
|
||||
NEWINFO='// No build information available'
|
||||
fi
|
||||
|
||||
# only update build.h if necessary
|
||||
|
@ -216,7 +216,6 @@ BITCOIN_CORE_H = \
|
||||
node/mempool_args.h \
|
||||
node/mempool_persist_args.h \
|
||||
node/miner.h \
|
||||
node/minisketchwrapper.h \
|
||||
node/psbt.h \
|
||||
node/transaction.h \
|
||||
node/txreconciliation.h \
|
||||
@ -407,7 +406,6 @@ libbitcoin_node_a_SOURCES = \
|
||||
node/mempool_args.cpp \
|
||||
node/mempool_persist_args.cpp \
|
||||
node/miner.cpp \
|
||||
node/minisketchwrapper.cpp \
|
||||
node/psbt.cpp \
|
||||
node/transaction.cpp \
|
||||
node/txreconciliation.cpp \
|
||||
@ -1102,8 +1100,6 @@ endif
|
||||
} > "$@.new" && mv -f "$@.new" "$@"
|
||||
@echo "Generated $@"
|
||||
|
||||
include Makefile.minisketch.include
|
||||
|
||||
if EMBEDDED_LEVELDB
|
||||
include Makefile.crc32c.include
|
||||
include Makefile.leveldb.include
|
||||
|
@ -107,7 +107,6 @@ BITCOIN_TESTS =\
|
||||
test/merkleblock_tests.cpp \
|
||||
test/miner_tests.cpp \
|
||||
test/miniscript_tests.cpp \
|
||||
test/minisketch_tests.cpp \
|
||||
test/multisig_tests.cpp \
|
||||
test/net_peer_eviction_tests.cpp \
|
||||
test/net_tests.cpp \
|
||||
@ -285,7 +284,6 @@ test_fuzz_fuzz_SOURCES = \
|
||||
test/fuzz/merkleblock.cpp \
|
||||
test/fuzz/message.cpp \
|
||||
test/fuzz/miniscript.cpp \
|
||||
test/fuzz/minisketch.cpp \
|
||||
test/fuzz/muhash.cpp \
|
||||
test/fuzz/multiplication_overflow.cpp \
|
||||
test/fuzz/net.cpp \
|
||||
|
Loading…
Reference in New Issue
Block a user