summaryrefslogtreecommitdiff
path: root/jenkins-ci-build.sh
blob: 33c17e9578f4da1d85521845b44453a72cfc2de5 (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} clean ${BUILD_TYPE}

exit $?