Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: cfb222f3c4d1632e4bb21c18f57db2117dc11c40
      
https://github.com/WebKit/WebKit/commit/cfb222f3c4d1632e4bb21c18f57db2117dc11c40
  Author: Elliott Williams <[email protected]>
  Date:   2026-07-31 (Fri, 31 Jul 2026)

  Changed paths:
    M Source/JavaScriptCore/CMakeLists.txt
    M Source/WTF/wtf/CMakeLists.txt
    M Source/WebCore/CMakeLists.txt
    M Source/WebCore/PAL/pal/CMakeLists.txt
    M Source/WebKit/CMakeLists.txt
    M Source/WebKitLegacy/CMakeLists.txt
    M Source/bmalloc/CMakeLists.txt
    M Source/cmake/WebKitMacros.cmake
    M Source/cmake/ninja-wrapper

  Log Message:
  -----------
  [CMake] Run cleandead at the end of configuration to delete stale files
https://bugs.webkit.org/show_bug.cgi?id=320723
rdar://183704798

Reviewed by Richard Robinson and Zak Ridouh.

`ninja -t cleandead` deletes files from the log that are no longer part
of the build graph. By hacking ninja-wrapper, we can force a cleandead
run whenever CMake regenerates the build. This enables us to clean up
the PRUNE_STALE mechanism that was added to do cleaning for headers
specifically, in favor of a broader and more general approach.

CMake used to run cleandead automatically, but it was removed because
some projects depended on stale content being persisted between
rebuilds. I don't think WebKit is affected by any such use cases, so we
can be more aggressive here.

* Source/JavaScriptCore/CMakeLists.txt:
* Source/WTF/wtf/CMakeLists.txt:
* Source/WebCore/CMakeLists.txt:
* Source/WebCore/PAL/pal/CMakeLists.txt:
* Source/WebKit/CMakeLists.txt:
* Source/WebKitLegacy/CMakeLists.txt:
* Source/bmalloc/CMakeLists.txt:
* Source/cmake/WebKitMacros.cmake:
* Source/cmake/ninja-wrapper:

Canonical link: https://commits.webkit.org/318333@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to