[Webkit-unassigned] [Bug 239681] New: [Xcode] Compute PGO profdata paths instead of searching for them at build time

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 22 18:09:46 PDT 2022


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

            Bug ID: 239681
           Summary: [Xcode] Compute PGO profdata paths instead of
                    searching for them at build time
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: emw at apple.com

Currently, the "Copy Profiling Data" script phases find profdata to use by checking BUILT_PRODUCTS_DIR, then the SDK, and finally falling back to the default profdata stub in SRCROOT. This can cause problems if stale profdata is present in BUILT_PRODUCTS_DIR and a production build is updating SDK content. It also confuses XCBuild's dependency validation on open-source builds, because the build system expects the SDK and WebKitAdditions paths to always exist.

Instead of this dynamic approach, we can compute the expected path in xcconfigs, based on the active build settings.

-- 
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/20220423/f495b0d9/attachment.htm>


More information about the webkit-unassigned mailing list