Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[Xcode] Compute PGO profdata paths instead of searching for them at b…
…uild time https://bugs.webkit.org/show_bug.cgi?id=239681 Reviewed by Alexey Proskuryakov. Production builds should always use profdata from the SDK, internal release builds should use profdata from the local WebKitAdditions, and everyone else should use the stub profdata. Add a PROFILE_DATA_PATH build setting which implements these rules and replace the script phases that checked those paths dynamically. This fixes XCBuild validation issues in the open-source build, and should prevent production builders from using stale profdata in BUILT_PRODUCTS_DIR. Additionally, engineers can now build with custom profile data by overriding PROFILE_DATA_PATH. If PROFILE_DATA_PATH does not appear to be raw LLVM profiling data, it is decoded using compression_tool(1). * Source/JavaScriptCore/Configurations/JavaScriptCore.xcconfig: * Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj: * Source/WebKit/Configurations/BaseTarget.xcconfig: * Source/WebKit/WebKit.xcodeproj/project.pbxproj: * Source/WebCore/Configurations/WebCore.xcconfig: * Source/WebCore/WebCore.xcodeproj/project.pbxproj: Canonical link: https://commits.webkit.org/249997@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@293442 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
9 changed files
with
68 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters