Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 1/1] package/pkg-cmake: Use CMAKE_<LANG>_COMPILER_LAUNCHER for ccache
Date: Tue, 14 Mar 2017 23:04:50 +0100	[thread overview]
Message-ID: <20170314230450.329e7033@free-electrons.com> (raw)
In-Reply-To: <d114f6b4-17cb-b833-a34c-34a0bedc498b@au1.ibm.com>

Hello,

On Tue, 14 Mar 2017 09:24:25 +1100, Daniel Black wrote:

> > On 09-03-17 06:07, Daniel Black wrote:  
> >> Since cmake version 3.4.0 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.
> >>
> >> Update minimium dependency version in check-host-cmake.mk accordingly.  
> > 
> >  This is very unfortunate, it means a substantial slowdown in the build for
> > people who have an older system CMake.  
> 
> I didn't think it was that substantial for a one-off host package
> upgrade. I do realize it is a non-zero imposition for that installed
> cmake before it was updated to 3.4.0 in
> 7453c4bf6010b3a8dd794c39e327641abea15503 (Nov 13 2015).
> 
> >  Although it is indeed cleaner to handle ccache this way, I don't think it
> > really fixes anything, does it?  
> 
> Might fix some subtle build errors for packages that do odd things
> however no, there isn't an definite breakage I can point to.
> 
> > In that case, I think we should just stick with
> > the old way of doing things. We can revisit when we need to CMake 3.4 for some
> > other package.  
> 
> Works for me.

Thanks for your feedback, and to Arnout for reviewing the patch.
Following your discussion, I've marked the patch as "Rejected" in
patchwork.

Best regards,

Thomas Petazzoni
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

  reply	other threads:[~2017-03-14 22:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-09  1:09 [Buildroot] [PATCH 1/1] package/pkg-cmake: Use CMAKE_<LANG>_COMPILER_LAUNCHER for ccache Daniel Black
2017-03-09  4:27 ` Baruch Siach
2017-03-09  5:07   ` [Buildroot] [PATCH v2 " Daniel Black
2017-03-10 23:25     ` Arnout Vandecappelle
2017-03-13 22:24       ` Daniel Black
2017-03-14 22:04         ` Thomas Petazzoni [this message]
2017-03-09  5:12   ` [Buildroot] [PATCH " Daniel Black

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170314230450.329e7033@free-electrons.com \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox