mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 01:08:35 +00:00
feat(CI): dynamically calculate thread count for build process (#1510)
Dynamically calculate the thread count for the build process by reading `/proc/cpuinfo` in order to be more independent from the environment.
This commit is contained in:
@@ -19,7 +19,7 @@ echo "create config.sh"
|
||||
cat >>conf/config.sh <<CONFIG_SH
|
||||
CCOMPILERC=$CCOMPILERC
|
||||
CCOMPILERCXX=$CCOMPILERCXX
|
||||
MTHREADS=4
|
||||
MTHREADS=$(expr $(grep -c ^processor /proc/cpuinfo) + 2)
|
||||
CWARNINGS=ON
|
||||
CDEBUG=OFF
|
||||
CTYPE=Release
|
||||
|
||||
Reference in New Issue
Block a user