2022-05-25 18:14:04 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
if ! [ -d helio ]; then
|
|
|
|
echo "could not find helio"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
ARCH=`uname -m`
|
2022-05-26 05:00:38 +00:00
|
|
|
NAME="dragonfly-${ARCH}"
|
|
|
|
|
2022-05-25 18:14:04 +00:00
|
|
|
pwd
|
2022-05-30 05:49:16 +00:00
|
|
|
./helio/blaze.sh -release -DBoost_USE_STATIC_LIBS=ON -DOPENSSL_USE_STATIC_LIBS=ON \
|
|
|
|
-DENABLE_GIT_VERSION=ON -DWITH_UNWIND=OFF
|
|
|
|
|
2022-05-25 18:14:04 +00:00
|
|
|
cd build-opt
|
|
|
|
ninja dragonfly && ldd dragonfly
|
2022-06-07 22:02:21 +00:00
|
|
|
./dragonfly --version
|
2022-05-26 05:00:38 +00:00
|
|
|
mv dragonfly $NAME
|
2022-06-03 04:49:21 +00:00
|
|
|
tar cvfz $NAME.unstripped.tar.gz $NAME ../LICENSE.md
|
|
|
|
strip $NAME
|
2022-05-30 08:24:56 +00:00
|
|
|
tar cvfz $NAME.tar.gz $NAME ../LICENSE.md
|