Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 482ed64543aac9c9d9224df953d87d4c3f07f2ba
      
https://github.com/WebKit/WebKit/commit/482ed64543aac9c9d9224df953d87d4c3f07f2ba
  Author: Nikolas Zimmermann <[email protected]>
  Date:   2026-06-02 (Tue, 02 Jun 2026)

  Changed paths:
    M Source/cmake/WebKitMacros.cmake

  Log Message:
  -----------
  [CMake] Emit the Swift C++ interop header temp beside its swiftmodule instead 
of under DerivedSources
https://bugs.webkit.org/show_bug.cgi?id=316135

Reviewed by Geoffrey Garen.

WebKit-Swift-CPP.h.tmp is an untracked side effect of the Swift compile, but it
lives under DerivedSources, while the copy that consumes it depends only on
the .swiftmodule in the target binary dir. This affected our GTK/Swift-enabled
CI builders, which run a `clean-derived-sources` step that wipes the temp 
without
invalidating the cached swiftmodule, so on a reused tree ninja re-runs the copy 
but
never the compile that emits the temp, and copy_if_different fails with
a missing source...

Emit the temp beside the swiftmodule (co-produced by the same swiftc call) so a
clean removes both or neither. The header and stamp stay in DerivedSources.

* Source/cmake/WebKitMacros.cmake:

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



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

Reply via email to