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

35 lines
711 B
Bash
Executable File

#!/bin/bash
# To install the build libraries needed by this script run:
# `sudo apt-get install cmake libjemalloc-dev libssl-dev libreadline-dev`
# After the packages are built you will find them in /var/tmp
set -e
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd ${DIR}/..
EP=""
for i in $@; do
if test "$i" == "--enterprise"; then
EP="EP"
fi
done
export CPU_CORES=$(grep -c ^processor /proc/cpuinfo)
./Installation/Jenkins/build.sh \
maintainer \
--failure-tests \
--rpath \
--parallel ${CPU_CORES} \
--package DEB \
--buildDir build-${EP}deb-dbg \
--targetDir /var/tmp/ \
--jemalloc \
--downloadStarter \
--noopt \
$@
cd ${DIR}/..