<?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>88717</bug_id>
          
          <creation_ts>2012-06-09 11:47:49 -0700</creation_ts>
          <short_desc>[EFL] Remove CMakeCache.txt before building</short_desc>
          <delta_ts>2012-07-16 10:32:23 -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>WebKit EFL</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>
          <dependson>91387</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Chris Dumez">cdumez</reporter>
          <assigned_to name="Chris Dumez">cdumez</assigned_to>
          <cc>d-r</cc>
    
    <cc>gyuyoung.kim</cc>
    
    <cc>gyuyoung.kim</cc>
    
    <cc>lucas.de.marchi</cc>
    
    <cc>mrobinson</cc>
    
    <cc>mxie</cc>
    
    <cc>rwlbuis</cc>
    
    <cc>tmpsantos</cc>
    
    <cc>tonikitoo</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>645376</commentid>
    <comment_count>0</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2012-06-09 11:47:49 -0700</bug_when>
    <thetext>The CMakeCache.txt file gets outdated when build DEFINES are changed (e.g. a feature is enabled). This leads to unexpected behavior when a flag such as &quot;SHADOW_DOM&quot; is added but is not taken into consideration because of the CMake cache. Newly unskipped tests will then fail on the bot because the functionality has not been enabled. This already happened several times.

As a consequence, I&apos;m proposing to edit the build script to remove the CMakeCache.txt before every build. This will effectively prevent this problem from happening again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>645378</commentid>
    <comment_count>1</comment_count>
      <attachid>146713</attachid>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2012-06-09 11:50:59 -0700</bug_when>
    <thetext>Created attachment 146713
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>645473</commentid>
    <comment_count>2</comment_count>
    <who name="Gyuyoung Kim">gyuyoung.kim</who>
    <bug_when>2012-06-10 03:57:36 -0700</bug_when>
    <thetext>I think CMakeCache.txt is still useful when we wanna build cmake project with other options. However, in this case, it looks we don&apos;t need to keep CMakeCache.txt because &quot;build-webkit --efl&quot;  always uses same build directory. To my quick test, there is no big performance gain when we use CMakeCache.txt. So, I agree with this removal.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>645801</commentid>
    <comment_count>3</comment_count>
    <who name="Dominik Röttsches (drott)">d-r</who>
    <bug_when>2012-06-11 00:46:57 -0700</bug_when>
    <thetext>LGTM, too. We need that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>646572</commentid>
    <comment_count>4</comment_count>
      <attachid>146713</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-06-11 20:04:42 -0700</bug_when>
    <thetext>Comment on attachment 146713
Patch

Clearing flags on attachment: 146713

Committed r120032: &lt;http://trac.webkit.org/changeset/120032&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>646573</commentid>
    <comment_count>5</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-06-11 20:04:48 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>657576</commentid>
    <comment_count>6</comment_count>
    <who name="Thiago Marcos P. Santos">tmpsantos</who>
    <bug_when>2012-06-26 06:49:18 -0700</bug_when>
    <thetext>*** Bug 87222 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>146713</attachid>
            <date>2012-06-09 11:50:59 -0700</date>
            <delta_ts>2012-06-11 20:04:42 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>88717_remove_cmake_cache.patch</filename>
            <type>text/plain</type>
            <size>1538</size>
            <attacher name="Chris Dumez">cdumez</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1Rvb2xzL0NoYW5nZUxvZyBiL1Rvb2xzL0NoYW5nZUxvZwppbmRleCA3OTMx
YmZlLi5hMTIwYzBkIDEwMDY0NAotLS0gYS9Ub29scy9DaGFuZ2VMb2cKKysrIGIvVG9vbHMvQ2hh
bmdlTG9nCkBAIC0xLDMgKzEsMTcgQEAKKzIwMTItMDYtMDkgIENocmlzdG9waGUgRHVtZXogIDxj
aHJpc3RvcGhlLmR1bWV6QGludGVsLmNvbT4KKworICAgICAgICBbRUZMXSBSZW1vdmUgQ01ha2VD
YWNoZS50eHQgYmVmb3JlIGJ1aWxkaW5nCisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJraXQub3Jn
L3Nob3dfYnVnLmNnaT9pZD04ODcxNworCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09Q
UyEpLgorCisgICAgICAgIFJlbW92ZSBDTWFrZSBjYWNoZSBmaWxlIGJlZm9yZSBldmVyeSBidWls
ZCB0byBhdm9pZCB1c2luZyBvdXRkYXRlZAorICAgICAgICBidWlsZCBmbGFncyB3aGVuIG5ldyBm
ZWF0dXJlcyBnZXQgZW5hYmxlZC4gVGhpcyB3aWxsIGF2b2lkIHVuZXhwZWN0ZWQKKyAgICAgICAg
ZmFpbHVyZXMgb24gdGhlIGJvdHMgZHVlIHRvIG91dGRhdGVkIGJ1aWxkIGZsYWdzL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