Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Markus Lehtonen <markus.lehtonen@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH v5 00/10] support profile-optimized build for Python
Date: Fri, 27 Oct 2017 13:07:43 +0300	[thread overview]
Message-ID: <cover.1509094533.git.markus.lehtonen@linux.intel.com> (raw)

Fifth iteration of my patchset for enabling profile-guided-optimization for
Python3.

Changes since v4:
- Rebased on latest oe-core
- Usage of EXCLUDE_FROM_SHLIBS in python3-profile-opt is dropped, in favor of
  renaming of libpython3 in python3-profile-opt (re-introduced as this was
  dropped in v3). Need this so that the shlib dependencies are correctly tracked,
  and at the same time, soname clashes between libpython3 and
  libpython3-profile-opt are prevented.
- Patch bitbake.conf to include ip and scp in HOSTTOOLS. These are required to
  run the profile task on device.


The following changes since commit 3b413a80578caacd9a7f405f3c51a3921d78a60d:

  README.qemu: qemuppc64 is not supported (2017-10-16 23:54:27 +0100)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib marquiz/fixes-9338
  http://cgit.openembedded.org/openembedded-core-contrib/log/?h=marquiz/fixes-9338

Markus Lehtonen (10):
  python3-native: support profile optimized build
  python3: fix depends of python3-tests
  python3: add python3-profile-opt recipe
  python3-profile-opt: rename libpython3
  bitbake.conf: add ip and scp to HOSTTOOLS unconditionally
  devtools/images: add python-pgo-image
  python3: support profile optimized build
  python3: fix profile-optimized build of modules
  python3: add python3-tools subpackage
  python3: remove two setup.py cross-compile hacks

 meta/conf/bitbake.conf                             |   6 +-
 meta/recipes-devtools/images/python-pgo-image.bb   |  92 ++++++++++++++++++
 .../python/python-3.5-manifest.inc                 |  10 +-
 .../python/python3-native_3.5.3.bb                 |   9 ++
 meta/recipes-devtools/python/python3-profile-opt   |   1 +
 .../python/python3-profile-opt_3.5.3.bb            |  10 ++
 .../python3/0001-cross-compile-support.patch       |   9 --
 ...efile-add-install_generate_profile-target.patch |  25 +++++
 ...-CFLAGS-for-extensions-when-cross-compili.patch |  56 +++++++++++
 .../python3-setup.py-no-host-headers-libs.patch    |  33 -------
 ...name-libpython3-to-libpython-profile-opt3.patch | 108 +++++++++++++++++++++
 .../setup.py-find-libraries-in-staging-dirs.patch  |  30 ------
 meta/recipes-devtools/python/python3_3.5.3.bb      |  58 ++++++++---
 13 files changed, 352 insertions(+), 95 deletions(-)
 create mode 100644 meta/recipes-devtools/images/python-pgo-image.bb
 create mode 120000 meta/recipes-devtools/python/python3-profile-opt
 create mode 100644 meta/recipes-devtools/python/python3-profile-opt_3.5.3.bb
 create mode 100644 meta/recipes-devtools/python/python3/Makefile-add-install_generate_profile-target.patch
 create mode 100644 meta/recipes-devtools/python/python3/Use-correct-CFLAGS-for-extensions-when-cross-compili.patch
 delete mode 100644 meta/recipes-devtools/python/python3/python3-setup.py-no-host-headers-libs.patch
 create mode 100644 meta/recipes-devtools/python/python3/rename-libpython3-to-libpython-profile-opt3.patch
 delete mode 100644 meta/recipes-devtools/python/python3/setup.py-find-libraries-in-staging-dirs.patch

-- 
2.13.6



             reply	other threads:[~2017-10-27 10:07 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-27 10:07 Markus Lehtonen [this message]
2017-10-27 10:07 ` [PATCH v5 01/10] python3-native: support profile optimized build Markus Lehtonen
2017-10-27 10:07 ` [PATCH v5 02/10] python3: fix depends of python3-tests Markus Lehtonen
2017-10-27 10:07 ` [PATCH v5 03/10] python3: add python3-profile-opt recipe Markus Lehtonen
2017-10-27 10:07 ` [PATCH v5 04/10] python3-profile-opt: rename libpython3 Markus Lehtonen
2017-10-27 10:07 ` [PATCH v5 05/10] bitbake.conf: add ip and scp to HOSTTOOLS unconditionally Markus Lehtonen
2017-10-30  1:30   ` ChenQi
2017-10-30 10:51     ` Markus Lehtonen
2017-10-30 13:55       ` Konrad Scherer
2017-10-30 14:42         ` Markus Lehtonen
2017-10-31  6:34           ` ChenQi
2017-10-31  7:15             ` Markus Lehtonen
2017-11-01 15:35               ` Konrad Scherer
2017-11-15 12:15                 ` Markus Lehtonen
2017-11-16  0:13                 ` Andre McCurdy
2017-10-27 10:07 ` [PATCH v5 06/10] devtools/images: add python-pgo-image Markus Lehtonen
2017-10-27 10:07 ` [PATCH v5 07/10] python3: support profile optimized build Markus Lehtonen
2017-10-27 10:07 ` [PATCH v5 08/10] python3: fix profile-optimized build of modules Markus Lehtonen
2017-10-27 10:07 ` [PATCH v5 09/10] python3: add python3-tools subpackage Markus Lehtonen
2017-10-27 10:07 ` [PATCH v5 10/10] python3: remove two setup.py cross-compile hacks Markus Lehtonen
2017-10-27 10:34 ` ✗ patchtest: failure for support profile-optimized build for Python Patchwork
2017-10-27 15:55   ` Daniela Plascencia
2017-11-20 12:15 ` [PATCH v6 00/15] " Markus Lehtonen
2017-11-20 12:15   ` [PATCH v6 01/15] python3-native: support profile optimized build Markus Lehtonen
2017-11-20 12:15   ` [PATCH v6 02/15] python3: fix depends of python3-tests Markus Lehtonen
2017-11-20 23:37     ` Tim Orling
2017-11-20 12:15   ` [PATCH v6 03/15] python3: add python3-profile-opt recipe Markus Lehtonen
2017-11-20 12:15   ` [PATCH v6 04/15] python3-profile-opt: rename libpython3 Markus Lehtonen
2017-11-20 12:15   ` [PATCH v6 05/15] openssh: extend to -native Markus Lehtonen
2017-11-20 12:15   ` [PATCH v6 06/15] libmnl: enable native Markus Lehtonen
2017-11-20 12:15   ` [PATCH v6 07/15] iptables: " Markus Lehtonen
2017-11-20 12:15   ` [PATCH v6 08/15] iproute2: " Markus Lehtonen
2017-11-20 12:15   ` [PATCH v6 09/15] oeqa/targetcontrol: re-introduce get_target_controller() Markus Lehtonen
2017-11-20 12:15   ` [PATCH v6 10/15] oeqa/targetcontrol: add missing arg to SimpleRemoteTarget.__init__ Markus Lehtonen
2017-11-20 12:15   ` [PATCH v6 11/15] devtools/images: add python-pgo-image Markus Lehtonen
2017-11-20 12:15   ` [PATCH v6 12/15] python3: support profile optimized build Markus Lehtonen
2017-11-20 12:15   ` [PATCH v6 13/15] python3: fix profile-optimized build of modules Markus Lehtonen
2017-11-20 12:15   ` [PATCH v6 14/15] python3: add python3-tools subpackage Markus Lehtonen
2017-11-20 23:36     ` Tim Orling
2017-11-20 12:15   ` [PATCH v6 15/15] python3: remove two setup.py cross-compile hacks Markus Lehtonen
2017-11-20 12:33 ` ✗ patchtest: failure for support profile-optimized build for Python (rev2) Patchwork

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=cover.1509094533.git.markus.lehtonen@linux.intel.com \
    --to=markus.lehtonen@linux.intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    /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