f47680424d
fix bech32 prefix bumped version improve trie read RAM use, fix a few compiler warnings open segwit window until Jan 2020 work around Windows ICU build issue upped the soft fork thresh length to a week open testnet soft forks window clarifying segwit to be manually enabled same for testnet
37 lines
No EOL
940 B
Bash
Executable file
37 lines
No EOL
940 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
if which dpkg-query >/dev/null; then
|
|
if dpkg-query -W libtool autotools-dev automake pkg-config bsdmainutils curl ca-certificates; then
|
|
echo "All dependencies satisfied."
|
|
else
|
|
echo "Missing dependencies detected. Exiting..."
|
|
exit 1
|
|
fi
|
|
fi
|
|
|
|
if which ccache >/dev/null; then
|
|
echo "ccache config:"
|
|
ccache -ps
|
|
fi
|
|
|
|
export CXXFLAGS="${CXXFLAGS:--O2 -frecord-gcc-switches}"
|
|
echo "CXXFLAGS set to $CXXFLAGS"
|
|
|
|
cd depends
|
|
make -j`getconf _NPROCESSORS_ONLN` HOST=x86_64-pc-linux-gnu NO_QT=1 V=1
|
|
cd ..
|
|
|
|
./autogen.sh
|
|
DEPS_DIR=`pwd`/depends/x86_64-pc-linux-gnu
|
|
CONFIG_SITE=${DEPS_DIR}/share/config.site ./configure --enable-static --disable-shared --with-pic --without-gui
|
|
make -j`getconf _NPROCESSORS_ONLN`
|
|
strip src/lbrycrdd src/lbrycrd-cli src/lbrycrd-tx
|
|
|
|
if which ccache >/dev/null; then
|
|
echo "ccache stats:"
|
|
ccache -s
|
|
fi
|
|
|
|
echo "Linux 64bit build is complete" |