<?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>264808</bug_id>
          
          <creation_ts>2023-11-14 05:10:24 -0800</creation_ts>
          <short_desc>[CMake] build-webkit script should check env var BUILD_WEBKIT_ARGS when checking if the cache should be cleaned</short_desc>
          <delta_ts>2023-11-23 11:25:15 -0800</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>WebKit 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>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Carlos Alberto Lopez Perez">clopez</reporter>
          <assigned_to name="Carlos Alberto Lopez Perez">clopez</assigned_to>
          <cc>cgarcia</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1992433</commentid>
    <comment_count>0</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2023-11-14 05:10:24 -0800</bug_when>
    <thetext>The script build-webkit caches the parameters passed to it in order to clean the CMake cache if the developer changes those from one invocation to the next one.

The issue is that we support passing parameters also via the environment variable BUILD_WEBKIT_ARGS (which we use on the bots)
But we are not checking the values from this env var when deciding to clean the cache or not.

So it happens that if you change this environment variable with new values the CMake cache will not be clean automatically.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1992434</commentid>
    <comment_count>1</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2023-11-14 05:15:21 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/20477</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1994571</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-11-23 11:24:19 -0800</bug_when>
    <thetext>Committed 271085@main (183e4e8088af): &lt;https://commits.webkit.org/271085@main&gt;

Reviewed commits have been landed. Closing PR #20477 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1994572</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-11-23 11:25:15 -0800</bug_when>
    <thetext>&lt;rdar://problem/118752244&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>