diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2011-08-09 15:52:50 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2011-08-09 15:52:50 -0500 |
commit | 9b981cafaac2d0ad265ad6105fd3715bfc041051 (patch) | |
tree | 85093639598c52414e855c3c48d6320a60ba6544 /tail_build | |
parent | a81389fb840f21f855d0f7c900821587d33782da (diff) |
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.mk | 2 |
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 |