1
0
Fork 0
arangodb/scripts/build-xc64-deb.sh

32 lines
495 B
Bash
Executable File

#!/usr/bin/env bash
set -e
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
export CPU_CORES=$(grep -c ^processor /proc/cpuinfo)
cd ${DIR}/..
EP=""
for i in $@; do
if test "$i" == "--enterprise"; then
EP="EP"
fi
done
./Installation/Jenkins/build.sh \
standard \
--parallel ${CPU_CORES} \
--package DEB \
$SNAP \
--xcArm /usr/bin/aarch64-linux-gnu \
--buildDir build-${EP}deb \
--targetDir /var/tmp/ \
--noopt \
$@
cd ${DIR}/..