<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Multi-processor building in Visual Studio 2005</title>
	<atom:link href="http://blog.280z28.org/archives/2007/10/17/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.280z28.org/archives/2007/10/17/</link>
	<description>Because it&#039;s easier than editing the HTML by hand.</description>
	<lastBuildDate>Sat, 30 Jan 2010 21:54:19 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Andy</title>
		<link>http://blog.280z28.org/archives/2007/10/17/comment-page-1/#comment-6973</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Wed, 15 Apr 2009 18:10:55 +0000</pubDate>
		<guid isPermaLink="false">http://blog.280z28.org/archives/2007/10/17/#comment-6973</guid>
		<description>&lt;p&gt;Unfortunately, the &quot;/MPx&quot; switch is beta or &quot;texhnology preview&quot; in VS2005.&lt;/p&gt;

&lt;p&gt;There are a host of undefined issues surrounding its use.&lt;/p&gt;

&lt;p&gt;For instance, if you build with Compile and Continue or fast (not full) Rebuild then the compilations might be invalid.&lt;/p&gt;

&lt;p&gt;We used the switch on our production build server for a while but noticed that every once in a while it would cause the build process to hang indefinitely (needing a reboot)&lt;/p&gt;

&lt;p&gt;In VS2008 Microsoft fixed a few issues and worked around some others by enforcing that you can no longer set invalid combinations of compiler switches.  For instance, since compile-and-continue was causing problems with &quot;/MPx&quot;, they made it an error to have those two configured at the same time.&lt;/p&gt;

&lt;p&gt;Because of the &quot;undefined behavior&quot; in VS2005, I&#039;m dropping &quot;/MP4&quot; from all our projects until we upgrade to VS2008 or VS2010.&lt;/p&gt;

&lt;p&gt;THe syntax is to say &quot;/MP&quot; followed by the number of processors you want to use, so &quot;/MP2&quot; is 2-processors and &quot;/MP4&quot; spreads over four processor.&lt;/p&gt;

&lt;p&gt;Sadly I cannot test if &quot;/MP64&quot; works, but I salivate thinking about it :-)&lt;/p&gt;

&lt;p&gt;Andy&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Unfortunately, the &#8220;/MPx&#8221; switch is beta or &#8220;texhnology preview&#8221; in VS2005.</p>

<p>There are a host of undefined issues surrounding its use.</p>

<p>For instance, if you build with Compile and Continue or fast (not full) Rebuild then the compilations might be invalid.</p>

<p>We used the switch on our production build server for a while but noticed that every once in a while it would cause the build process to hang indefinitely (needing a reboot)</p>

<p>In VS2008 Microsoft fixed a few issues and worked around some others by enforcing that you can no longer set invalid combinations of compiler switches.  For instance, since compile-and-continue was causing problems with &#8220;/MPx&#8221;, they made it an error to have those two configured at the same time.</p>

<p>Because of the &#8220;undefined behavior&#8221; in VS2005, I&#8217;m dropping &#8220;/MP4&#8243; from all our projects until we upgrade to VS2008 or VS2010.</p>

<p>THe syntax is to say &#8220;/MP&#8221; followed by the number of processors you want to use, so &#8220;/MP2&#8243; is 2-processors and &#8220;/MP4&#8243; spreads over four processor.</p>

<p>Sadly I cannot test if &#8220;/MP64&#8243; works, but I salivate thinking about it <img src='http://blog.280z28.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>

<p>Andy</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://blog.280z28.org/archives/2007/10/17/comment-page-1/#comment-3544</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Wed, 09 Jul 2008 19:50:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.280z28.org/archives/2007/10/17/#comment-3544</guid>
		<description>&lt;p&gt;@ftrocchi:&lt;/p&gt;

&lt;p&gt;In the Visual Studio options dialog, go to Project and Solutions &#124; Build and Run. There is a TextBox near the top of the window, with the text &quot;maximum number of parallel project builds&quot; next to it. Set this to the maximum number of projects that you want Visual Studio to build at one time. I believe by default this is set to the number of CPUs you have (including cores, hyperthreading, etc.).&lt;/p&gt;

&lt;p&gt;I&#039;m pretty sure that this is a feature new to Visual Studio 2005.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@ftrocchi:</p>

<p>In the Visual Studio options dialog, go to Project and Solutions | Build and Run. There is a TextBox near the top of the window, with the text &#8220;maximum number of parallel project builds&#8221; next to it. Set this to the maximum number of projects that you want Visual Studio to build at one time. I believe by default this is set to the number of CPUs you have (including cores, hyperthreading, etc.).</p>

<p>I&#8217;m pretty sure that this is a feature new to Visual Studio 2005.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Source-level parallel build in Visual Studio 2005 &#124; veracity</title>
		<link>http://blog.280z28.org/archives/2007/10/17/comment-page-1/#comment-2948</link>
		<dc:creator>Source-level parallel build in Visual Studio 2005 &#124; veracity</dc:creator>
		<pubDate>Fri, 15 Feb 2008 10:28:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.280z28.org/archives/2007/10/17/#comment-2948</guid>
		<description>&lt;p&gt;[...] what about VS 2005? I did some more searching and, lo and behold, found this blog entry which says the /MP  option is also available, but undocumented, in Visual Studio [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] what about VS 2005? I did some more searching and, lo and behold, found this blog entry which says the /MP  option is also available, but undocumented, in Visual Studio [...]</p>]]></content:encoded>
	</item>
	<item>
		<title>By: ftrocchi</title>
		<link>http://blog.280z28.org/archives/2007/10/17/comment-page-1/#comment-2738</link>
		<dc:creator>ftrocchi</dc:creator>
		<pubDate>Fri, 30 Nov 2007 13:00:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.280z28.org/archives/2007/10/17/#comment-2738</guid>
		<description>&lt;p&gt;Some questions about this:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;How do you &quot;setting the number of parallel project builds to 2&quot;?&lt;/li&gt;
&lt;li&gt;Do you know if this is available in Visual Studio 2k3?&lt;/li&gt;
&lt;/ol&gt;
</description>
		<content:encoded><![CDATA[<p>Some questions about this:</p>

<ol>
<li>How do you &#8220;setting the number of parallel project builds to 2&#8243;?</li>
<li>Do you know if this is available in Visual Studio 2k3?</li>
</ol>]]></content:encoded>
	</item>
	<item>
		<title>By: 280Z28</title>
		<link>http://blog.280z28.org/archives/2007/10/17/comment-page-1/#comment-2543</link>
		<dc:creator>280Z28</dc:creator>
		<pubDate>Wed, 31 Oct 2007 18:49:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.280z28.org/archives/2007/10/17/#comment-2543</guid>
		<description>&lt;p&gt;Sorry for the confusion. I added a screenshot of where this option goes. :)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Sorry for the confusion. I added a screenshot of where this option goes. <img src='http://blog.280z28.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>]]></content:encoded>
	</item>
	<item>
		<title>By: Tom</title>
		<link>http://blog.280z28.org/archives/2007/10/17/comment-page-1/#comment-2541</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Wed, 31 Oct 2007 10:36:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.280z28.org/archives/2007/10/17/#comment-2541</guid>
		<description>&lt;p&gt;Where do you set the /MP flag? The only place I could see was in Project-&gt;Properties-&gt;Configuration Properties-&gt;C/C++-&gt;Command Line-&gt;Advanced Options. Is this what you mean?&lt;/p&gt;

&lt;p&gt;Thanks.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Where do you set the /MP flag? The only place I could see was in Project-&gt;Properties-&gt;Configuration Properties-&gt;C/C++-&gt;Command Line-&gt;Advanced Options. Is this what you mean?</p>

<p>Thanks.</p>]]></content:encoded>
	</item>
</channel>
</rss>
