summaryrefslogtreecommitdiffstats
path: root/tail_build
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2011-08-09 15:52:50 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2011-08-09 15:52:50 -0500
commit9b981cafaac2d0ad265ad6105fd3715bfc041051 (patch)
tree85093639598c52414e855c3c48d6320a60ba6544 /tail_build
parentCorrectly import from Excel charts with multiple ranges. (diff)
downloadcore-9b981cafaac2d0ad265ad6105fd3715bfc041051.tar.gz
core-9b981cafaac2d0ad265ad6105fd3715bfc041051.zip
Adjust the parallelism of tail_build to be max(max-process, num-cpus)
tail_build run mostly by itself and wrap a dozen of module, using just MAXPROCESS for the parallelism force to limit NB_CPUS in order to avoid a NB_CPUS x MAXPROCESS scenario. This mitigate this problem, until we don;t need MAXPROCESS anymore and NB_CPUS becomes the only driving force.
Diffstat (limited to 'tail_build')
-rw-r--r--tail_build/prj/makefile.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/tail_build/prj/makefile.mk b/tail_build/prj/makefile.mk
index e312a7ccab65..63e3f194fa93 100644
--- a/tail_build/prj/makefile.mk
+++ b/tail_build/prj/makefile.mk
@@ -37,4 +37,4 @@ VERBOSEFLAG := -s
.ENDIF
all:
- cd $(PRJ) && $(GNUMAKE) $(VERBOSEFLAG) -r -j$(MAXPROCESS) $(gb_MAKETARGET) && $(GNUMAKE) $(VERBOSEFLAG) -r deliverlog
+ cd $(PRJ) && $(GNUMAKE) $(VERBOSEFLAG) -r -j$(GMAKE_PARALLELISM) $(gb_MAKETARGET) && $(GNUMAKE) $(VERBOSEFLAG) -r deliverlog