From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Dominik Michael Rauh <dmrauh@posteo.de>
Cc: "Anders F Björklund" <anders.f.bjorklund@gmail.com>,
"Andrey Smirnov" <andrew.smirnov@gmail.com>,
"Samuel Martin" <s.martin49@gmail.com>,
buildroot@buildroot.org,
"Fabrice Fontaine" <fontaine.fabrice@gmail.com>,
"Thomas De Schampheleire" <thomas.de_schampheleire@nokia.com>
Subject: Re: [Buildroot] [PATCH v3] package/ccache: bump version to 4.6.1
Date: Fri, 5 Aug 2022 16:34:52 +0200 [thread overview]
Message-ID: <20220805163452.4e0d3dd4@windsurf> (raw)
In-Reply-To: <20220805131341.13391-1-dmrauh@posteo.de>
Hello,
Thanks for your work!
I did not do a thorough review, but I spotted something that needs to
be change, see below.
On Fri, 5 Aug 2022 13:13:41 +0000
Dominik Michael Rauh <dmrauh@posteo.de> wrote:
> +config BR2_CCACHE_REDIS_BACKEND
> + bool "Enable Redis storage backend"
> + default n
This is not needed, the default for an option is to be disabled.
> + select BR2_PACKAGE_HIREDIS
This is not correct, as it enables hiredis for the target, which we
don't want. Just don't select anything here.
> +HOST_CCACHE_CONF_OPTS += \
> + -UCMAKE_C_COMPILER_LAUNCHER \
> + -UCMAKE_CXX_COMPILER_LAUNCHER
Just curious, what are these doing?
> diff --git a/package/cmake/cmake.mk b/package/cmake/cmake.mk
> index 053658fad6..eae12c1465 100644
> --- a/package/cmake/cmake.mk
> +++ b/package/cmake/cmake.mk
> @@ -40,9 +40,16 @@ CMAKE_CONF_OPTS = \
> HOST_CMAKE_CFLAGS = $(shell echo $(HOST_CFLAGS) | sed -r "s%$(HOST_CPPFLAGS)%%")
> HOST_CMAKE_CXXFLAGS = $(shell echo $(HOST_CXXFLAGS) | sed -r "s%$(HOST_CPPFLAGS)%%")
>
> +# we are built before ccache
> +HOST_CMAKE_CONFIGURE_OPTS = \
> + $(HOST_CONFIGURE_OPTS) \
> + CC="$(HOSTCC_NOCCACHE)" \
> + GCC="$(HOSTCC_NOCCACHE)" \
> + CXX="$(HOSTCXX_NOCCACHE)"
> +
> define HOST_CMAKE_CONFIGURE_CMDS
> (cd $(@D); \
> - $(HOST_CONFIGURE_OPTS) \
> + $(HOST_CMAKE_CONFIGURE_OPTS) \
It's really a pity that we need to disable ccache support to build
host-cmake, because host-cmake is notoriously slow to build... But
obviously since ccache is now using cmake as its build system, I don't
really see a much better solution.
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2022-08-05 14:35 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-04 13:29 [Buildroot] [PATCH 1/1] package/ccache: bump version to 4.6.1 Dominik Michael Rauh
2022-08-05 10:24 ` [Buildroot] [PATCH v2] " Dominik Michael Rauh
2022-08-05 13:13 ` [Buildroot] [PATCH v3] " Dominik Michael Rauh
2022-08-05 14:34 ` Thomas Petazzoni via buildroot [this message]
2022-08-07 9:13 ` Dominik Michael Rauh
2022-08-07 12:39 ` Thomas Petazzoni via buildroot
2022-08-07 17:55 ` Dominik Michael Rauh
2022-08-07 9:38 ` [Buildroot] [PATCH v4] " Dominik Michael Rauh
2023-01-08 22:37 ` Yann E. MORIN
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=20220805163452.4e0d3dd4@windsurf \
--to=buildroot@buildroot.org \
--cc=anders.f.bjorklund@gmail.com \
--cc=andrew.smirnov@gmail.com \
--cc=dmrauh@posteo.de \
--cc=fontaine.fabrice@gmail.com \
--cc=s.martin49@gmail.com \
--cc=thomas.de_schampheleire@nokia.com \
--cc=thomas.petazzoni@bootlin.com \
/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