[Buildroot] [PATCH 4/5] Enable ccache for cmake packages

Peter Korsgaard jacmet at uclibc.org
Wed Mar 6 19:52:23 UTC 2013


>>>>> "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 ;)

I bet a lot of (make based) build systems don't handle paths with spaces
either.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list