-layer update my_component:sha1
Only the "update" action supports this.
Signed-off-by: Markus Lehtonen
---
scripts/combo-layer | 45 +++--
1 file changed, 27 insertions(+), 18 deletions(-)
diff --git a/scripts/combo-layer b/scripts/combo-layer
ind
-layer update my_component:sha1
Only the "update" action supports this.
Signed-off-by: Markus Lehtonen
---
scripts/combo-layer | 22 --
1 file changed, 16 insertions(+), 6 deletions(-)
diff --git a/scripts/combo-layer b/scripts/combo-layer
index 37d1f47..851003d 10
Change get_repos() to assume a list of repository names instead of full
list of command line arguments.
Signed-off-by: Markus Lehtonen
---
scripts/combo-layer | 25 -
1 file changed, 12 insertions(+), 13 deletions(-)
diff --git a/scripts/combo-layer b/scripts/combo
I split my changeset into two separate patches. Also, fixed a bug when doing
calling pull inside the update action.
Markus Lehtonen (2):
combo-layer: minor refactor
combo-layer: support updating up to arbitrary commit
scripts/combo-layer | 45 +++--
1
On Mon, 2015-01-12 at 11:46 +, Paul Eggleton wrote:
> Hi Markus,
>
> On Wednesday 07 January 2015 18:00:42 Markus Lehtonen wrote:
> > Support defining the top commit up to which to update. In other words,
> > this makes it possible to update up to certain point other tha
Give the correct data object ("config data" instead of "recipe data") as
an argument to oe.recipeutils.patch_recipe()
Fixes [YOCTO #7595]
Signed-off-by: Markus Lehtonen
---
scripts/lib/devtool/standard.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff
(s). The patches will be removed in one
single commit.
[YOCTO #7602]
Signed-off-by: Markus Lehtonen
---
scripts/lib/devtool/standard.py | 20
1 file changed, 20 insertions(+)
diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py
index a50a771
In order to get correct metadata, SRCREV for example.
Signed-off-by: Markus Lehtonen
---
meta/lib/oe/recipeutils.py | 6 +++---
scripts/lib/devtool/standard.py | 32 +++-
2 files changed, 22 insertions(+), 16 deletions(-)
diff --git a/meta/lib/oe
e (of some packages that build fine without this modification)
gets dirtied by build artefacts.
Signed-off-by: Markus Lehtonen
---
scripts/lib/devtool/standard.py | 17 -
1 file changed, 12 insertions(+), 5 deletions(-)
diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/de
This option can be used to have a separate build directory, in order to
keep the srctree directory clean for packages that do not need to be
built in the source directory.
Signed-off-by: Markus Lehtonen
---
scripts/lib/devtool/standard.py | 9 +++--
1 file changed, 7 insertions(+), 2
Hi,
On Tue, 2015-04-21 at 17:42 +0100, Paul Eggleton wrote:
> On Tuesday 21 April 2015 17:50:43 Markus Lehtonen wrote:
> > In order to get correct metadata, SRCREV for example.
> >
> > Signed-off-by: Markus Lehtonen
> > ---
> > meta/lib/oe/recipeutils.py
Number of patches in mtd-utils changed in changeset bd1aa28.
Signed-off-by: Markus Lehtonen
---
meta/lib/oeqa/selftest/devtool.py | 11 +--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/meta/lib/oeqa/selftest/devtool.py
b/meta/lib/oeqa/selftest/devtool.py
index dc1cf21
In order to get correct metadata, SRCREV for example.
Signed-off-by: Markus Lehtonen
---
meta/lib/oe/recipeutils.py | 6 +++---
scripts/lib/devtool/standard.py | 35 ++-
2 files changed, 25 insertions(+), 16 deletions(-)
diff --git a/meta/lib/oe
file(s) into srctree repository.
[YOCTO #7602]
Signed-off-by: Markus Lehtonen
---
scripts/lib/devtool/standard.py | 20
1 file changed, 20 insertions(+)
diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py
index d5ded2f..c8c9cd3 100644
--- a
Hi Paul,
On Tue, 2015-04-21 at 16:04 +0100, Paul Eggleton wrote:
> Hi Markus,
>
> On Tuesday 21 April 2015 17:49:54 Markus Lehtonen wrote:
> > All local files from the layer, including patches, are added to to
> > srctree repository when S==WORKDIR. The patch files are us
Hi,
On 23/04/15 19:18, "Paul Eggleton" wrote:
>From: Markus Lehtonen
>
>All local files from the layer, including patches, are added to to
>srctree repository when S==WORKDIR. The patch files are useless as they
>are automatically applied on top of the srctree by devto
possibly confusing) patch file(s) into srctree repository.
[YOCTO #7602]
Signed-off-by: Markus Lehtonen
---
scripts/lib/devtool/standard.py | 27 ++-
1 file changed, 26 insertions(+), 1 deletion(-)
diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool
py
our modified version over the original source.
NOTE: if new files are created, they are represented as patches, rather
than copied over the orignal source.
[YOCTO #7602]
Signed-off-by: Markus Lehtonen
---
scripts/lib/devtool/standard.py | 48 ++---
1 f
Signed-off-by: Markus Lehtonen
---
meta/lib/oe/recipeutils.py | 8
1 file changed, 8 insertions(+)
diff --git a/meta/lib/oe/recipeutils.py b/meta/lib/oe/recipeutils.py
index 19d97b6..f3af717 100644
--- a/meta/lib/oe/recipeutils.py
+++ b/meta/lib/oe/recipeutils.py
@@ -254,6 +254,14
This patchset tries to improve handling of local source files (i.e. file:// in
SRC_URI). First, it improves packages for which S=WORKDIR (that possibly only
have local sources. Second, it makes local sources available in the srctree for
all packages.
See yocto bug #7602
Markus Lehtonen (6
efore.
[YOCTO #7602]
Signed-off-by: Markus Lehtonen
---
scripts/lib/devtool/standard.py | 56 -
1 file changed, 44 insertions(+), 12 deletions(-)
diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py
index 8a2783b..1e81919 1006
This change makes it possible to have local files (SRC_URI files in
"recipe space") under the srctree even if S!=WORKDIR. The files must be
placed under the 'local-files' subdirectory.
Complements the previous patch that imports local files into srctree.
[YOCTO #7602]
S
Makes it possible to define which paths are included in the patches.
Signed-off-by: Markus Lehtonen
---
meta/lib/oe/patch.py | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/meta/lib/oe/patch.py b/meta/lib/oe/patch.py
index f68d40f..85cb2c1 100644
--- a/meta/lib/oe
lternates')
> +if os.path.exists(alternatesfile):
> +# This will have been cloned with -s, so we need to convert it
> to a full clone
> +bb.process.run('git repack -a', cwd=repodir)
> +os.remove(alternatesfile)
> --
> 2.1.0
>
I just find the term "full clone" a bit misleading here. I somehow tend
to associate it with a mirrored clone / cloning all refs / cloning with
full history. Could the term used above be "independent clone" or
"standalone clone" or something?
Thanks,
Markus Lehtonen
--
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
This patchset contains numerous small non-functional changes to fix some style
errors and to improve the readability of the devtool code.
Markus Lehtonen (11):
devtool: standard plugins: add missing docstrings
devtool: standard plugins: remove unused import
devtool: standard plugins: rename
Signed-off-by: Markus Lehtonen
---
scripts/lib/devtool/standard.py | 20 +++-
1 file changed, 19 insertions(+), 1 deletion(-)
diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py
index 81a44d4..55580ee 100644
--- a/scripts/lib/devtool/standard.py
+++ b
Signed-off-by: Markus Lehtonen
---
scripts/lib/devtool/standard.py | 1 -
1 file changed, 1 deletion(-)
diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py
index 55580ee..614bcdb 100644
--- a/scripts/lib/devtool/standard.py
+++ b/scripts/lib/devtool/standard.py
Signed-off-by: Markus Lehtonen
---
scripts/lib/devtool/standard.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py
index 614bcdb..2a483cf 100644
--- a/scripts/lib/devtool/standard.py
+++ b/scripts/lib/devtool
Signed-off-by: Markus Lehtonen
---
scripts/lib/devtool/__init__.py | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/scripts/lib/devtool/__init__.py b/scripts/lib/devtool/__init__.py
index 8866512..676bc52 100644
--- a/scripts/lib/devtool/__init__.py
+++ b/scripts/lib
Signed-off-by: Markus Lehtonen
---
scripts/lib/devtool/__init__.py | 1 -
1 file changed, 1 deletion(-)
diff --git a/scripts/lib/devtool/__init__.py b/scripts/lib/devtool/__init__.py
index 00594eb..8866512 100644
--- a/scripts/lib/devtool/__init__.py
+++ b/scripts/lib/devtool/__init__.py
Signed-off-by: Markus Lehtonen
---
scripts/lib/devtool/__init__.py | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/scripts/lib/devtool/__init__.py b/scripts/lib/devtool/__init__.py
index 78ae0aa..00594eb 100644
--- a/scripts/lib/devtool/__init__.py
+++ b/scripts/lib
Signed-off-by: Markus Lehtonen
---
scripts/lib/devtool/deploy.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/lib/devtool/deploy.py b/scripts/lib/devtool/deploy.py
index f016b23..62c97fb 100644
--- a/scripts/lib/devtool/deploy.py
+++ b/scripts/lib/devtool
Signed-off-by: Markus Lehtonen
---
scripts/lib/devtool/deploy.py | 1 -
1 file changed, 1 deletion(-)
diff --git a/scripts/lib/devtool/deploy.py b/scripts/lib/devtool/deploy.py
index b569398..8637f19 100644
--- a/scripts/lib/devtool/deploy.py
+++ b/scripts/lib/devtool/deploy.py
@@ -31,7 +31,6
Signed-off-by: Markus Lehtonen
---
scripts/lib/devtool/deploy.py | 99 +++
1 file changed, 72 insertions(+), 27 deletions(-)
diff --git a/scripts/lib/devtool/deploy.py b/scripts/lib/devtool/deploy.py
index 078c74b..f6ae433 100644
--- a/scripts/lib/devtool
Signed-off-by: Markus Lehtonen
---
scripts/lib/devtool/deploy.py | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/scripts/lib/devtool/deploy.py b/scripts/lib/devtool/deploy.py
index 62c97fb..b569398 100644
--- a/scripts/lib/devtool/deploy.py
+++ b/scripts/lib/devtool
Signed-off-by: Markus Lehtonen
---
scripts/lib/devtool/deploy.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/lib/devtool/deploy.py b/scripts/lib/devtool/deploy.py
index 8637f19..078c74b 100644
--- a/scripts/lib/devtool/deploy.py
+++ b/scripts/lib/devtool
Hi,
On Tue, 2015-05-12 at 16:20 +0100, Paul Eggleton wrote:
> On Monday 11 May 2015 16:17:11 Markus Lehtonen wrote:
> > Signed-off-by: Markus Lehtonen
> > ---
> > scripts/lib/devtool/deploy.py | 99
> > +++ 1 file change
-22 08:50:21 +)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib marquiz/oeqa-metaxml
http://git.openembedded.org/openembedded-core-contrib/log/?h=marquiz/oeqa-metaxml
Markus Lehtonen (8):
oeqa.utils.metadata: re-organise host distro
Signed-off-by: Markus Lehtonen
---
meta/lib/oeqa/utils/metadata.py | 26 +-
1 file changed, 21 insertions(+), 5 deletions(-)
diff --git a/meta/lib/oeqa/utils/metadata.py b/meta/lib/oeqa/utils/metadata.py
index 5d8bf84..2316841 100644
--- a/meta/lib/oeqa/utils/metadata.py
Use the same format, based on /etc/os-release, as for host distro
information.
[YOCTO #10590]
Signed-off-by: Markus Lehtonen
---
meta/lib/oeqa/utils/metadata.py | 17 ++---
scripts/oe-selftest | 4 ++--
2 files changed, 12 insertions(+), 9 deletions(-)
diff --git a
It's better just to not have the xml elements than to have elements with
faux data. One could have git branch named 'unknown', for example.
[YOCTO #10590]
Signed-off-by: Markus Lehtonen
---
meta/lib/oeqa/utils/metadata.py | 7 +++
scripts/oe-selftest | 4 ++--
Makes it easier to put the commits into a timeline.
[YOCTO #10590]
Signed-off-by: Markus Lehtonen
---
meta/lib/oeqa/utils/metadata.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/meta/lib/oeqa/utils/metadata.py b/meta/lib/oeqa/utils/metadata.py
index 2f7e8f2..d5cc290
[YOCTO #10590]
Signed-off-by: Markus Lehtonen
---
meta/lib/oeqa/utils/metadata.py | 32 +++-
1 file changed, 19 insertions(+), 13 deletions(-)
diff --git a/meta/lib/oeqa/utils/metadata.py b/meta/lib/oeqa/utils/metadata.py
index 6331c21..23449fc 100644
--- a/meta/lib
Revision is a bit vague and could point to a tag, for example. Git
commit objects are unambiguous and persistent so be explicit that the
element should contain git commit hash.
[YOCTO #10590]
Signed-off-by: Markus Lehtonen
---
meta/lib/oeqa/utils/metadata.py | 2 +-
scripts/oe-selftest
Have the layer name as an attribute instead of of the name of the
element itself. That is, have instead of
. A bit better XML design.
[YOCTO #10590]
Signed-off-by: Markus Lehtonen
---
meta/lib/oeqa/utils/metadata.py | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a
Always return a valid branch name, or, '(nobranch)' if the current HEAD
is detached. Also, always return the hash of the commit object that HEAD
is pointing to. Previous code returned an incorrect branch name (or
crashed) e.g. in the case of detached HEAD.
[YOCTO #10590]
Signed-off-
On 04/01/2017, 17.30, "Mariano Lopez"
wrote:
>On 28/12/16 07:02, Markus Lehtonen wrote:
>> It's better just to not have the xml elements than to have elements with
>> faux data. One could have git branch named 'unknown', for example.
>>
>>
>
On 04/01/2017, 17.43, "Mariano Lopez"
wrote:
>
>On 28/12/16 07:02, Markus Lehtonen wrote:
>> -def dict_to_XML(tag, dictionary):
>> +def dict_to_XML(tag, dictionary, **kwargs):
>> """ Return XML element converting dicts recursively. "&quo
On 04/01/2017, 17.45, "Mariano Lopez"
wrote:
>On 28/12/16 07:02, Markus Lehtonen wrote:
>> [YOCTO #10590]
>>
>> Signed-off-by: Markus Lehtonen
>> ---
>> meta/lib/oeqa/utils/metadata.py | 32 +++-
>> 1 file changed, 19
Signed-off-by: Markus Lehtonen
---
meta/lib/oeqa/utils/metadata.py | 26 +-
1 file changed, 21 insertions(+), 5 deletions(-)
diff --git a/meta/lib/oeqa/utils/metadata.py b/meta/lib/oeqa/utils/metadata.py
index 5d8bf84..2316841 100644
--- a/meta/lib/oeqa/utils/metadata.py
It's better just to not have the xml elements than to have elements with
faux data. One could have git branch named 'unknown', for example.
[YOCTO #10590]
Signed-off-by: Markus Lehtonen
---
meta/lib/oeqa/utils/metadata.py | 7 +++
scripts/oe-selftest | 4 ++--
in the git repository at:
git://git.openembedded.org/openembedded-core-contrib marquiz/oeqa-metaxml
http://git.openembedded.org/openembedded-core-contrib/log/?h=marquiz/oeqa-metaxml
Markus Lehtonen (10):
oeqa.utils.metadata: re-organise host distro information
oeqa.utils.metadata: re
Use the same format, based on /etc/os-release, as for host distro
information.
[YOCTO #10590]
Signed-off-by: Markus Lehtonen
---
meta/lib/oeqa/utils/metadata.py | 17 ++---
scripts/oe-selftest | 4 ++--
2 files changed, 12 insertions(+), 9 deletions(-)
diff --git a
Revision is a bit vague and could point to a tag, for example. Git
commit objects are unambiguous and persistent so be explicit that the
element should contain git commit hash.
[YOCTO #10590]
Signed-off-by: Markus Lehtonen
---
meta/lib/oeqa/utils/metadata.py | 2 +-
scripts/oe-selftest
Always return a valid branch name, or, '(nobranch)' if the current HEAD
is detached. Also, always return the hash of the commit object that HEAD
is pointing to. Previous code returned an incorrect branch name (or
crashed) e.g. in the case of detached HEAD.
[YOCTO #10590]
Signed-off-
[YOCTO #10590]
Signed-off-by: Markus Lehtonen
---
meta/lib/oeqa/utils/metadata.py | 32 +++-
1 file changed, 19 insertions(+), 13 deletions(-)
diff --git a/meta/lib/oeqa/utils/metadata.py b/meta/lib/oeqa/utils/metadata.py
index 6331c21..a3c1b2b 100644
--- a/meta/lib
Have the layer name as an attribute instead of of the name of the
element itself. That is, have instead of
. A bit better XML design.
[YOCTO #10590]
Signed-off-by: Markus Lehtonen
---
meta/lib/oeqa/utils/metadata.py | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a
Makes it easier to put the commits into a timeline.
[YOCTO #10590]
Signed-off-by: Markus Lehtonen
---
meta/lib/oeqa/utils/metadata.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/meta/lib/oeqa/utils/metadata.py b/meta/lib/oeqa/utils/metadata.py
index 2f7e8f2..d5cc290
Inlude values of BB_NUMBER_THREADS and PARALLEL_MAKE in the metadata.
[YOCTO #10590]
Signed-off-by: Markus Lehtonen
---
meta/lib/oeqa/utils/metadata.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/lib/oeqa/utils/metadata.py b/meta/lib/oeqa/utils/metadata.py
index
Make it possible to store any bitbake config variables in the metadata.
Config values will be stored under a new config element in the xml report:
qemux86
The value of MACHINE is moved there instead of having a dedicated
element.
[YOCTO #10590]
Signed-off-by: Markus Lehtonen
Use 'failure' instead of 'fail'. Also, use 'expected' instead of 'exp'.
[YOCTO #10590]
Signed-off-by: Markus Lehtonen
---
meta/lib/oeqa/buildperf/base.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/meta/lib/oeqa/buildperf/b
Add --xml command line option to oe-build-perf-test script for producing
a test report in JUnit XML format instead of JSON.
[YOCTO #10590]
Signed-off-by: Markus Lehtonen
---
meta/lib/oeqa/buildperf/base.py | 43 -
scripts/oe-build-perf-test | 6
Signed-off-by: Markus Lehtonen
---
meta/lib/oeqa/buildperf/base.py | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/meta/lib/oeqa/buildperf/base.py b/meta/lib/oeqa/buildperf/base.py
index 59dd025..4955914 100644
--- a/meta/lib/oeqa/buildperf/base.py
+++ b/meta/lib/oeqa
a: include BB_NUMBER_THREADS and PARALLEL_MAKE (2017-01-13
13:55:12 +0200)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib marquiz/buildperf/xml
http://git.openembedded.org/openembedded-core-contrib/log/?h=marquiz/buildperf/xml
Markus Lehtonen (11):
oeqa
Make the xml report format slightly non-standard by incorporating
measurement data into it.
[YOCTO #10590]
Signed-off-by: Markus Lehtonen
---
meta/lib/oeqa/buildperf/base.py | 23 ++-
1 file changed, 22 insertions(+), 1 deletion(-)
diff --git a/meta/lib/oeqa/buildperf
]
Signed-off-by: Markus Lehtonen
---
meta/lib/oeqa/buildperf/base.py | 129
scripts/oe-build-perf-test | 118 ++--
2 files changed, 114 insertions(+), 133 deletions(-)
diff --git a/meta/lib/oeqa/buildperf/base.py b/meta
This will typically mean assert message and exception type plus a
traceback. In case of skipped tests the reason (i.e. skip message) is
included.
[YOCTO #10590]
Signed-off-by: Markus Lehtonen
---
meta/lib/oeqa/buildperf/base.py | 24
1 file changed, 24 insertions
Write results in the report file in chronological order, instead of
random order dependent on test statuses.
[YOCTO #10590]
Signed-off-by: Markus Lehtonen
---
meta/lib/oeqa/buildperf/base.py | 25 ++---
1 file changed, 10 insertions(+), 15 deletions(-)
diff --git a/meta
Add test description as an attribute to the element.
[YOCTO #10590]
Signed-off-by: Markus Lehtonen
---
meta/lib/oeqa/buildperf/base.py | 4
1 file changed, 4 insertions(+)
diff --git a/meta/lib/oeqa/buildperf/base.py b/meta/lib/oeqa/buildperf/base.py
index efbe20c..b82476c 100644
--- a
Store measurements as a dict, instead of an array, in the JSON report.
This change makes traversing of the report much easier. The change also
disallows identically named measurements under one test, as a sanity
check for the test cases.
[YOCTO #10590]
Signed-off-by: Markus Lehtonen
---
meta
Use OrderedDict() instead of sort_keys=True (of json.dump()). Makes for
more logical sorting of the values in the report.
[YOCTO #10590]
Signed-off-by: Markus Lehtonen
---
meta/lib/oeqa/buildperf/base.py | 63 +
1 file changed, 32 insertions(+), 31
[YOCTO #10590]
Signed-off-by: Markus Lehtonen
---
meta/lib/oeqa/buildperf/base.py | 7 ++-
scripts/oe-build-perf-test | 1 -
2 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/meta/lib/oeqa/buildperf/base.py b/meta/lib/oeqa/buildperf/base.py
index 4027fdb..f6faedb 100644
Simply use floats instead of datetime and timedelta objects for handling
timestamps.
Signed-off-by: Markus Lehtonen
---
scripts/buildstats-diff | 34 +++---
1 file changed, 3 insertions(+), 31 deletions(-)
diff --git a/scripts/buildstats-diff b/scripts/buildstats
The python library needs to be renamed so that the automatic dependency
generation/checking mechanism in bitbake does not get confused.
Otherwise python-profile-opt will depend on libpython from the "normal"
python package.
[YOCTO #9338]
Signed-off-by: Markus Lehtonen
---
.../pyt
specifying ${PYTHON_PROFILE_TASK}.
[YOCTO #9338]
Signed-off-by: Markus Lehtonen
---
meta/recipes-devtools/images/python-pgo-image.bb | 55
1 file changed, 55 insertions(+)
create mode 100644 meta/recipes-devtools/images/python-pgo-image.bb
diff --git a/meta/recipes-devtools
OFILE_TASK = "${S}/Tools/pybench/pybench.py -n 2 --with-gc
--with-syscheck"
[YOCTO #9338]
Signed-off-by: Markus Lehtonen
---
...x-.so-loading-when-when-running-profile-t.patch | 26 ++
.../python/python-native_2.7.12.bb | 10 +
2 files ch
headers.
[YOCTO #9338]
Signed-off-by: Markus Lehtonen
---
.../python/python/01-use-proper-tools-for-cross-build.patch| 10 --
1 file changed, 10 deletions(-)
diff --git
a/meta/recipes-devtools/python/python/01-use-proper-tools-for-cross-build.patch
b/meta/recipes-devtools/python
Switch to pybench in order to reduce the time taken by profiling.
[YOCTO #9338]
Signed-off-by: Markus Lehtonen
---
meta/recipes-devtools/images/python-pgo-image.bb | 16 +---
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/meta/recipes-devtools/images/python-pgo
PYTHON_PROFILE_OPT = "1" in your local.conf. Be sure to get the profile
data for python, preferably by running
"bitbake python-pgo-image -c profile".
[YOCTO #9338]
Signed-off-by: Markus Lehtonen
---
meta/recipes-devtools/python/python_2.7.12.bb | 25 -
7e460a13d34baca:
oeqa/selftest/devtool: rewrite modify testcase (2017-01-19 22:45:46 +)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib marquiz/fixes-9338-py2
http://git.openembedded.org/openembedded-core-contrib/log/?h=marquiz/fixes-9338-py2
]
Signed-off-by: Markus Lehtonen
---
meta/recipes-devtools/images/python-pgo-image.bb | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-devtools/images/python-pgo-image.bb
b/meta/recipes-devtools/images/python-pgo-image.bb
index 1aabd56..222d7a8 100644
--- a
tbake python-pgo-image -c clean"
(or otherwise wipe pre-existing profile data) before running
"bitbake python-pgo-image -c profile".
[YOCTO #9338]
Signed-off-by: Markus Lehtonen
---
meta/recipes-devtools/images/python-pgo-image.bb | 15 +--
1 file changed, 13 insert
Useful in developing Python, e.g. in benchmarking.
[YOCTO #9338]
Signed-off-by: Markus Lehtonen
---
meta/recipes-devtools/python/python-2.7-manifest.inc | 8 +---
meta/recipes-devtools/python/python_2.7.12.bb| 5 +
2 files changed, 10 insertions(+), 3 deletions(-)
diff --git a
. This patch enables the first step, i.e.
building python with profile instrumentation enabled
[YOCTO #9338]
Signed-off-by: Markus Lehtonen
---
.../python/python-profile-opt_2.7.12.bb| 17 ++
meta/recipes-devtools/python/python_2.7.12.bb | 26 +++---
From: David Vincent
When using an alternative as an initscript, the ordering between
update-rc.d and update-alternatives tasks during prerm and postinst
tasks must always be the following in order to work:
* prerm:
- stop daemon
- remove alternative
* postinst:
- add alternative
ay
be specified with PYTHON3_PROFILE_TASK.
[YOCTO #9338]
Signed-off-by: Markus Lehtonen
---
meta/recipes-devtools/images/python-pgo-image.bb | 55 +++-
1 file changed, 44 insertions(+), 11 deletions(-)
diff --git a/meta/recipes-devtools/images/python-pgo-image.bb
b/meta/rec
This feature is virtually identical to that of python-native. Profile
guided optimization is enabled by defining
PYTHON3_NATIVE_PROFILE_OPT = "1"
in local.conf. In addition, the profile task may be defined with
PYTHON3_NATIVE_PROFILE_TASK.
[YOCTO #9338]
Signed-off-by: Markus Lehtonen
3.
[YOCTO #9338]
Signed-off-by: Markus Lehtonen
---
meta/recipes-devtools/python/python-profile-opt3 | 1 +
.../python/python-profile-opt3_3.5.2.bb| 15 +++
...efile-add-install_generate_profile-target.patch | 25 +
...name-libpython3-to-libpython-profile-opt3.p
Similar to an earlier fix for Python 2.7. Make the tests subpackage
depend on all modules as test.regrtest uses most (if not all) of them.
Some tests also depend on libgcc so add that as a runtime dependency as
well.
[YOCTO #9338]
Signed-off-by: Markus Lehtonen
---
meta/recipes-devtools
[YOCTO #9338]
Signed-off-by: Markus Lehtonen
---
meta/recipes-devtools/python/python-3.5-manifest.inc | 8 +---
meta/recipes-devtools/python/python3_3.5.2.bb| 5 +
2 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/meta/recipes-devtools/python/python-3.5
ata can be obtainen e.g. by running bitbake python-pgo-image -c
profile3.
[YOCTO #9338]
Signed-off-by: Markus Lehtonen
---
meta/recipes-devtools/python/python3_3.5.2.bb | 20
1 file changed, 20 insertions(+)
diff --git a/meta/recipes-devtools/python/python3_3.5.2.bb
b/me
Without this the pgo-related compiler flags are not used in
cross-builds.
[YOCTO #9338]
Signed-off-by: Markus Lehtonen
---
...-CFLAGS-for-extensions-when-cross-compili.patch | 56 ++
meta/recipes-devtools/python/python3_3.5.2.bb | 1 +
2 files changed, 57 insertions
python-pgo-image: enable sstate for do_profile (2017-01-24 15:23:49 +0200)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib marquiz/fixes-9338-py3
http://git.openembedded.org/openembedded-core-contrib/log/?h=marquiz/fixes-9338-py3
Markus Lehtonen (
test_urllib2_localnet: 1276.8s
test_itertools: 944.7s
test_tuple: 847.7s
test_trace: 756.7s
test_tarfile: 716.7s
test_unicodedata: 709.9s
test_decimal: 615.1s
[YOCTO #9338]
Signed-off-by: Markus Lehtonen
---
meta/recipes-devtools/images/python-pgo-image.bb | 5 +
1 file
es when running "gcc -E -v".
The second hack becomes useless after the first hack has been removed
and we get the standard include and lib directories normally from gcc.
[YOCTO #9338]
Signed-off-by: Markus Lehtonen
---
.../python3-setup.py-no-host-h
Running test.regrtest was still taking ridiculously long, i.e. around 4
hours in qemux86 on my desktop machine. Change to pybench which "only"
takes around 55 minutes.
[YOCTO #9338]
Signed-off-by: Markus Lehtonen
---
meta/recipes-devtools/images/python-pgo-image.bb | 11 ++---
Without the '-s' option realpath will error out if the given path does
not exist.
Signed-off-by: Markus Lehtonen
---
scripts/contrib/build-perf-test-wrapper.sh | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/scripts/contrib/build-perf-test-wrapper.sh
b/scrip
ed non-zero exit status 1 with output:
In general, the console output of commands is only interesting when
something fails. Also, dropping the commands.log file is a huge saving
in disk space, and thus, repository size when results are archived in
Git.
Signed-off-by: Markus Lehtonen
---
m
Bunch of one-liners fixing build dependency issues uncovered after recipe
specific sysroots were enabled. I bumped into these when trying to build
core-image-sato in a rather minimal host environment.
Markus Lehtonen (3):
rpm: inherit pkgconfig
wpa-supplicant: inherit pkgconfig
at-spi2-atk
Rpm needs pkg-config in order to build successfully. Recipe specific
sysroots revealed this missing dependency when trying to build on a host
without pkg-config.
Signed-off-by: Markus Lehtonen
---
meta/recipes-devtools/rpm/rpm_5.4.16.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion
1 - 100 of 681 matches
Mail list logo