<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>116338</bug_id>
          
          <creation_ts>2013-05-17 11:58:22 -0700</creation_ts>
          <short_desc>[Windows] Don&apos;t use pdevenv when building with VS2010</short_desc>
          <delta_ts>2013-05-17 12:06:13 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Brent Fulgham">bfulgham</reporter>
          <assigned_to name="Brent Fulgham">bfulgham</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>commit-queue</cc>
    
    <cc>dbates</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>890561</commentid>
    <comment_count>0</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2013-05-17 11:58:22 -0700</bug_when>
    <thetext>Visual Studio 2005 did not provide a mode for running the build across multiple cores. Consequently, a manual load-splitting system (pdevenv) was created (see &lt;trac.webkit.org/changeset/23775&gt;) to spread the build across available hardware.

Visual Studio 2010 and newer now support the &quot;/MP&quot; flag, which does this for us without requiring Perl scripts or firing off bash shells to do the work.

The new VS2010 project files already have the &quot;/MP&quot; flag turned on.  So the only change needed is for our build scripts to avoid using pdevenv, since this would actually reduce performance compared to the native parallelization feature.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>890562</commentid>
    <comment_count>1</comment_count>
      <attachid>202132</attachid>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2013-05-17 12:00:20 -0700</bug_when>
    <thetext>Created attachment 202132
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>890564</commentid>
    <comment_count>2</comment_count>
      <attachid>202132</attachid>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2013-05-17 12:02:15 -0700</bug_when>
    <thetext>Comment on attachment 202132
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=202132&amp;action=review

r=me!

&gt; Tools/ChangeLog:11
&gt; +        * Scripts/webkitdirs.pm:
&gt; +        (setupCygwinEnv): Check if we are using VS2005, and only use
&gt; +        the &apos;pdevenv&apos; hack if we are. Otherwise, just build with
&gt; +        our standard project.

Might be worth mentioning somewhere in here that the VS2010 build is already compiling files in parallel.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>890567</commentid>
    <comment_count>3</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2013-05-17 12:06:13 -0700</bug_when>
    <thetext>Committed r150281: &lt;http://trac.webkit.org/changeset/150281&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>202132</attachid>
            <date>2013-05-17 12:00:20 -0700</date>
            <delta_ts>2013-05-17 12:02:13 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-116338-20130517115907.patch</filename>
            <type>text/plain</type>
            <size>1743</size>
            <attacher name="Brent Fulgham">bfulgham</attacher>
            
              <data encoding="base64">SW5kZXg6IFRvb2xzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBUb29scy9DaGFuZ2VMb2cJKHJl
dmlzaW9uIDE1MDI3OSkKKysr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</data>
<flag name="review"
          id="223546"
          type_id="1"
          status="+"
          setter="aroben"
    />
          </attachment>
      

    </bug>

</bugzilla>