ioq3quest/jenkins-ci-build.sh

17 lines
265 B
Bash
Raw Normal View History

2013-03-21 15:49:47 +00:00
#!/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}
2013-03-21 15:49:47 +00:00
exit $?