Limit source parallelisation to NUMBER_OF_PROCESSORS
authorShabe Razvi <shaber@symbian.org>
Thu, 18 Jun 2009 13:29:37 +0100
changeset 163 fc4460f54beb
parent 162 5518b5ef3056
child 164 9a13f5f790ee
Limit source parallelisation to NUMBER_OF_PROCESSORS
common/templates/source-spec.ant.xml.ftl
--- a/common/templates/source-spec.ant.xml.ftl	Thu Jun 18 13:21:43 2009 +0100
+++ b/common/templates/source-spec.ant.xml.ftl	Thu Jun 18 13:29:37 2009 +0100
@@ -71,7 +71,7 @@
 
 <target name="all" depends="reset-bom-sources-csv">
 
-  <parallel>
+  <parallel threadCount="${ant['env.NUMBER_OF_PROCESSORS']}">
     ${sync_list}
   </parallel>