Changeset View
Changeset View
Standalone View
Standalone View
contrib/teamcity/build.sh
Show All 17 Lines | |||||
rm -f build.status test_bitcoin.xml | rm -f build.status test_bitcoin.xml | ||||
## Determine the number of build threads | ## Determine the number of build threads | ||||
THREADS=$(nproc || sysctl -n hw.ncpu) | THREADS=$(nproc || sysctl -n hw.ncpu) | ||||
# Default to nothing | # Default to nothing | ||||
: ${DISABLE_WALLET:=} | : ${DISABLE_WALLET:=} | ||||
: ${CONFIGURE_FLAGS:=} | |||||
CONFIGURE_FLAGS=("--prefix=`pwd`") | CONFIGURE_FLAGS+=("--prefix=`pwd`") | ||||
if [[ ! -z "${DISABLE_WALLET}" ]]; then | if [[ ! -z "${DISABLE_WALLET}" ]]; then | ||||
echo "*** Building without wallet" | echo "*** Building without wallet" | ||||
CONFIGURE_FLAGS+=("--disable-wallet") | CONFIGURE_FLAGS+=("--disable-wallet") | ||||
fi | fi | ||||
# Default to nothing | # Default to nothing | ||||
: ${ENABLE_DEBUG:=} | : ${ENABLE_DEBUG:=} | ||||
Show All 40 Lines |