Skip to content

Fix support for Icecream

Joshua Watt openembedded-core 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest17 patches 0 repliesNew
  2. v114 patches 6 repliesSuperseded

Changes in v2 from the cover letter

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

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/17icecc.bbclass: Move to shared work directorymeta/classes/icecc.bbclass+5 -20 replies
2/17icecc.bbclass: Fix STAGING_BINDIR_TOOLCHAIN usagemeta/classes/icecc.bbclass+8 -90 replies
3/17icecc.bbclass: Skip canadian-cross compilesmeta/classes/icecc.bbclass+6 -00 replies
4/17icecc-create-env: Reformatmeta/recipes-devtools/icecc-create-env/icecc-create-env/icecc-create-env+104 -1040 replies
5/17icecc-create-env: Add /bin/true to environmentmeta/recipes-devtools/icecc-create-env/icecc-create-env/icecc-create-env+10 -00 replies
6/17icecc-create-env: Use program interpreter for depsmeta/recipes-devtools/icecc-create-env/icecc-create-env/icecc-create-env+17 -30 replies
7/17icecc-create-env: Symlink alternate namesmeta/recipes-devtools/icecc-create-env/icecc-create-env/icecc-create-env+57 -70 replies
8/17icecc-create-env: Archive directorymeta/recipes-devtools/icecc-create-env/icecc-create-env/icecc-create-env+5 -10 replies
9/17icecc-create-env: Fix executable rpathsmeta/recipes-devtools/icecc-create-env/icecc-create-env/icecc-create-env+37 -30 replies
10/17icecc-create-env: Add support for nativesdkmeta/recipes-devtools/icecc-create-env/icecc-create-env_0.1.bb+2 -20 replies
11/17icecc-create-env: Allow multiple tool aliasesmeta/recipes-devtools/icecc-create-env/icecc-create-env/icecc-create-env+54 -560 replies
12/17toolchain-shar-extract: Add post-relocate scriptsmeta/classes/toolchain-scripts.bbclass meta/files/toolchain-shar-extract.sh meta/recipes-core/meta/meta-environment.bb+25 -00 replies
13/17icecc-toolchain: Add SDK icecream setupmeta/recipes-devtools/icecc-toolchain/icecc-toolchain/icecc-env.sh meta/recipes-devtools/icecc-toolchain/icecc-toolchain/icecc-setup.sh meta/recipes-devtools/icecc-toolchain/nativesdk-icecc-toolchain_0.1.bb+118 -00 replies
14/17icecc.bbclass: Add Icecream support to SDKmeta/classes/icecc.bbclass+7 -00 replies
15/17icecc.bbclass: Disable caret workaround by defaultmeta/classes/icecc.bbclass+19 -10 replies
16/17icecc-toolchain: Disable caret workaroundmeta/recipes-devtools/icecc-toolchain/icecc-toolchain/icecc-env.sh+13 -10 replies
17/17elfutils: Use fallthrough attributemeta/recipes-devtools/elfutils/elfutils_0.170.bb meta/recipes-devtools/elfutils/files/0001-Use-fallthrough-attribute.patch meta/recipes-devtools/elfutils/files/debian/fallthrough.patch+793 -380 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 00/17] Fix support for Icecream

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 <[email protected]>)
* 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
Signature · 1 line
2.14.3