Changeset View
Changeset View
Standalone View
Standalone View
contrib/teamcity/build.sh
Show All 19 Lines | |||||
## 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:=}" | ||||
CONFIGURE_FLAGS=("$CONFIGURE_FLAGS" "--prefix=$(pwd)") | read -a CONFIGURE_FLAGS <<< "$CONFIGURE_FLAGS --prefix=$(pwd)" | ||||
if [[ -n "${DISABLE_WALLET}" ]]; then | if [[ -n "${DISABLE_WALLET}" ]]; then | ||||
echo "*** Building without wallet" | echo "*** Building without wallet" | ||||
CONFIGURE_FLAGS+=("--disable-wallet") | CONFIGURE_FLAGS+=("--disable-wallet") | ||||
fi | fi | ||||
../configure "${CONFIGURE_FLAGS[@]}" | ../configure "${CONFIGURE_FLAGS[@]}" | ||||
# Base directories for sanitizer related files | # Base directories for sanitizer related files | ||||
▲ Show 20 Lines • Show All 52 Lines • Show Last 20 Lines |