[Buildroot] [PATCH 4/5] Enable ccache for cmake packages
Luca Ceresoli
luca at lucaceresoli.net
Tue Mar 12 07:38:42 UTC 2013
Peter Korsgaard wrote:
>>>>>> "Samuel" == Samuel Martin <s.martin49 at gmail.com> writes:
> Samuel> Hi Lucas,
> Samuel> 2013/3/6 Luca Ceresoli <luca at lucaceresoli.net>:
> >> CMake fails in detecting the compiler when ccache is used. Add a wrapper
> >> script to make it happy.
>
> Samuel> It is possible to do this without any wrapper, setting
> Samuel> CMAKE_C_COMPILER and CMAKE_CXX_COMPILER to the ccache binary path, and
> Samuel> CMAKE_C_COMPILER_ARG1 and CMAKE_CXX_COMPILER_ARG1 to the actual
> Samuel> C-compiler, respectively to the C++-compiler.
>
> Samuel> BTW, note that we currently don't handle space in the paths at all;
> Samuel> hope that nobody triggers issues related to this ;)
>
> Luca, could you respin the patch to do this instead?
>
Sure, will do.
Luca
More information about the buildroot
mailing list