RESOLVED FIXED 177059
Turn on ccache for Mac cmake builds by default
https://bugs.webkit.org/show_bug.cgi?id=177059
Summary Turn on ccache for Mac cmake builds by default
Tim Horton
Reported 2017-09-17 14:41:17 PDT
Turn on ccache for Mac cmake builds by default
Attachments
Patch (4.59 KB, patch)
2017-09-17 14:41 PDT, Tim Horton
no flags
Patch (6.36 KB, patch)
2017-10-21 01:34 PDT, Tim Horton
no flags
Tim Horton
Comment 1 2017-09-17 14:41:38 PDT
Sam Weinig
Comment 2 2017-09-17 15:20:50 PDT
Are there any downsides? Is there a way to disable it if something goes wrong?
Tim Horton
Comment 3 2017-09-17 23:29:44 PDT
(In reply to Sam Weinig from comment #2) > Are there any downsides? 🤷‍♂️ (but for now this whole build path is totally experimental so it won't affect anyone) > Is there a way to disable it if something goes wrong? The zero people working on the Mac CMake build will know how :P We should probably add an environment variable, though, like we have for the currently-off-by-default Xcode version, and plumb it through build-webkit and friends.
Geoffrey Garen
Comment 4 2017-09-18 10:57:04 PDT
FWIW, I'd prefer an argument to build-webkit over an environment variable.
Sam Weinig
Comment 5 2017-09-18 13:07:42 PDT
(In reply to Geoffrey Garen from comment #4) > FWIW, I'd prefer an argument to build-webkit over an environment variable. (In reply to Tim Horton from comment #3) > (In reply to Sam Weinig from comment #2) > > Are there any downsides? > > 🤷‍♂️ > > (but for now this whole build path is totally experimental so it won't > affect anyone) > > > Is there a way to disable it if something goes wrong? > > The zero people working on the Mac CMake build will know how :P > > We should probably add an environment variable, though, like we have for the > currently-off-by-default Xcode version, and plumb it through build-webkit > and friends. Given this work is (probably) eventually going to have users, it would be good to get the infrastructure in place early (I, like Geoffrey, prefer a script to an environment variable).
Tim Horton
Comment 6 2017-09-18 13:14:18 PDT
(In reply to Sam Weinig from comment #5) > (In reply to Geoffrey Garen from comment #4) > > FWIW, I'd prefer an argument to build-webkit over an environment variable. > > (In reply to Tim Horton from comment #3) > > (In reply to Sam Weinig from comment #2) > > > Are there any downsides? > > > > 🤷‍♂️ > > > > (but for now this whole build path is totally experimental so it won't > > affect anyone) > > > > > Is there a way to disable it if something goes wrong? > > > > The zero people working on the Mac CMake build will know how :P > > > > We should probably add an environment variable, though, like we have for the > > currently-off-by-default Xcode version, and plumb it through build-webkit > > and friends. > > Given this work is (probably) eventually going to have users, it would be > good to get the infrastructure in place early (I, like Geoffrey, prefer a > script to an environment variable). When I said "an environment variable ... and plumb it through build-webkit and friends", I meant "an argument to build-webkit that sets the environment variable", which I think satisfies your desires? I think we want an environment variable underneath so that it can be set with e.g. `make` and `xcodebuild`, and so that it can be identical to the flag that we already use in `xcodebuild` (which is currently an enable flag instead of a disable flag, but ... identical to it once we flip it).
Tim Horton
Comment 7 2017-10-21 01:34:24 PDT
WebKit Commit Bot
Comment 8 2017-10-21 14:42:55 PDT
Comment on attachment 324498 [details] Patch Clearing flags on attachment: 324498 Committed r223818: <https://trac.webkit.org/changeset/223818>
WebKit Commit Bot
Comment 9 2017-10-21 14:42:57 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 10 2017-11-15 13:07:40 PST
Note You need to log in before you can comment on or make changes to this bug.