Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Joshua Watt <jpewhacker@gmail.com>
To: Tomas Novotny <tomas@novotny.cz>
Cc: OE-core <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 00/14] Fix support for Icecream
Date: Wed, 07 Feb 2018 15:19:12 -0600	[thread overview]
Message-ID: <1518038352.3509.18.camel@gmail.com> (raw)
In-Reply-To: <20180207215913.1efc2300@tomas.local.tbs-biometrics.cz>

On Wed, 2018-02-07 at 21:59 +0100, Tomas Novotny wrote:
> Hi Joshua,
> 
> On Tue,  6 Feb 2018 16:01:19 -0600
> Joshua Watt <jpewhacker@gmail.com> wrote:
> 
> > Fix up support for using Icecream to do distributed builds, which
> > appears to have been broken for some time.
> 
> we were using icecream a year ago and we set ICECC_CARET_WORKAROUND
> env
> variable to 0 (in set_icecc_env() in icecc.bbclass). The default is 1
> and it
> causes a local rebuild when any warning is emitted.
> 
> I don't have exact numbers, but the extreme case was opencv. There
> was so
> many warnings that distributed build on ~10 threads was slower than
> local
> build on 4 threads.

Ok, that make sense. I'll add a patch to default to
ICECC_CARET_WORKAROUND to my patch series. Thanks for the heads up!

> 
> I know that it is some kind of configuration, but I would set the
> default to
> 0. Or do it at least configurable.
> 
> > In addition, Icecream support can now be enabled in the SDK. When
> > enabled, the SDK install process will check if the host supports
> > icecc
> > and if so will construct a proper environment tarball and use it
> > when
> > compiling.
> 
> Thanks for work on that, I'm keen to use it in our environment.
> 
> Tomas
> 
> > Most of the changes should be straightforward. icecc-create-env has
> > been almost completely re-written but the changes were broken up
> > into
> > hopefully logical chunks.
> > 
> > The following changes since commit
> > 385944254d0ef88bd6450a221a54cbcb40020b42:
> > 
> >   tcmode-default.inc: drop preferred version of gzip-native (2018-
> > 01-31 17:01:20 +0000)
> > 
> > are available in the Git repository at:
> > 
> >   git://push.yoctoproject.org/poky-contrib jpew/icecream
> > 
> > Joshua Watt (14):
> >   icecc.bbclass: Move to shared work directory
> >   icecc.bbclass: Fix STAGING_BINDIR_TOOLCHAIN usage
> >   icecc.bbclass: Skip canadian-cross compiles
> >   icecc-create-env: Reformat
> >   icecc-create-env: Add /bin/true to environment
> >   icecc-create-env: Use program interpreter for deps
> >   icecc-create-env: Symlink alternate names
> >   icecc-create-env: Archive directory
> >   icecc-create-env: Fix executable rpaths
> >   icecc-create-env: Add support for nativesdk
> >   icecc-create-env: Allow multiple tool aliases
> >   toolchain-shar-extract: Add post-relocate scripts
> >   icecc-toolchain: Add SDK icecream setup
> >   icecc.bbclass: Add IceCream support to SDK
> > 
> >  meta/classes/icecc.bbclass                         |  37 ++-
> >  meta/classes/toolchain-scripts.bbclass             |  15 +
> >  meta/files/toolchain-shar-extract.sh               |   8 +
> >  meta/recipes-core/meta/meta-environment.bb         |   2 +
> >  .../icecc-create-env/icecc-create-env              | 328
> > ++++++++++++++-------
> >  ...e-env-native_0.1.bb => icecc-create-env_0.1.bb} |   4 +-
> >  .../icecc-toolchain/icecc-toolchain/icecc-env.sh   |  37 +++
> >  .../icecc-toolchain/icecc-toolchain/icecc-setup.sh |  43 +++
> >  .../nativesdk-icecc-toolchain_0.1.bb               |  38 +++
> >  9 files changed, 390 insertions(+), 122 deletions(-)
> >  rename meta/recipes-devtools/icecc-create-env/{icecc-create-env-
> > native_0.1.bb => icecc-create-env_0.1.bb} (98%)
> >  create mode 100644 meta/recipes-devtools/icecc-toolchain/icecc-
> > toolchain/icecc-env.sh
> >  create mode 100644 meta/recipes-devtools/icecc-toolchain/icecc-
> > toolchain/icecc-setup.sh
> >  create mode 100644 meta/recipes-devtools/icecc-
> > toolchain/nativesdk-icecc-toolchain_0.1.bb
> > 


  reply	other threads:[~2018-02-07 21:19 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-06 22:01 [PATCH 00/14] Fix support for Icecream Joshua Watt
2018-02-06 22:01 ` [PATCH 01/14] icecc.bbclass: Move to shared work directory Joshua Watt
2018-02-06 22:01 ` [PATCH 02/14] icecc.bbclass: Fix STAGING_BINDIR_TOOLCHAIN usage Joshua Watt
2018-02-06 22:01 ` [PATCH 03/14] icecc.bbclass: Skip canadian-cross compiles Joshua Watt
2018-02-06 22:01 ` [PATCH 04/14] icecc-create-env: Reformat Joshua Watt
2018-02-06 22:01 ` [PATCH 05/14] icecc-create-env: Add /bin/true to environment Joshua Watt
2018-02-06 22:01 ` [PATCH 06/14] icecc-create-env: Use program interpreter for deps Joshua Watt
2018-02-06 22:01 ` [PATCH 07/14] icecc-create-env: Symlink alternate names Joshua Watt
2018-02-06 22:01 ` [PATCH 08/14] icecc-create-env: Archive directory Joshua Watt
2018-02-06 22:01 ` [PATCH 09/14] icecc-create-env: Fix executable rpaths Joshua Watt
2018-02-06 22:01 ` [PATCH 10/14] icecc-create-env: Add support for nativesdk Joshua Watt
2018-02-06 22:01 ` [PATCH 11/14] icecc-create-env: Allow multiple tool aliases Joshua Watt
2018-02-06 22:01 ` [PATCH 12/14] toolchain-shar-extract: Add post-relocate scripts Joshua Watt
2018-02-06 22:01 ` [PATCH 13/14] icecc-toolchain: Add SDK icecream setup Joshua Watt
2018-02-16 23:43   ` Martin Jansa
2018-02-16 23:50     ` Joshua Watt
2018-02-17  0:18       ` [PATCH] nativesdk-icecc-toolchain: Fix LIC_FILES_CHKSUM md5 Martin Jansa
2018-02-06 22:01 ` [PATCH 14/14] icecc.bbclass: Add IceCream support to SDK Joshua Watt
2018-02-06 22:32 ` ✗ patchtest: failure for Fix support for Icecream Patchwork
2018-02-07 20:59 ` [PATCH 00/14] " Tomas Novotny
2018-02-07 21:19   ` Joshua Watt [this message]
2018-02-08  9:57     ` Tomas Novotny
2018-02-12 16:51 ` [PATCH v2 00/17] " Joshua Watt
2018-02-12 16:51   ` [PATCH v2 01/17] icecc.bbclass: Move to shared work directory Joshua Watt
2018-02-12 16:51   ` [PATCH v2 02/17] icecc.bbclass: Fix STAGING_BINDIR_TOOLCHAIN usage Joshua Watt
2018-02-12 16:51   ` [PATCH v2 03/17] icecc.bbclass: Skip canadian-cross compiles Joshua Watt
2018-02-12 16:51   ` [PATCH v2 04/17] icecc-create-env: Reformat Joshua Watt
2018-02-12 16:52   ` [PATCH v2 05/17] icecc-create-env: Add /bin/true to environment Joshua Watt
2018-02-12 16:52   ` [PATCH v2 06/17] icecc-create-env: Use program interpreter for deps Joshua Watt
2018-02-12 16:52   ` [PATCH v2 07/17] icecc-create-env: Symlink alternate names Joshua Watt
2018-02-12 16:52   ` [PATCH v2 08/17] icecc-create-env: Archive directory Joshua Watt
2018-02-12 16:52   ` [PATCH v2 09/17] icecc-create-env: Fix executable rpaths Joshua Watt
2018-02-12 16:52   ` [PATCH v2 10/17] icecc-create-env: Add support for nativesdk Joshua Watt
2018-02-12 16:52   ` [PATCH v2 11/17] icecc-create-env: Allow multiple tool aliases Joshua Watt
2018-02-12 16:52   ` [PATCH v2 12/17] toolchain-shar-extract: Add post-relocate scripts Joshua Watt
2018-02-12 16:52   ` [PATCH v2 13/17] icecc-toolchain: Add SDK icecream setup Joshua Watt
2018-02-12 16:52   ` [PATCH v2 14/17] icecc.bbclass: Add Icecream support to SDK Joshua Watt
2018-02-12 16:52   ` [PATCH v2 15/17] icecc.bbclass: Disable caret workaround by default Joshua Watt
2018-02-12 16:52   ` [PATCH v2 16/17] icecc-toolchain: Disable caret workaround Joshua Watt
2018-02-12 16:52   ` [PATCH v2 17/17] elfutils: Use fallthrough attribute Joshua Watt

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=1518038352.3509.18.camel@gmail.com \
    --to=jpewhacker@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=tomas@novotny.cz \
    /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