RESOLVED FIXED207838
[GTK][WPE] Set ccache as compiler launcher, add opt-in sccache support
https://bugs.webkit.org/show_bug.cgi?id=207838
Summary [GTK][WPE] Set ccache as compiler launcher, add opt-in sccache support
Philippe Normand
Reported 2020-02-17 06:16:24 PST
.
Attachments
Patch (1.83 KB, patch)
2020-02-17 06:20 PST, Philippe Normand
no flags
Patch (2.13 KB, patch)
2020-02-17 08:49 PST, Philippe Normand
clopez: review+
Philippe Normand
Comment 1 2020-02-17 06:20:02 PST
Carlos Alberto Lopez Perez
Comment 2 2020-02-17 08:05:51 PST
Comment on attachment 390916 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=390916&action=review > Source/cmake/WebKitCCache.cmake:6 > set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ${CMAKE_SOURCE_DIR}/Tools/ccache/ccache-wrapper) I don't like much the idea of calling a bash wrapper instead of ccache directly just to export two environment variables. I think exporting this environment variables can be done also by CMake and we can call ccache directly avoiding the overhead of calling as extra env+bash for each compilation unit.
Philippe Normand
Comment 3 2020-02-17 08:33:14 PST
Comment on attachment 390916 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=390916&action=review >> Source/cmake/WebKitCCache.cmake:6 >> set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ${CMAKE_SOURCE_DIR}/Tools/ccache/ccache-wrapper) > > I don't like much the idea of calling a bash wrapper instead of ccache directly just to export two environment variables. > I think exporting this environment variables can be done also by CMake and we can call ccache directly avoiding the overhead of calling as extra env+bash for each compilation unit. OK then I won't touch this Mac-specific code. Actually I don't think we need those vars for GTK/WPE. Besides, the ccache-wrapper is called by the "clang-wrapper"...
Philippe Normand
Comment 4 2020-02-17 08:49:53 PST
Philippe Normand
Comment 5 2020-02-19 04:50:23 PST
Note You need to log in before you can comment on or make changes to this bug.