File tree 2 files changed +9
-13
lines changed
2 files changed +9
-13
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ ARG BUILD_ARGS
7
7
RUN --mount=type=cache,target=/var/cache/apk \
8
8
sed -i 's/http\:\/\/ dl-cdn.alpinelinux.org/https\:\/\/ alpine.global.ssl.fastly.net/g' /etc/apk/repositories \
9
9
&& apk --no-cache add \
10
- autoconf \
11
- automake \
10
+ cmake \
11
+ python3 \
12
12
boost-dev \
13
13
build-base \
14
14
chrpath \
@@ -40,14 +40,13 @@ RUN set -ex \
40
40
&& git apply /tmp/isroutable.patch \
41
41
&& git apply /tmp/addrman.patch \
42
42
&& sed -i s:sys/fcntl.h:fcntl.h: src/compat/compat.h \
43
- && ./autogen.sh \
44
- && ./configure \
45
- LDFLAGS=-L`ls -d /opt/db*`/lib/ \
46
- CPPFLAGS="-g0 -I`ls -d /opt/db*`/include/ --param ggc-min-expand=1 --param ggc-min-heapsize=32768" \
47
- --prefix=${BITCOIN_PREFIX} \
43
+ && cmake -B build \
44
+ -DAPPEND_CPPFLAGS="-g0 -I`ls -d /opt/db*`/include/ --param ggc-min-expand=1 --param ggc-min-heapsize=32768" \
45
+ -DAPPEND_LDFLAGS=-L`ls -d /opt/db*`/lib/ \
48
46
${BUILD_ARGS} \
49
- && make -j$(nproc) \
50
- && make install \
47
+ && cmake --build build -j$(nproc) \
48
+ && cmake --install build \
49
+
51
50
&& strip ${BITCOIN_PREFIX}/bin/bitcoin-cli \
52
51
&& strip ${BITCOIN_PREFIX}/bin/bitcoind \
53
52
&& rm -f ${BITCOIN_PREFIX}/lib/libbitcoinconsensus.a \
Original file line number Diff line number Diff line change @@ -23,10 +23,7 @@ def build_image(
23
23
arches : str ,
24
24
action : str ,
25
25
):
26
- if not build_args :
27
- build_args = '"--disable-tests --without-gui --disable-bench --disable-fuzz-binary --enable-suppress-external-warnings --disable-dependency-tracking "'
28
- else :
29
- build_args = f'"{ build_args } "'
26
+ build_args = '"-DWITH_ZMQ=ON "' if not build_args else f'"{ build_args } "'
30
27
31
28
build_arches = []
32
29
if not arches :
You can’t perform that action at this time.
0 commit comments