Files
azerothcore-wotlk-pbot/bin/compiler/3-build.sh
2016-06-27 16:40:47 +02:00

18 lines
245 B
Bash
Executable File

#!/bin/bash
. "defines.sh"
[ $MTHREADS == 0 ] && MTHREADS=`grep -c ^processor /proc/cpuinfo` && MTHREADS=$(($MTHREADS + 2))
echo "Using $MTHREADS threads"
CWD=$(pwd)
cd $BUILDPATH
time make -j $MTHREADS
make -j $MTHREADS install
cd $CWD