1
0
Fork 0
mirror of https://github.com/dragonflydb/dragonfly.git synced 2024-12-15 17:51:06 +00:00
dragonflydb-dragonfly/tools/release.sh

21 lines
395 B
Bash
Executable file

#!/bin/sh
set -e
if ! [ -d helio ]; then
echo "could not find helio"
exit 1
fi
ARCH=`uname -m`
NAME="dragonfly-${ARCH}"
pwd
./helio/blaze.sh -release -DBoost_USE_STATIC_LIBS=ON -DOPENSSL_USE_STATIC_LIBS=ON \
-DENABLE_GIT_VERSION=ON -DWITH_UNWIND=OFF
cd build-opt
ninja dragonfly && ldd dragonfly
strip dragonfly
mv dragonfly $NAME
tar cvfz $NAME.tar.gz $NAME ../LICENSE.md