From: Markus Lehtonen <markus.lehtonen@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH v3 0/8] support profile-optimized build for Python
Date: Thu, 18 May 2017 11:42:50 +0300 [thread overview]
Message-ID: <cover.1495095863.git.markus.lehtonen@linux.intel.com> (raw)
Third incarnation of enabling profile-guided-optimization (PGO) for Python. The
patchset is significantly simplified from the previous version, mainly because
Python 2.x is not supported, and because of that, there is no need to install
packages under modified (opt/) prefix. Also, RSS made libpython soname mangling
unnecessary.
The last patch of this changeset is not obligatory after the changes since v2.
However, it will remove some hacks that should not be needed.
Changes since v2:
- support for Python 2.x dropped
- profiling recipe name changed from python-profile-opt3 to python3-profile-opt
- python3-profile-opt now uses standard 'usr/' prefix, and thus, it now also
rconflicts with "regular" python3
- libpython name mangling in python3-profile-opt removed
- all patches to python-pgo-image squashed into one
[YOCTO #9338]
The following changes since commit 138f3e3f81d866e8272b01dd88c164b367adc4cd:
byacc: remove the recipe (2017-05-16 14:08:19 +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 (8):
python3-native: support profile optimized build
python3: fix depends of python3-tests
python3: add python3-profile-opt recipe
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/recipes-devtools/images/python-pgo-image.bb | 85 ++++++++++++++++++++++
.../python/python-3.5-manifest.inc | 10 ++-
.../python/python3-native_3.5.2.bb | 9 +++
meta/recipes-devtools/python/python3-profile-opt | 1 +
.../python/python3-profile-opt_3.5.2.bb | 15 ++++
.../python/python3/000-cross-compile.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 ---------
.../setup.py-find-libraries-in-staging-dirs.patch | 30 --------
meta/recipes-devtools/python/python3_3.5.2.bb | 58 +++++++++++----
11 files changed, 239 insertions(+), 92 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.2.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
delete mode 100644 meta/recipes-devtools/python/python3/setup.py-find-libraries-in-staging-dirs.patch
--
2.12.0
next reply other threads:[~2017-05-18 8:42 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-18 8:42 Markus Lehtonen [this message]
2017-05-18 8:42 ` [PATCH v3 1/8] python3-native: support profile optimized build Markus Lehtonen
2017-05-18 8:42 ` [PATCH v3 2/8] python3: fix depends of python3-tests Markus Lehtonen
2017-05-18 8:42 ` [PATCH v3 3/8] python3: add python3-profile-opt recipe Markus Lehtonen
2017-05-18 8:42 ` [PATCH v3 4/8] devtools/images: add python-pgo-image Markus Lehtonen
2017-05-18 8:42 ` [PATCH v3 5/8] python3: support profile optimized build Markus Lehtonen
2017-05-18 8:42 ` [PATCH v3 6/8] python3: fix profile-optimized build of modules Markus Lehtonen
2017-05-18 8:42 ` [PATCH v3 7/8] python3: add python3-tools subpackage Markus Lehtonen
2017-05-18 8:42 ` [PATCH v3 8/8] python3: remove two setup.py cross-compile hacks Markus Lehtonen
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.1495095863.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