You have to provide your own ccache binary, then it should work (but I
haven't tested it).

That being said, using ccache will actually slow down your builds, as it
needs to do extra IO maintaining the cache. It really only helps if you're
repeatedly doing clean rebuilds, in which case why aren't you using
incremental builds? (It also only affects 1/3-1/2 of the build, as the rest
of the actions are Java/etc)

- Dan

On Sun, Jan 19, 2020 at 2:41 PM Eliane Fonseca <[email protected]>
wrote:

> I trying to use ccache with newer AOSP (9, 10) to attempt to speed up
> compiling time,but it looks like ccache is not being used even with the
> environment variables set. It is still possible to use ccache with AOSP 9
> or 10? If not there are any alternatives and how I can use them ? Since
> my hardware is very underpowered (1 GHz CPU with auto-overclocking) I need
> to speed up the build time with the newer AOSP.
>
> --
> --
> You received this message because you are subscribed to the "Android
> Building" mailing list.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-building?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Android Building" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/android-building/f7b5d95e-6e73-4efd-9266-360db2b2fcbe%40googlegroups.com
> <https://groups.google.com/d/msgid/android-building/f7b5d95e-6e73-4efd-9266-360db2b2fcbe%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/CALQgHdmTj2k9%2BGbekZfMAH424YiAa-LprbnXO1cGuM-4tk5RuQ%40mail.gmail.com.

Reply via email to