Browse Source
Disable building libzcashconsensus by default
The library is not currently a supported build artifact; it needs work in
order to build on certain platforms (e.g. MacOS), and its dependencies need to
be narrowed down (Equihash is not a requirement for validating scripts).
pull/4/head
Jack Grigg
6 years ago
No known key found for this signature in database
GPG Key ID: 665DBCD284F7DAFF
2 changed files with
3 additions and
14 deletions
configure.ac
zcutil/build.sh
@ -224,9 +224,9 @@ AC_ARG_WITH([utils],
AC_ARG_WITH([libs],
[AS_HELP_STRING([--with-libs],
[build libraries (default=yes )])],
[build libraries (default=no )])],
[build_bitcoin_libs=$withval],
[build_bitcoin_libs=yes ])
[build_bitcoin_libs=no ])
AC_ARG_WITH([daemon],
[AS_HELP_STRING([--with-daemon],
@ -68,9 +68,6 @@ $0 [ --enable-lcov || --disable-tests ] [ --disable-mining ] [ --enable-proton ]
If --enable-proton is passed, Zcash is configured to build the Apache Qpid Proton
library required for AMQP support. This library is not built by default.
It must be passed after the test/mining arguments, if present.
If --disable-libs is passed, Zcash is configured to not build any libraries like
'libzcashconsensus' .
EOF
exit 0
fi
@ -108,14 +105,6 @@ then
shift
fi
# If --disable-libs is the next argument, build without libs:
LIBS_ARG = ''
if [ " x ${ 1 :- } " = 'x--disable-libs' ]
then
LIBS_ARG = '--without-libs'
shift
fi
PREFIX = " $( pwd ) /depends/ $BUILD / "
eval " $MAKE " --version
@ -126,5 +115,5 @@ ld -v
HOST = " $HOST " BUILD = " $BUILD " NO_PROTON = " $PROTON_ARG " " $MAKE " " $@ " -C ./depends/ V = 1
./autogen.sh
CC = " $CC " CXX = " $CXX " ./configure --prefix= " ${ PREFIX } " --host= " $HOST " --build= " $BUILD " " $HARDENING_ARG " " $LCOV_ARG " " $TEST_ARG " " $MINING_ARG " " $PROTON_ARG " " $LIBS_ARG " $CONFIGURE_FLAGS --enable-werror CXXFLAGS = '-g'
CC = " $CC " CXX = " $CXX " ./configure --prefix= " ${ PREFIX } " --host= " $HOST " --build= " $BUILD " " $HARDENING_ARG " " $LCOV_ARG " " $TEST_ARG " " $MINING_ARG " " $PROTON_ARG " $CONFIGURE_FLAGS --enable-werror CXXFLAGS = '-g'
" $MAKE " " $@ " V = 1