Title: [244396] trunk
Revision
244396
Author
[email protected]
Date
2019-04-17 12:50:10 -0700 (Wed, 17 Apr 2019)

Log Message

Automatically use ccache when available for Makefile builds
https://bugs.webkit.org/show_bug.cgi?id=197020

Reviewed by Alex Christensen.

* Makefile.shared:

Modified Paths

Diff

Modified: trunk/ChangeLog (244395 => 244396)


--- trunk/ChangeLog	2019-04-17 19:46:10 UTC (rev 244395)
+++ trunk/ChangeLog	2019-04-17 19:50:10 UTC (rev 244396)
@@ -1,3 +1,12 @@
+2019-04-17  Jer Noble  <[email protected]>
+
+        Automatically use ccache when available for Makefile builds
+        https://bugs.webkit.org/show_bug.cgi?id=197020
+
+        Reviewed by Alex Christensen.
+
+        * Makefile.shared:
+
 2019-04-16  Don Olmstead  <[email protected]>
 
         [CMake] Set WTF_SCRIPTS_DIR

Modified: trunk/Makefile.shared (244395 => 244396)


--- trunk/Makefile.shared	2019-04-17 19:46:10 UTC (rev 244395)
+++ trunk/Makefile.shared	2019-04-17 19:50:10 UTC (rev 244396)
@@ -38,6 +38,12 @@
 	XCODE_OPTIONS += SDK_VARIANT="$(SDK_VARIANT)"
 endif
 
+ifeq (, $(findstring WK_USE_CCACHE, $(ARGS)))
+	ifneq (, $(shell which ccache))
+		XCODE_OPTIONS += WK_USE_CCACHE=YES
+	endif
+endif
+
 DEFAULT_VERBOSITY := $(shell defaults read org.webkit.BuildConfiguration BuildTranscriptVerbosity 2>/dev/null || echo "default")
 VERBOSITY ?= $(DEFAULT_VERBOSITY)
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to