[Buildroot] [PATCH 1/1] package/pkg-cmake: Use CMAKE_<LANG>_COMPILER_LAUNCHER for ccache
Baruch Siach
baruch at tkos.co.il
Thu Mar 9 04:27:20 UTC 2017
Hi Daniel,
On Thu, Mar 09, 2017 at 12:09:11PM +1100, Daniel Black wrote:
> Since cmake version 3.4.3 CMAKE_<LANG>_COMPILER_LAUNCHER is used as
> the way to invoke things like ccache. We set this to ccache for
> the host and for cross compilers in toolchain.cmake.in. This
> leaves CMAKE_<C,CXX>_COMPILER pointing at the real compiler and
> still uses ccache.
>
> ref: https://cmake.org/cmake/help/v3.4/variable/CMAKE_LANG_COMPILER_LAUNCHER.html
Currently the oldest version of host installed cmake version that Buildroot
supports is 3.1. If the dependency checker finds cmake 3.1 and newer installed
on the host, Buildroot will use it. For your patch to work, you need to bump
the minimum to 3.4.3. See support/dependencies/check-host-cmake.mk.
baruch
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
More information about the buildroot
mailing list