Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 47f870f0e716f227d03ec0687d0a7d346cd193ba
https://github.com/WebKit/WebKit/commit/47f870f0e716f227d03ec0687d0a7d346cd193ba
Author: Fujii Hironori <[email protected]>
Date: 2026-10-07 (Wed, 07 Oct 2026)
Changed paths:
M Tools/Scripts/swift/swiftc-wrapper.py
Log Message:
-----------
[CMake] Swift modules recompile on every build on Linux because the depfile
lists swiftc's virtual libstdc++ module.modulemap
https://bugs.webkit.org/show_bug.cgi?id=326644
Reviewed by Zak Ridouh.
On Linux, swiftc overlays its libstdcxx.modulemap onto the libstdc++
include directory through a virtual file system, and reports that
virtual module.modulemap as a dependency. The file does not exist on
disk, so ninja considered the rebuild trigger edge always dirty and
rebuild_trigger.py treated it as changed, recompiling the Swift module
on every build.
Drop dependencies that do not exist on disk when merging the depfile.
* Tools/Scripts/swift/swiftc-wrapper.py:
(write_ninja_depfile):
Canonical link: https://commits.webkit.org/323047@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications