From: Tobias Toedter Subject: Detect multiple CPUs better The current system of detecting multiple CPUs and using them for multiple jobs in parallel is not very robust and results in a FTBFS on some architectures. --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) --- a/Makefile +++ b/Makefile @@ -19,7 +19,7 @@ #============================================================================= REVISION = `cat mscore/mscore/revision.h` -CPUS = `grep -c processor /proc/cpuinfo` +#CPUS = `grep -c processor /proc/cpuinfo` PREFIX = "/usr/local" #VERSION = "1.2r${REVISION}" @@ -36,7 +36,8 @@ -DCMAKE_INSTALL_PREFIX="${PREFIX}" \ ../mscore; \ make lrelease; \ - make -j ${CPUS}; \ + #make -j ${CPUS}; \ + make; \ else \ echo "build directory does already exist, please remove first with 'make clean'"; \ fi;