<?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>116662</bug_id>
          
          <creation_ts>2013-05-23 05:59:09 -0700</creation_ts>
          <short_desc>[CMake] Fix detection of x86_64 platform with MSVC</short_desc>
          <delta_ts>2013-09-04 02:39:22 -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>Unspecified</rep_platform>
          <op_sys>Unspecified</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="Patrick R. Gansterer">paroga</reporter>
          <assigned_to name="Patrick R. Gansterer">paroga</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>gyuyoung.kim</cc>
    
    <cc>laszlo.gombos</cc>
    
    <cc>rakuco</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>892770</commentid>
    <comment_count>0</comment_count>
    <who name="Patrick R. Gansterer">paroga</who>
    <bug_when>2013-05-23 05:59:09 -0700</bug_when>
    <thetext>[CMake] Fix detection of x86_64 platform with MSVC</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>892772</commentid>
    <comment_count>1</comment_count>
      <attachid>202671</attachid>
    <who name="Patrick R. Gansterer">paroga</who>
    <bug_when>2013-05-23 06:05:06 -0700</bug_when>
    <thetext>Created attachment 202671
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>902201</commentid>
    <comment_count>2</comment_count>
    <who name="Laszlo Gombos">laszlo.gombos</who>
    <bug_when>2013-06-20 10:28:05 -0700</bug_when>
    <thetext>Some ports are delegating build decisions to the C files and do not expose CPU variables to the build system. This logic is mostly already cross-platform. Can we explore that option for CMake as well ? 

Only CPU variable that seems to be used in CMake is WTF_CPU_ARM. Can the other WTF_CPU_XXX variables removed ? 

Can we remove WTF_CPU_ARM as well  - for example assembler/ARMv7Assembler.cpp is already guarded with CPU(ARM_THUMB2), which seems to be a more specific guard.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>902251</commentid>
    <comment_count>3</comment_count>
    <who name="Patrick R. Gansterer">paroga</who>
    <bug_when>2013-06-20 12:07:57 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; Some ports are delegating build decisions to the C files and do not expose CPU variables to the build system. This logic is mostly already cross-platform. Can we explore that option for CMake as well ? 
&gt; 
&gt; Only CPU variable that seems to be used in CMake is WTF_CPU_ARM. Can the other WTF_CPU_XXX variables removed ? 
&gt; 
&gt; Can we remove WTF_CPU_ARM as well  - for example assembler/ARMv7Assembler.cpp is already guarded with CPU(ARM_THUMB2), which seems to be a more specific guard.

I need to add some (different) assembler files depending on the WTF_CPU to the build systems. AFAIK MS assembler has no possibility for a #if CPU(XXX), so I don&apos;t see an other chance. :-/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>912800</commentid>
    <comment_count>4</comment_count>
    <who name="Patrick R. Gansterer">paroga</who>
    <bug_when>2013-07-30 05:38:55 -0700</bug_when>
    <thetext>ping?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>916692</commentid>
    <comment_count>5</comment_count>
      <attachid>202671</attachid>
    <who name="Raphael Kubo da Costa (:rakuco)">rakuco</who>
    <bug_when>2013-08-13 07:26:24 -0700</bug_when>
    <thetext>Comment on attachment 202671
Patch

LGTM, but I&apos;d add a comment before the string(TOLOWER ...) with the same explanation you have in the ChangeLog.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>917430</commentid>
    <comment_count>6</comment_count>
      <attachid>202671</attachid>
    <who name="Gyuyoung Kim">gyuyoung.kim</who>
    <bug_when>2013-08-14 23:07:58 -0700</bug_when>
    <thetext>Comment on attachment 202671
Patch

rs=me, but, please land after adjusting kubo&apos;s comment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>924332</commentid>
    <comment_count>7</comment_count>
    <who name="Patrick R. Gansterer">paroga</who>
    <bug_when>2013-09-04 02:39:22 -0700</bug_when>
    <thetext>Committed r154978: &lt;http://trac.webkit.org/changeset/154978&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>202671</attachid>
            <date>2013-05-23 06:05:06 -0700</date>
            <delta_ts>2013-08-14 23:07:58 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-116662.patch</filename>
            <type>text/plain</type>
            <size>1933</size>
            <attacher name="Patrick R. Gansterer">paroga</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL0NNYWtlTGlzdHMudHh0IGIvQ01ha2VMaXN0cy50eHQKaW5kZXggMjgxZjk0
YS4uZDhiZDZiOCAxMDA2NDQKLS0tIGEvQ01ha2VMaXN0cy50eHQKKysrIGIvQ01ha2VMaXN0cy50
eHQKQEAgLTY3LDE3ICs2NywyMSBAQCBmaW5kX3BhY2thZ2UoUnVieSAxLjguNykKICMgLS0tLS0t
LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
LS0tLS0tLS0tLS0tLS0KICMgRGV0ZXJtaW5lIHRoZSB0YXJnZXQgcHJvY2Vzc29yCiAjIC0tLS0t
LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
LS0tLS0tLS0tLS0tLS0tCi1zdHJpbmcoV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id="224070"
          type_id="1"
          status="+"
          setter="gyuyoung.kim"
    />
    <flag name="commit-queue"
          id="224071"
          type_id="3"
          status="-"
          setter="gyuyoung.kim"
    />
          </attachment>
      

    </bug>

</bugzilla>