[ccache] Fwd: .ccache record full path

Karanam Suryanarayana Rao Venkata Krishna venkatakrishna.karanamsuryana at gmail.com
Fri Nov 3 08:33:30 UTC 2017


Hello,
I guess the following conversations will help you(from Android O's point of
view)

https://www.mail-archive.com/ccache@lists.samba.org/msg01383.html #You need
a newer version of ccache than what google ships in prebuilts/ in order to
rewrite absolute paths in .d files
https://github.com/ccache/ccache/pull/201 # a bug fix to the above feature.
The bug shows up if cache hit occurs in preprocessor mode.

Hope this helps.



On Thu, Oct 26, 2017 at 9:37 AM, 宋宋俊慶 via ccache <ccache at lists.samba.org>
wrote:

> Hi, I saw .ccache record full build source code path, it will not re-use in
> different directory, even same source code.
> Android N doesn't have this issue?
> Does Android O need set other flag?
>
> I posted a part of content for reference.
>
> out/target/product/NB1/obj/EXECUTABLES/toybox_intermediates/toys/posix/
> chgrp.o:
> \   --> Android N
>   external/toybox/toys/posix/chgrp.c external/toybox/toys.h \  -->
> Android N
>   external/toybox/generated/config.h external/toybox/lib/portability.h
> \  --> Android N
>   bionic/libc/include/features.h bionic/libc/include/sys/cdefs.h \  -->
> Android N
>   bionic/libc/include/android/api-level.h \  --> Android N
>   bionic/libc/include/android/versioning.h \  --> Android N
>   bionic/libc/include/sys/types.h \  --> Android N
>   /home/cm/android_o/LINUX/android/prebuilts/clang/host/linux-
> x86/clang-3859424/bin/../lib64/clang/4.0.285906/include/stddef.h \   -->
> Android O
>   bionic/libc/include/stdint.h bionic/libc/include/bits/wchar_limits.h
> \  --> Android N
>   bionic/libc/kernel/uapi/linux/types.h \  --> Android N
>   bionic/libc/kernel/uapi/asm-arm64/asm/types.h \  --> Android N
>   bionic/libc/kernel/uapi/asm-generic/types.h \  --> Android N
>   bionic/libc/kernel/uapi/asm-generic/int-ll64.h \  --> Android N
>
> Thanks
> _______________________________________________
> ccache mailing list
> ccache at lists.samba.org
> https://lists.samba.org/mailman/listinfo/ccache
>


More information about the ccache mailing list