WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
207838
[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
Details
Formatted Diff
Diff
Patch
(2.13 KB, patch)
2020-02-17 08:49 PST
,
Philippe Normand
clopez
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Philippe Normand
Comment 1
2020-02-17 06:20:02 PST
Created
attachment 390916
[details]
Patch
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
Created
attachment 390924
[details]
Patch
Philippe Normand
Comment 5
2020-02-19 04:50:23 PST
Committed
r256917
: <
https://trac.webkit.org/changeset/256917
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug