#!/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}/..