Skip to content

Commit 32f6e49

Browse files
committed
Merge rm_minisketch-29+syslibs
2 parents f70d14c + 6b29300 commit 32f6e49

5 files changed

Lines changed: 32 additions & 8 deletions

File tree

contrib/guix/libexec/build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,8 @@ GIT_ARCHIVE="${DIST_ARCHIVE_BASE}/${DISTNAME}.tar.gz"
196196
# Create the source tarball if not already there
197197
if [ ! -e "$GIT_ARCHIVE" ]; then
198198
mkdir -p "$(dirname "$GIT_ARCHIVE")"
199-
git archive --prefix="${DISTNAME}/" --output="$GIT_ARCHIVE" HEAD
199+
REFERENCE_DATETIME="@${SOURCE_DATE_EPOCH}" \
200+
contrib/guix/libexec/make_release_tarball.sh "${GIT_ARCHIVE}" "${DISTNAME}"
200201
fi
201202

202203
mkdir -p "$OUTDIR"
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
#!/bin/sh
2+
# Copyright (c) 2020 The Bitcoin Core developers
3+
# Distributed under the MIT software license, see the accompanying
4+
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
5+
#
6+
# A helper script to generate source release tarball
7+
8+
export LC_ALL=C
9+
set -ex
10+
11+
[ "$#" -ge 2 ]
12+
[ -n "${REFERENCE_DATETIME}" ]
13+
14+
GIT_ARCHIVE="$1"
15+
DISTNAME="$2"
16+
17+
git archive --prefix="${DISTNAME}/" HEAD |
18+
tar -xp \
19+
--exclude '*minisketch*' \
20+
# end of tar options
21+
tar \
22+
--format=ustar \
23+
--sort=name \
24+
--mode='u+rw,go+r-w,a+X' --owner=0 --group=0 \
25+
--mtime="${REFERENCE_DATETIME}" \
26+
-c "${DISTNAME}" | \
27+
gzip -9n \
28+
>"${GIT_ARCHIVE}"
29+
30+
rm -rf "${DISTNAME}"

src/CMakeLists.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ include(../cmake/crc32c.cmake)
2020
include(../cmake/leveldb.cmake)
2121
endif() # WITH_SYSTEM_LEVELDB
2222

23-
include(../cmake/minisketch.cmake)
2423
add_subdirectory(univalue)
2524

2625
if(NOT WITH_SYSTEM_LIBSECP256K1)
@@ -272,7 +271,6 @@ add_library(bitcoin_node STATIC EXCLUDE_FROM_ALL
272271
node/mempool_persist_args.cpp
273272
node/miner.cpp
274273
node/mini_miner.cpp
275-
node/minisketchwrapper.cpp
276274
node/peerman_args.cpp
277275
node/psbt.cpp
278276
node/timeoffsets.cpp
@@ -323,7 +321,6 @@ target_link_libraries(bitcoin_node
323321
bitcoin_util
324322
$<TARGET_NAME_IF_EXISTS:bitcoin_zmq>
325323
leveldb
326-
minisketch
327324
univalue
328325
Boost::headers
329326
$<TARGET_NAME_IF_EXISTS:libevent::core>

src/test/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ add_executable(test_bitcoin
5757
miner_tests.cpp
5858
miniminer_tests.cpp
5959
miniscript_tests.cpp
60-
minisketch_tests.cpp
6160
multisig_tests.cpp
6261
net_peer_connection_tests.cpp
6362
net_peer_eviction_tests.cpp
@@ -146,7 +145,6 @@ target_link_libraries(test_bitcoin
146145
bitcoin_cli
147146
bitcoin_node
148147
bitcoin_consensus
149-
minisketch
150148
secp256k1
151149
Boost::headers
152150
libevent::extra

src/test/fuzz/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ add_executable(fuzz
6262
merkleblock.cpp
6363
message.cpp
6464
miniscript.cpp
65-
minisketch.cpp
6665
mini_miner.cpp
6766
muhash.cpp
6867
multiplication_overflow.cpp
@@ -141,7 +140,6 @@ target_link_libraries(fuzz
141140
bitcoin_cli
142141
bitcoin_common
143142
bitcoin_util
144-
minisketch
145143
leveldb
146144
univalue
147145
secp256k1

0 commit comments

Comments
 (0)