[Webkit-unassigned] [Bug 201118] New: REGRESSION (r241660): CachedTypes.cpp is always recompiled during incremental builds because the Derived Sources build phase always touches BytecodeCacheVersion.h

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Aug 24 11:21:40 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=201118

            Bug ID: 201118
           Summary: REGRESSION (r241660): CachedTypes.cpp is always
                    recompiled during incremental builds because the
                    Derived Sources build phase always touches
                    BytecodeCacheVersion.h
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: aestes at apple.com

--- trunk/Source/JavaScriptCore/DerivedSources.make     2019-02-18 09:12:48 UTC (rev 241659)
+++ trunk/Source/JavaScriptCore/DerivedSources.make     2019-02-18 10:20:28 UTC (rev 241660)
@@ -356,3 +356,10 @@
 all : \
     $(OBJECT_LUT_HEADERS) \
 #
+
+.PHONY : BytecodeCacheVersion.h
+
+BytecodeCacheVersion.h:
+       echo "#define JSC_BYTECODE_CACHE_VERSION $(shell date '+%s')" > BytecodeCacheVersion.h
+
+all : BytecodeCacheVersion.h

BytecodeCacheVersion.h has no dependencies, so it's always updated with the current date when the Derived Sources build phase runs. CachedTypes.cpp includes BytecodeCacheVersion.h.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190824/98e8e453/attachment-0001.html>


More information about the webkit-unassigned mailing list