Add timing information to build output
authorkrollin@apple.com <krollin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 20 Feb 2019 01:31:11 +0000 (01:31 +0000)
committerkrollin@apple.com <krollin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 20 Feb 2019 01:31:11 +0000 (01:31 +0000)
https://bugs.webkit.org/show_bug.cgi?id=194839
<rdar://problem/48219609>

Reviewed by Alexey Proskuryakov.

Configure xcodebuild with -ShowBuildOperationDuration, causing it to
emit each project's build time to its output. E.g.,

    ** BUILD SUCCEEDED ** [0.132 sec]

* Scripts/webkitdirs.pm:
(XcodeOptions):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@241786 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/ChangeLog
Tools/Scripts/webkitdirs.pm

index d4b0f29..cd6b717 100644 (file)
@@ -1,3 +1,19 @@
+2019-02-19  Keith Rollin  <krollin@apple.com>
+
+        Add timing information to build output
+        https://bugs.webkit.org/show_bug.cgi?id=194839
+        <rdar://problem/48219609>
+
+        Reviewed by Alexey Proskuryakov.
+
+        Configure xcodebuild with -ShowBuildOperationDuration, causing it to
+        emit each project's build time to its output. E.g.,
+
+            ** BUILD SUCCEEDED ** [0.132 sec]
+
+        * Scripts/webkitdirs.pm:
+        (XcodeOptions):
+
 2019-02-19  Truitt Savell  <tsavell@apple.com>
 
         Unreviewed, rolling out r241784.
index e66034a..f7835e2 100755 (executable)
@@ -910,6 +910,7 @@ sub XcodeOptions
     my @options;
     push @options, "-UseNewBuildSystem=NO";
     push @options, "-UseSanitizedBuildSystemEnvironment=YES";
+    push @options, "-ShowBuildOperationDuration=YES";
     push @options, ("-configuration", $configuration);
     push @options, ("-xcconfig", sourceDir() . "/Tools/asan/asan.xcconfig", "ASAN_IGNORE=" . sourceDir() . "/Tools/asan/webkit-asan-ignore.txt") if $asanIsEnabled;
     push @options, "WK_LTO_MODE=$ltoMode" if $ltoMode;