Status of ccache
Dan Smith
daniel.smith at oracle.com
Thu May 28 23:24:05 UTC 2015
> On May 25, 2015, at 2:38 AM, Erik Joelsson <erik.joelsson at oracle.com> wrote:
>
> On 2015-05-22 17:47, Dan Smith wrote:
>> JDK-8027584 disabled ccache by default, I gather because it doesn't work in Cygwin, and secondarily because of vague general problems with it.
>>
>> The documentation (README-builds.html) still unambiguously endorses it, although doesn't say anything about how to turn it on (configure with --enable-ccache).
>>
>> I'm curious about the current state of affairs, and suggest updating the documentation to reflect the answer.
>>
>> —Dan
> From README-builds.html in jdk9:
>
> <h4>Building with ccache</h4>
>
> <p>The OpenJDK build supports building with ccache
> when using gcc or clang. Using ccache can
> radically speed up compilation of native code if
> you often rebuild the same sources. Your milage
> may vary however so we recommend evaluating it for
> yourself. To enable it, make sure it's on the path
> and configure with <code>--enable-ccache</code>.</p>
>
> I wouldn't say that's endorsing ccache, but rather reflects the current state of things.
Sorry! Didn't see that updated text. Yeah, that's exactly what I was looking for.
When I read the readme, I was jumping around to different points in the history, so I must have read a stale version.
—Dan
More information about the build-dev
mailing list