>From http://dev.chromium.org/developers/how-tos/build-instructions-windows

Ensure that /MP is enabled.  You can do this by creating a file called inc
lude.gypi which contains the following lines:
   {
     'variables': {
       'msvs_multi_core_compile': 1
     }
   }

Put this file in a folder called .gyp under your home directory.  On
Windows, this will be something like: C:\Documents and
Settings\<username>\.gyp\include.gypi, or if you are on Vista:
C:\Users\<username>\.gyp\include.gypi. Make sure you run"gclient runhooks
--force" after creating this file to rebuild the project files, forcing GYP
to output /MP.



Btw, A month or two back someone posted build times from 2005 and 2008.
 2005 was faster.


On Thu, Oct 29, 2009 at 2:40 PM, Ben Goodger (Google) <b...@chromium.org>wrote:

> It does seem slower, however never having to remember to patch the
> appropriate vsprops/gypi with /MP is a big win. When I was ordering the new
> machines I found most people on the team I asked were not doing this, and as
> a result their builds were 2-3x slower.
>
> -Ben
>
> On Thu, Oct 29, 2009 at 2:38 PM, Mike Belshe <mbel...@google.com> wrote:
>
>> I've been using VS2008 on Win7 for the last month or so.
>>
>> I hate it.
>>
>> Problems:
>>
>> 1) Stepping in the debugger is SOOOOOOO slow.  I am thinking about going
>> back to VS2005.
>> 2) If you turn on Intellisense, it crashes like crazy very regularly.
>>  I've turned off intellisense, but it is a big loss in productivity to do so
>>
>> I strongly recommend against VS2008; do others have these problems?
>>
>> Mike
>>
>>
>> On Thu, Oct 29, 2009 at 2:27 PM, Ben Goodger (Google) 
>> <b...@chromium.org>wrote:
>>
>>> FYI.
>>>
>>> VS2008 builds with /MP by default, and it's well supported, so when
>>> present there's no reason for us to not use it by default. Note that you can
>>> still force VS2005 by setting GYP_MSVS_VERSION=2005 in your environment.
>>>
>>> Thanks Brad!
>>>
>>> -Ben
>>>
>>> ---------- Forwarded message ----------
>>> From: <b...@chromium.org>
>>> Date: Thu, Oct 29, 2009 at 2:26 PM
>>> Subject: Re: Switching vs2008 to be preferred when present.
>>> To: bradnel...@google.com
>>> Cc: gyp-develo...@googlegroups.com
>>>
>>>
>>> LGTM
>>>
>>>
>>> http://codereview.chromium.org/341041
>>>
>>>
>>>
>>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to