Skip to content

Commit 7e0de5a

Browse files
committed
guix: only build Template Provider
For now also build bitcoin-node.
1 parent ef1db0b commit 7e0de5a

File tree

1 file changed

+21
-17
lines changed

1 file changed

+21
-17
lines changed

contrib/guix/libexec/build.sh

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,12 @@ make -C depends --jobs="$JOBS" HOST="$HOST" \
179179
x86_64_linux_RANLIB=x86_64-linux-gnu-gcc-ranlib \
180180
x86_64_linux_NM=x86_64-linux-gnu-gcc-nm \
181181
x86_64_linux_STRIP=x86_64-linux-gnu-strip \
182-
MULTIPROCESS=1
183-
182+
MULTIPROCESS=1 \
183+
NO_QT=1 \
184+
NO_WALLET=1 \
185+
NO_UPNP=1 \
186+
NO_NATPMP=1 \
187+
NO_ZMQ=1
184188

185189
###########################
186190
# Source Tarball Building #
@@ -201,7 +205,7 @@ mkdir -p "$OUTDIR"
201205
###########################
202206

203207
# CONFIGFLAGS
204-
CONFIGFLAGS="--enable-reduce-exports --disable-bench --disable-gui-tests --disable-fuzz-binary"
208+
CONFIGFLAGS="--enable-multiprocess --without-natpmp --without-upnp --disable-wallet --without-daemon --without-utils --without-gui --disable-zmq --disable-external-signer --disable-tests --enable-reduce-exports --disable-bench --disable-gui-tests --disable-fuzz-binary"
205209

206210
# CFLAGS
207211
HOST_CFLAGS="-O2 -g"
@@ -286,20 +290,20 @@ mkdir -p "$DISTSRC"
286290

287291
case "$HOST" in
288292
*darwin*)
289-
make deploydir ${V:+V=1}
290-
mkdir -p "unsigned-app-${HOST}"
291-
cp --target-directory="unsigned-app-${HOST}" \
292-
contrib/macdeploy/detached-sig-create.sh
293-
mv --target-directory="unsigned-app-${HOST}" dist
294-
(
295-
cd "unsigned-app-${HOST}"
296-
find . -print0 \
297-
| sort --zero-terminated \
298-
| tar --create --no-recursion --mode='u+rw,go+r-w,a+X' --null --files-from=- \
299-
| gzip -9n > "${OUTDIR}/${DISTNAME}-${HOST}-unsigned.tar.gz" \
300-
|| ( rm -f "${OUTDIR}/${DISTNAME}-${HOST}-unsigned.tar.gz" && exit 1 )
301-
)
302-
make deploy ${V:+V=1} OSX_ZIP="${OUTDIR}/${DISTNAME}-${HOST}-unsigned.zip"
293+
# make deploydir ${V:+V=1}
294+
# mkdir -p "unsigned-app-${HOST}"
295+
# cp --target-directory="unsigned-app-${HOST}" \
296+
# contrib/macdeploy/detached-sig-create.sh
297+
# mv --target-directory="unsigned-app-${HOST}" dist
298+
# (
299+
# cd "unsigned-app-${HOST}"
300+
# find . -print0 \
301+
# | sort --zero-terminated \
302+
# | tar --create --no-recursion --mode='u+rw,go+r-w,a+X' --null --files-from=- \
303+
# | gzip -9n > "${OUTDIR}/${DISTNAME}-${HOST}-unsigned.tar.gz" \
304+
# || ( rm -f "${OUTDIR}/${DISTNAME}-${HOST}-unsigned.tar.gz" && exit 1 )
305+
# )
306+
# make deploy ${V:+V=1} OSX_ZIP="${OUTDIR}/${DISTNAME}-${HOST}-unsigned.zip"
303307
;;
304308
esac
305309
(

0 commit comments

Comments
 (0)