mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2025-11-29 17:38:24 +08:00
18 lines
245 B
Bash
Executable File
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
|