summaryrefslogtreecommitdiff
path: root/jenkins-ci-build.sh
blob: b18ff14b9a5c8c851332ccdaa734ae10de3fbdb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

MASTER_DIR=`dirname $0`
cd ${MASTER_DIR}

if [ "$OPTIONS" = "all_options" ];
then
    export USE_CODEC_VORBIS=1
    export USE_FREETYPE=1
fi

CORES=`awk '/^processor/ { N++} END { print N }' /proc/cpuinfo`

make -j${CORES} distclean ${BUILD_TYPE}

exit $?