Fix up support for using Icecream to do distributed builds, which
appears to have been broken for some time.

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.

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.

V2:
  * Default ICECC_CARET_WORKAROUND = "0" which greatly speeds up build
    times in recipes with a lot of warnings. (Thanks to Tomas Novotny
    <to...@novotny.cz>)
  * Fix elfutils build when ICECC_CARET_WORKAROUND = "0"
  * Minor fixes to commit messages and patchtest failures

The following changes since commit 44ea6ded0e8e73f5258ce55bd1b851e24243b76a:

  bitbake: bitbake-user-manual: Commented out Placeholder Paragraph (2018-02-06 
18:10:35 +0000)

are available in the Git repository at:

  git://push.yoctoproject.org/poky-contrib jpew/icecream

Joshua Watt (17):
  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
  icecc.bbclass: Disable caret workaround by default
  icecc-toolchain: Disable caret workaround
  elfutils: Use fallthrough attribute

 meta/classes/icecc.bbclass                         |  57 +-
 meta/classes/toolchain-scripts.bbclass             |  15 +
 meta/files/toolchain-shar-extract.sh               |   8 +
 meta/recipes-core/meta/meta-environment.bb         |   2 +
 meta/recipes-devtools/elfutils/elfutils_0.170.bb   |   4 +-
 .../files/0001-Use-fallthrough-attribute.patch     | 791 +++++++++++++++++++++
 .../elfutils/files/debian/fallthrough.patch        |  36 -
 .../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   |  49 ++
 .../icecc-toolchain/icecc-toolchain/icecc-setup.sh |  43 ++
 .../nativesdk-icecc-toolchain_0.1.bb               |  38 +
 12 files changed, 1214 insertions(+), 161 deletions(-)
 create mode 100644 
meta/recipes-devtools/elfutils/files/0001-Use-fallthrough-attribute.patch
 delete mode 100644 
meta/recipes-devtools/elfutils/files/debian/fallthrough.patch
 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

-- 
2.14.3

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to