1
0
Fork 0
arangodb/scripts/build-snap.sh

29 lines
425 B
Bash
Executable File

#!/bin/bash
set -e
if test -z ${CXX}; then
export CC=gcc
export CXX=g++
fi
export CPU_CORES=$(grep -c ^processor /proc/cpuinfo)
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd ${DIR}/..
./Installation/Jenkins/build.sh \
standard \
--rpath \
--parallel ${CPU_CORES} \
--package TGZ \
--snap \
--buildDir build-snap \
--targetDir /var/tmp/ \
--noopt \
$@
cd ${DIR}/..