I had this setup working a year or so ago. I was using the regular Mac "make" build.
Le dim. 7 mai 2017 à 19:28, Ben Kelly <b...@wanderview.com> a écrit : > Hi all, > > Does anyone have ccache (or an equivalent) working with local webkit > builds on mac? I've spent the last couple of days trying to figure out, > but have not had much luck. > > I've installed ccache via homebrew and its in my path. > Did the same. I had to ensure clang used by Xcode was the ccache proxy. Don't remember whether just setting CC/CXX in the command line works. When running make, you can see which clang is used. Maybe setting CC/CXX in Source/WebCore/Configurations/Base.xcconfig would do the trick (for WebCore). > I *do* see ccache being used if I do a `webkit-build --cmake`, but I can't > use run-safari or run-webkit-tests with a cmake build. I get an error like: > > Can't find built framework at > "/srv/WebKit/WebKitBuild/dev/Debug/JavaScriptCore.framework/Versions/A/JavaScriptCore". > I think the CMake build is not complete in terms of executable. It would be great if we could finalize it. Alex knows a lot about this. > If I do a non-cmake build I can successfully use run-safari and > run-webkit-tests, but it appears ccache is not used. It looks like its > going through the xcode CLI tools. I've searched for how to configure > xcode to use ccache, but everything suggests I need to hand modify the > project xcconfig. > > Can anyone recommend a good way to get local builds that work with > run-safari/run-webkit-tests and that use ccache? > > (FWIW, the main reason I want ccache is that touching any idl file appears > to trigger a rebuild of most of WebCore.) > Right, this is a known limitation of the current build system and something that would be good to improve on.
_______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev