summaryrefslogtreecommitdiff
path: root/set_soenv.in
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 /set_soenv.in
parenta81389fb840f21f855d0f7c900821587d33782da (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 'set_soenv.in')
-rwxr-xr-xset_soenv.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/set_soenv.in b/set_soenv.in
index cf802b345b5f..e12f64ae470d 100755
--- a/set_soenv.in
+++ b/set_soenv.in
@@ -1814,6 +1814,7 @@ else
ToFile( "SOLARLIB_FOR_BUILD", $SOLARLIB, "e" );
ToFile( "WORKDIR_FOR_BUILD", $WORKDIR, "e" );
}
+ToFile( "GMAKE_PARALLELISM", "@GMAKE_PARALLELISM@", "e" );
ToFile( "SIZEOF_SHORT", "@SIZEOF_SHORT@", "e" );
ToFile( "SIZEOF_INT", "@SIZEOF_INT@", "e" );
ToFile( "SIZEOF_LONG", "@SIZEOF_LONG@", "e" );