--- a/common/build.xml Tue Aug 18 15:39:56 2009 +0100
+++ b/common/build.xml Wed Aug 19 16:13:04 2009 +0100
@@ -27,6 +27,12 @@
<property name="build.system" value="${sf.spec.build.system}"/>
<property name="base_release.path" value="${sf.spec.baseline.location}"/>
<property name="base_release.getenv_options" value="${sf.spec.baseline.getenv_options}"/>
+ <if>
+ <isset property="sf.spec.sbs.numberofjobs"/>
+ <then>
+ <property name="number.of.threads" value="${sf.spec.sbs.numberofjobs}"/>
+ </then>
+ </if>
<!-- SF-specific Helium properties not meant to be exposed in the project spec -->
<property name="diamonds.listener.configuration.file" location="${sf.common.config.dir}/diamonds/config.xml.ftl"/>
--- a/common/common_props.ant.xml Tue Aug 18 15:39:56 2009 +0100
+++ b/common/common_props.ant.xml Wed Aug 19 16:13:04 2009 +0100
@@ -19,6 +19,10 @@
<property name="sf.spec.sbs.config" value="armv5"/>
+ <!-- When not set -j option is to: 2 X NUMBER_OF_PROCESSORS
+ <property name="sf.spec.sbs.numberofjobs" value="2"/>
+ -->
+
<property name="sf.spec.build.target" value="all"/>
<property name="sf.spec.build.variant" value=""/>
<property name="sf.spec.build.productioncode.enable" value="true"/>
--- a/sf-package/package_props.ant.xml Tue Aug 18 15:39:56 2009 +0100
+++ b/sf-package/package_props.ant.xml Wed Aug 19 16:13:04 2009 +0100
@@ -21,6 +21,7 @@
<property name="sf.spec.sysdef.configurations.list" value="SF"/>
<property name="sf.spec.sbs.config" value="winscw"/>
+ <property name="sf.spec.sbs.numberofjobs" value="2"/>
<property name="sf.spec.logs.raptorfilter.enable" value="false"/>