added: ability to specify the number of threads used for make check-commits(-all)
use CHECK_THREADS=n git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2016 e10b68d5-8a6e-419e-a041-bce267b0401d
This commit is contained in:
@@ -35,7 +35,9 @@ Build() {
|
||||
cd $1
|
||||
cmake $3
|
||||
fi
|
||||
if ! make -j3
|
||||
threads=$CHECK_THREADS
|
||||
test -z $thread && threads=3
|
||||
if ! make -j$threads
|
||||
then
|
||||
globres=1
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user