Re: [OE-core] [PATCH] sysklogd: add alternatives for klogd and syslogd

2018-10-26 Thread Markus Lehtonen
'why would you want to have multiple, alternative syslog daemons on the system? Wouldn't a better fix be to move the syslogd and klogd symlinks to the busybox-syslog package? It doesn't seem to make much sense to have a syslogd binary on the system without an init script(?) The original

[OE-core] [PATCH] cantarell-fonts: fix SRC_URI

2018-09-06 Thread Markus Lehtonen
Fixes build for older git versions (e.g. in Centos 7) which are not able to redirect if the .git suffix is missing. Build got broken by 25bac865def42650c0c0323322158ba338e8b753 Signed-off-by: Markus Lehtonen --- meta/recipes-graphics/cantarell-fonts/cantarell-fonts_git.bb | 2 +- 1 file changed

Re: [OE-core] [PATCH 3/7] sysklogd: Use update-alternatives

2018-09-04 Thread Markus Lehtonen
Hmm, There should be rconflicts in place, in both way – i.e. busybox-syslog rconflicts with sysklogd and the other way around. Isn't there(?) - Markus On 03/09/2018, 19.34, "Khem Raj" wrote: On Sun, Sep 2, 2018 at 11:49 PM Markus Lehtonen wrote: > > Hi,

Re: [OE-core] [PATCH 3/7] sysklogd: Use update-alternatives

2018-09-03 Thread Markus Lehtonen
Hi, IIRC, the problem was that all the syslog packages were providing ${sysconfdir}/init.d/syslog which caused problems. And I don't think that has changed. Why would you want to install two syslog daemons on the system? You should be able to install busybox after syslog as busybox-syslog is

Re: [OE-core] [PATCH] buildperf: measure the size of core-image-sato rootfs

2018-03-15 Thread Markus Lehtonen
On 15/03/2018, 15.14, "Ross Burton" wrote: Signed-off-by: Ross Burton --- meta/lib/oeqa/buildperf/test_basic.py | 4 ++-- 1 file changed, 2 insertions(+), 2

[OE-core] [PATCH] scripts/oe-build-perf-report: fix comparing arbitrary commits

2018-03-15 Thread Markus Lehtonen
Fix a crash when generating a txt report and the two commits to be compared were not consecutive (but there were some tested commits between them). Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- scripts/oe-build-perf-report | 11 --- 1 file changed, 4 inse

[OE-core] [PATCH v10 00/14] support profile-optimized build for Python

2018-01-30 Thread Markus Lehtonen
marquiz/fixes-9338 http://cgit.openembedded.org/openembedded-core-contrib/log/?h=marquiz/fixes-9338 Markus Lehtonen (14): python3-native: support profile optimized build python3: fix depends of python3-tests python3: add python3-profile-opt recipe python3-profile-opt: rename libpython3

[OE-core] [PATCH v9 00/14] support profile-optimized build for Python

2018-01-11 Thread Markus Lehtonen
-08 08:45:33 +) 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 (14): python3-native: support profile optimized build python3

[OE-core] [PATCH v8 15/16] python3: remove two setup.py cross-compile hacks

2017-11-27 Thread Markus Lehtonen
en 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. Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- .../python3-setup.py-no-host-

[OE-core] [PATCH v8 16/16] oeqa: add selftest for python pgo

2017-11-27 Thread Markus Lehtonen
Check that we're able to run python profile task on qemu and that python builds when pgo is enabled. [YOCTO #9338] Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- meta/lib/oeqa/selftest/cases/python.py | 28 1 file changed, 28 inse

[OE-core] [PATCH v8 14/16] python3: add python3-tools subpackage

2017-11-27 Thread Markus Lehtonen
Useful in developing Python, e.g. in benchmarking. [YOCTO #9338] Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- meta/recipes-devtools/python/python-3.5-manifest.inc | 10 +++--- meta/recipes-devtools/python/python3_3.5.3.bb| 5 + scripts/contrib/

[OE-core] [PATCH v8 13/16] python3: fix profile-optimized build of modules

2017-11-27 Thread Markus Lehtonen
Without this the pgo-related compiler flags are not used in cross-builds. [YOCTO #9338] Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- ...-CFLAGS-for-extensions-when-cross-compili.patch | 56 ++ meta/recipes-devtools/python/python3_3.5.3.bb

[OE-core] [PATCH v8 12/16] python3: support profile optimized build

2017-11-27 Thread Markus Lehtonen
to specify PYTHON3_PROFILE_OPT = "1" in your local.conf, and, have profile data available in the location pointed to by PYTHON3_PROFILE_DIR. Profile data can be obtainen e.g. by running bitbake python-pgo-image -c profile3. [YOCTO #9338] Signed-off-by: Markus Lehtonen <

[OE-core] [PATCH v8 09/16] oeqa/targetcontrol: re-introduce get_target_controller()

2017-11-27 Thread Markus Lehtonen
This function was dropped in f352ef37a27cb0871c87cf9991d8ad2e1d560fde as unused, but, python-pgo-image needs it for running profile task on target hw. [YOCTO #9338] Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- meta/lib/oeqa/targetcontrol.p

[OE-core] [PATCH v8 11/16] devtools/images: add python-pgo-image

2017-11-27 Thread Markus Lehtonen
be specified with PYTHON3_PROFILE_TASK. The default profile task is pybench, although an example for using test.regrtest is included in the recipe. [YOCTO #9338] Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- meta/recipes-devtools/images/python-pgo-image.b

[OE-core] [PATCH v8 10/16] oeqa/targetcontrol: add missing arg to SimpleRemoteTarget.__init__

2017-11-27 Thread Markus Lehtonen
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- meta/lib/oeqa/targetcontrol.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/lib/oeqa/targetcontrol.py b/meta/lib/oeqa/targetcontrol.py index d147a44480..da529e67a4 100644 --- a/meta/li

[OE-core] [PATCH v8 08/16] iproute2: enable native

2017-11-27 Thread Markus Lehtonen
[YOCTO #9338] Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- meta/recipes-connectivity/iproute2/iproute2.inc | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/meta/recipes-connectivity/iproute2/iproute2.inc b/meta/recipes-connectivity/ip

[OE-core] [PATCH v8 07/16] iptables: enable native

2017-11-27 Thread Markus Lehtonen
[YOCTO #9338] Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- ...revent-absolute-path-in-installed-symlink.patch | 29 ++ meta/recipes-extended/iptables/iptables_1.6.1.bb | 3 +++ 2 files changed, 32 insertions(+) create mode 100644 meta/r

[OE-core] [PATCH v8 03/16] python3: add python3-profile-opt recipe

2017-11-27 Thread Markus Lehtonen
the target hardware. This patch enables the first step, i.e. building python with profile instrumentation enabled [YOCTO #9338] Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- meta/recipes-devtools/python/python3-profile-opt | 1 + .../python/python3-profile-op

[OE-core] [PATCH v8 05/16] openssh: extend to -native

2017-11-27 Thread Markus Lehtonen
[YOCTO #9338] Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- ...1-don-t-use-absolute-path-for-ssh-program.patch | 31 ++ meta/recipes-connectivity/openssh/openssh_7.6p1.bb | 7 - 2 files changed, 37 insertions(+), 1 deletion(-) create mode

[OE-core] [PATCH v8 01/16] python3-native: support profile optimized build

2017-11-27 Thread Markus Lehtonen
.conf, e.g. PYTHON3_NATIVE_PROFILE_TASK = "${S}/Tools/pybench/pybench.py -n 2 --with-gc --with-syscheck" [YOCTO #9338] Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- meta/recipes-devtools/python/python3-native_3.5.3.bb | 9 + .../python/python3/0001-c

[OE-core] [PATCH v8 06/16] libmnl: enable native

2017-11-27 Thread Markus Lehtonen
[YOCTO #9338] Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- meta/recipes-extended/libmnl/libmnl_1.0.4.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-extended/libmnl/libmnl_1.0.4.bb b/meta/recipes-extended/libmnl/libmnl_1.0.4.bb index b458

[OE-core] [PATCH v8 04/16] python3-profile-opt: rename libpython3

2017-11-27 Thread Markus Lehtonen
O #9338] Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- .../python/python3-profile-opt_3.5.3.bb| 1 + ...name-libpython3-to-libpython-profile-opt3.patch | 108 + 2 files changed, 109 insertions(+) create mode 100644 meta/recipes-devt

[OE-core] [PATCH v8 00/16] support profile-optimized build for Python

2017-11-27 Thread Markus Lehtonen
/openembedded-core-contrib marquiz/fixes-9338 http://cgit.openembedded.org/openembedded-core-contrib/log/?h=marquiz/fixes-9338 Markus Lehtonen (16): python3-native: support profile optimized build python3: fix depends of python3-tests python3: add python3-profile-opt recipe python3-profile-opt

[OE-core] [PATCH v8 02/16] python3: fix depends of python3-tests

2017-11-27 Thread Markus Lehtonen
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 <markus.lehto...@linux.intel.

[OE-core] [PATCH v7 00/15] support profile-optimized build for Python

2017-11-21 Thread Markus Lehtonen
ttp://cgit.openembedded.org/openembedded-core-contrib/log/?h=marquiz/fixes-9338 Markus Lehtonen (15): python3-native: support profile optimized build python3: fix depends of python3-tests python3: add python3-profile-opt recipe python3-profile-opt: rename libpython3 openssh: extend to -native libmnl: ena

[OE-core] [PATCH v6 15/15] python3: remove two setup.py cross-compile hacks

2017-11-20 Thread Markus Lehtonen
en 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. Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- .../python3-setup.py-no-host-

[OE-core] [PATCH v6 13/15] python3: fix profile-optimized build of modules

2017-11-20 Thread Markus Lehtonen
Without this the pgo-related compiler flags are not used in cross-builds. [YOCTO #9338] Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- ...-CFLAGS-for-extensions-when-cross-compili.patch | 56 ++ meta/recipes-devtools/python/python3_3.5.3.bb

[OE-core] [PATCH v6 14/15] python3: add python3-tools subpackage

2017-11-20 Thread Markus Lehtonen
Useful in developing Python, e.g. in benchmarking. [YOCTO #9338] Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- meta/recipes-devtools/python/python-3.5-manifest.inc | 8 +--- meta/recipes-devtools/python/python3_3.5.3.bb| 5 + 2 files changed, 10 inse

[OE-core] [PATCH v6 10/15] oeqa/targetcontrol: add missing arg to SimpleRemoteTarget.__init__

2017-11-20 Thread Markus Lehtonen
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- meta/lib/oeqa/targetcontrol.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/lib/oeqa/targetcontrol.py b/meta/lib/oeqa/targetcontrol.py index d147a44480..da529e67a4 100644 --- a/meta/li

[OE-core] [PATCH v6 09/15] oeqa/targetcontrol: re-introduce get_target_controller()

2017-11-20 Thread Markus Lehtonen
This function was dropped in f352ef37a27cb0871c87cf9991d8ad2e1d560fde as unused, but, python-pgo-image needs it for running profile task on target hw. [YOCTO #9338] Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- meta/lib/oeqa/targetcontrol.p

[OE-core] [PATCH v6 05/15] openssh: extend to -native

2017-11-20 Thread Markus Lehtonen
[YOCTO #9338] Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- ...1-don-t-use-absolute-path-for-ssh-program.patch | 31 ++ meta/recipes-connectivity/openssh/openssh_7.6p1.bb | 7 - 2 files changed, 37 insertions(+), 1 deletion(-) create mode

[OE-core] [PATCH v6 12/15] python3: support profile optimized build

2017-11-20 Thread Markus Lehtonen
to specify PYTHON3_PROFILE_OPT = "1" in your local.conf, and, have profile data available in the location pointed to by PYTHON3_PROFILE_DIR. Profile data can be obtainen e.g. by running bitbake python-pgo-image -c profile3. [YOCTO #9338] Signed-off-by: Markus Lehtonen <

[OE-core] [PATCH v6 11/15] devtools/images: add python-pgo-image

2017-11-20 Thread Markus Lehtonen
be specified with PYTHON3_PROFILE_TASK. The default profile task is pybench, although an example for using test.regrtest is included in the recipe. [YOCTO #9338] Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- meta/recipes-devtools/images/python-pgo-image.b

[OE-core] [PATCH v6 06/15] libmnl: enable native

2017-11-20 Thread Markus Lehtonen
[YOCTO #9338] Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- meta/recipes-extended/libmnl/libmnl_1.0.4.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-extended/libmnl/libmnl_1.0.4.bb b/meta/recipes-extended/libmnl/libmnl_1.0.4.bb index b458

[OE-core] [PATCH v6 07/15] iptables: enable native

2017-11-20 Thread Markus Lehtonen
[YOCTO #9338] Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- ...revent-absolute-path-in-installed-symlink.patch | 29 ++ meta/recipes-extended/iptables/iptables_1.6.1.bb | 3 +++ 2 files changed, 32 insertions(+) create mode 100644 meta/r

[OE-core] [PATCH v6 08/15] iproute2: enable native

2017-11-20 Thread Markus Lehtonen
[YOCTO #9338] Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- meta/recipes-connectivity/iproute2/iproute2.inc | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/meta/recipes-connectivity/iproute2/iproute2.inc b/meta/recipes-connectivity/ip

[OE-core] [PATCH v6 04/15] python3-profile-opt: rename libpython3

2017-11-20 Thread Markus Lehtonen
O #9338] Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- .../python/python3-profile-opt_3.5.3.bb| 1 + ...name-libpython3-to-libpython-profile-opt3.patch | 108 + 2 files changed, 109 insertions(+) create mode 100644 meta/recipes-devt

[OE-core] [PATCH v6 01/15] python3-native: support profile optimized build

2017-11-20 Thread Markus Lehtonen
.conf, e.g. PYTHON3_NATIVE_PROFILE_TASK = "${S}/Tools/pybench/pybench.py -n 2 --with-gc --with-syscheck" [YOCTO #9338] Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- meta/recipes-devtools/python/python3-native_3.5.3.bb | 9 + .../python/python3/0001-c

[OE-core] [PATCH v6 02/15] python3: fix depends of python3-tests

2017-11-20 Thread Markus Lehtonen
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 <markus.lehto...@linux.intel.

[OE-core] [PATCH v6 03/15] python3: add python3-profile-opt recipe

2017-11-20 Thread Markus Lehtonen
the target hardware. This patch enables the first step, i.e. building python with profile instrumentation enabled [YOCTO #9338] Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- meta/recipes-devtools/python/python3-profile-opt | 1 + .../python/python3-profile-op

[OE-core] [PATCH v6 00/15] support profile-optimized build for Python

2017-11-20 Thread Markus Lehtonen
=marquiz/fixes-9338 Markus Lehtonen (15): python3-native: support profile optimized build python3: fix depends of python3-tests python3: add python3-profile-opt recipe python3-profile-opt: rename libpython3 openssh: extend to -native libmnl: enable native iptables: enable native iproute2

Re: [OE-core] [PATCH v5 05/10] bitbake.conf: add ip and scp to HOSTTOOLS unconditionally

2017-11-15 Thread Markus Lehtonen
..@windriver.com> wrote: On 10/31/2017 03:15 AM, Markus Lehtonen wrote: > Hi, > > Please see the 6th patch ("devtools/images: add python-pgo-image") in my patchset for python-pgo-image. > > I'd like the profiling to work out-of-the-box, without

[OE-core] [PATCH 6/6] update-alternatives.bbclass: refuse to manage SysV init scripts

2017-11-01 Thread Markus Lehtonen
Sanity check for future packages. [YOCTO #10944] Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- meta/classes/update-alternatives.bbclass | 4 1 file changed, 4 insertions(+) diff --git a/meta/classes/update-alternatives.bbclass b/meta/classes/

[OE-core] [PATCH 5/6] Revert "classes: Fix alternatives and rc.d ordering"

2017-11-01 Thread Markus Lehtonen
This kludge is not needed anymore, now that syslog packages (or any other package) don't use update-alternatives for managing SysV init scripts. This reverts commit fc89a3f739ff25306ea91d9bdb424fc8389bdf72. [YOCTO #10944] --- meta/classes/update-alternatives.bbclass | 29

[OE-core] [PATCH 3/6] lsbinitscripts: don't use update-alternatives

2017-11-01 Thread Markus Lehtonen
Make lsbinitscripts (r)conflict with initscripts-functions package. [YOCTO #10944] Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- meta/recipes-extended/lsb/lsbinitscripts_9.72.bb | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/meta/r

[OE-core] [PATCH 2/6] initscripts: don't use update-alternatives

2017-11-01 Thread Markus Lehtonen
Stop using update-alternatives for managing /etc/init.d/functions. Also, make the initscripts-functions subpackage to (runtime) conflict with lsbinitscripts. [YOCTO #10944] Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- meta/classes/update-rc.d.bbclass

[OE-core] [PATCH 1/6] sysklogd: don't use update-alternatives

2017-11-01 Thread Markus Lehtonen
Using update-alternatives for managing init scripts has proved to be problematic. And, sysklogd rconflicts with other syslog daemons so there is no point in using update-alternatives from this perspective, either. [YOCTO #10944] Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.

[OE-core] [PATCH 4/6] initscripts: rrecommend initscripts-functions

2017-11-01 Thread Markus Lehtonen
In order to make that the default provider for initd-functions. [YOCTO #10944] Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- meta/recipes-core/initscripts/initscripts_1.0.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-core/inits

[OE-core] [PATCH 0/6] Stop using update-alternatives for init scripts

2017-11-01 Thread Markus Lehtonen
: 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-10944 http://cgit.openembedded.org/openembedded-core-contrib/log/?h=marquiz/fixes-10944 Markus Lehtonen (6

Re: [OE-core] [PATCH v5 05/10] bitbake.conf: add ip and scp to HOSTTOOLS unconditionally

2017-10-31 Thread Markus Lehtonen
nnot find python-pgo-image. HOSTTOOLS has its default value set in bitbake.conf, and we could modify it in other conf files like distro conf or local.conf. Could this possibly be your solution? Best Regards, Chen Qi On 10/30/2017 10:42 PM, Markus Lehtonen wrote:

Re: [OE-core] [PATCH v5 05/10] bitbake.conf: add ip and scp to HOSTTOOLS unconditionally

2017-10-30 Thread Markus Lehtonen
10/30/2017 06:51 AM, Markus Lehtonen wrote: > Hi, > > What that tries state is that the image uses facilities written for > runtimetest (i.e. oeqa.targetcontrol) to run binaries on the target > machine. The new image introduced (i.e. python-pgo-image) uses this

Re: [OE-core] [PATCH v5 05/10] bitbake.conf: add ip and scp to HOSTTOOLS unconditionally

2017-10-30 Thread Markus Lehtonen
henQi" <qi.c...@windriver.com> wrote: On 10/27/2017 06:07 PM, Markus Lehtonen wrote: > Needed to be able to run images using the runtime test facilities. Hi Markus, What do you mean by 'run images using runtime test facilities'? testimage? ptest? 'scp'

[OE-core] [PATCH v5 10/10] python3: remove two setup.py cross-compile hacks

2017-10-27 Thread Markus Lehtonen
en 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. Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- .../python3-setup.py-no-host-

[OE-core] [PATCH v5 09/10] python3: add python3-tools subpackage

2017-10-27 Thread Markus Lehtonen
Useful in developing Python, e.g. in benchmarking. [YOCTO #9338] Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- meta/recipes-devtools/python/python-3.5-manifest.inc | 8 +--- meta/recipes-devtools/python/python3_3.5.3.bb| 5 + 2 files changed, 10 inse

[OE-core] [PATCH v5 07/10] python3: support profile optimized build

2017-10-27 Thread Markus Lehtonen
to specify PYTHON3_PROFILE_OPT = "1" in your local.conf, and, have profile data available in the location pointed to by PYTHON3_PROFILE_DIR. Profile data can be obtainen e.g. by running bitbake python-pgo-image -c profile3. [YOCTO #9338] Signed-off-by: Markus Lehtonen <

[OE-core] [PATCH v5 06/10] devtools/images: add python-pgo-image

2017-10-27 Thread Markus Lehtonen
be specified with PYTHON3_PROFILE_TASK. The default profile task is pybench, although an example for using test.regrtest is included in the recipe. [YOCTO #9338] Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- meta/recipes-devtools/images/python-pgo-image.b

[OE-core] [PATCH v5 00/10] support profile-optimized build for Python

2017-10-27 Thread Markus Lehtonen
-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

[OE-core] [PATCH v5 02/10] python3: fix depends of python3-tests

2017-10-27 Thread Markus Lehtonen
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 <markus.lehto...@linux.intel.

[OE-core] [PATCH v5 05/10] bitbake.conf: add ip and scp to HOSTTOOLS unconditionally

2017-10-27 Thread Markus Lehtonen
Needed to be able to run images using the runtime test facilities. Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- meta/conf/bitbake.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf

[OE-core] [PATCH v5 08/10] python3: fix profile-optimized build of modules

2017-10-27 Thread Markus Lehtonen
Without this the pgo-related compiler flags are not used in cross-builds. [YOCTO #9338] Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- ...-CFLAGS-for-extensions-when-cross-compili.patch | 56 ++ meta/recipes-devtools/python/python3_3.5.3.bb

[OE-core] [PATCH v5 04/10] python3-profile-opt: rename libpython3

2017-10-27 Thread Markus Lehtonen
O #9338] Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- .../python/python3-profile-opt_3.5.3.bb| 1 + ...name-libpython3-to-libpython-profile-opt3.patch | 108 + 2 files changed, 109 insertions(+) create mode 100644 meta/recipes-devt

[OE-core] [PATCH v5 03/10] python3: add python3-profile-opt recipe

2017-10-27 Thread Markus Lehtonen
the target hardware. This patch enables the first step, i.e. building python with profile instrumentation enabled [YOCTO #9338] Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- meta/recipes-devtools/python/python3-profile-opt | 1 + .../python/python3-profile-op

[OE-core] [PATCH v5 01/10] python3-native: support profile optimized build

2017-10-27 Thread Markus Lehtonen
.conf, e.g. PYTHON3_NATIVE_PROFILE_TASK = "${S}/Tools/pybench/pybench.py -n 2 --with-gc --with-syscheck" [YOCTO #9338] Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- meta/recipes-devtools/python/python3-native_3.5.3.bb | 9 + .../python/python3/0001-c

[OE-core] [PATCH] oe-build-perf-report-email.py: add images as MIME objects

2017-10-25 Thread Markus Lehtonen
Add images as separate MIME objects instead of directly embedding images in the html (as base64 encoded pngs). This makes the emails better suited for certain email servers/clients. Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- scripts/contrib/oe-build-perf-report-em

[OE-core] [PATCH 3/4] scripts/buildstats-diff: move more code to lib/buildstats.py

2017-09-15 Thread Markus Lehtonen
More refactoring of buildstats-diff script. Move recipe version comparison functionality to scripts/lib/buildstats.py. This patch also compasses some wording changes, i.e. changing 'package' to 'recipe'. [YOCTO #11382] Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- s

[OE-core] [PATCH 4/4] scripts/oe-build-perf-report: show recipe version changes in html report

2017-09-15 Thread Markus Lehtonen
If buildstats are available (for a certain measurement), show recipe version changes between the two builds that are being compared. The information shown includes new and dropped recipes as well as changes in recipe version, revision or epoch. [YOCTO #11382] Signed-off-by: Markus Lehtonen

[OE-core] [PATCH 2/4] scripts/oe-build-perf-report: summary of task resource usage

2017-09-15 Thread Markus Lehtonen
) [YOCTO #11381] Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- scripts/lib/build_perf/html/report.html | 60 +- scripts/lib/buildstats.py | 8 +++ scripts/oe-build-perf-report| 90 - 3 files change

[OE-core] [PATCH 1/4] scripts/buildstats-diff: move code to lib/buildstats.py

2017-09-15 Thread Markus Lehtonen
Move over code from buildstats-diff to new scripts/lib/buildstats.py module in order to share code related to buildstats processing. Also, refactor the code, introducing new classes to make the code readable, maintainable and easier to debug. [YOCTO #11381] Signed-off-by: Markus Lehtonen

[OE-core] [PATCH 0/4] oe-build-perf-report: task and recipe details in html report

2017-09-15 Thread Markus Lehtonen
/openembedded-core-contrib/log/?h=marquiz/fixes-11381 Markus Lehtonen (4): scripts/buildstats-diff: move code to lib/buildstats.py scripts/oe-build-perf-report: summary of task resource usage scripts/buildstats-diff: move more code to lib/buildstats.py scripts/oe-build-perf-report: show recipe

[OE-core] [PATCH 2/7] scripts/oe-build-perf-report: add AggregateTestData class

2017-09-15 Thread Markus Lehtonen
Making the code a bit more readable. Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- scripts/lib/build_perf/report.py | 5 - scripts/oe-build-perf-report | 16 +--- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/scripts/lib/buil

[OE-core] [PATCH 0/7] Fixes to oe-build-perf-report

2017-09-15 Thread Markus Lehtonen
-14 12:39:29 +0100) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib marquiz/buildperf/fixes http://cgit.openembedded.org/openembedded-core-contrib/log/?h=marquiz/buildperf/fixes Markus Lehtonen (7): scripts/oe-build-perf-report: fix dumping

[OE-core] [PATCH 6/7] scripts/oe-build-perf-report: provide valid title in the html report

2017-09-15 Thread Markus Lehtonen
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- scripts/oe-build-perf-report | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/oe-build-perf-report b/scripts/oe-build-perf-report index 4e067caba0..8d730cd20a 100755 --- a/scripts/oe-buil

[OE-core] [PATCH 7/7] scripts/oe-build-perf-report: tidy up html syntax

2017-09-15 Thread Markus Lehtonen
Fix some problems in the html syntax of the generated report: - prevent empty rows in the summary table - add one missing column in the results table Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- scripts/lib/build_perf/html/report.htm

[OE-core] [PATCH 3/7] scripts/oe-build-perf-report: fix handling of --history-length

2017-09-15 Thread Markus Lehtonen
Don't crash if 'left' revision is older than the range of commits specified with '--history-length'. In this case the 'left' revision takes precedence. Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- scripts/oe-build-perf-report | 2 +- 1 file changed, 1 insertion

[OE-core] [PATCH 5/7] scripts/oe-build-perf-report: remove dead code

2017-09-15 Thread Markus Lehtonen
Some leftover from an early prototype. Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- scripts/oe-build-perf-report | 4 1 file changed, 4 deletions(-) diff --git a/scripts/oe-build-perf-report b/scripts/oe-build-perf-report index 89d9d6f6b5..4e067caba0

[OE-core] [PATCH 4/7] scripts/oe-build-perf-report: use --hostname in --list

2017-09-15 Thread Markus Lehtonen
Makes it possible to list test results for certain host only, instead of always listing all results from all hosts. Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- scripts/oe-build-perf-report | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/s

[OE-core] [PATCH 1/7] scripts/oe-build-perf-report: fix dumping buildstats

2017-09-15 Thread Markus Lehtonen
Fix a misbehavior when some of the buildstats are missing. Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- scripts/oe-build-perf-report | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/oe-build-perf-report b/scripts/oe-build-perf-report index b5ad

[OE-core] [PATCH] oeqa: increase verbosity of dnf commands in dnf packagefeed test

2017-08-18 Thread Markus Lehtonen
Makes diagnosing failures easier. [YOCTO #11209] Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- meta-selftest/lib/oeqa/runtime/cases/dnf_runtime.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-selftest/lib/oeqa/runtime/cases/dnf_runt

Re: [OE-core] [PATCH] gpg_sign: perform rpm signing serially

2017-08-18 Thread Markus Lehtonen
subpackages you get different figures. - Markus On 17/08/2017, 17.52, "Leonardo Sandoval" <leonardo.sandoval.gonza...@linux.intel.com> wrote: On Thu, 2017-08-17 at 10:50 +0300, Markus Lehtonen wrote: > Hi, > > I quickly run some tests on a Xeon serve

Re: [OE-core] [PATCH] gpg_sign: perform rpm signing serially

2017-08-17 Thread Markus Lehtonen
BB_NUMBER_THREADS as Andre suggested in another email. - Markus On 16/08/2017, 19.00, "Leonardo Sandoval" <leonardo.sandoval.gonza...@linux.intel.com> wrote: On Wed, 2017-08-16 at 15:28 +0300, Markus Lehtonen wrote: > I agree. I don't see reason for dropping par

Re: [OE-core] [PATCH] gpg_sign: perform rpm signing serially

2017-08-16 Thread Markus Lehtonen
I agree. I don't see reason for dropping parallelism completely. There is a real gain when running on beefier machines. Making it configurable would probably be best. Or just drop it to a saner value, like 20 or 10. - Markus On 16/08/2017, 2.53, "Mark Hatle"

[OE-core] [PATCH v4 7/8] oeqa: fix temp file handling in dnf package feed test

2017-08-15 Thread Markus Lehtonen
Prevent stale temp files and a possible (if unlikely) race in tempfile usage. Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- meta-selftest/lib/oeqa/runtime/cases/dnf_runtime.py | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/meta-selfte

[OE-core] [PATCH v4 8/8] dnf: expand dnf selftest to test signed package feeds

2017-08-15 Thread Markus Lehtonen
[YOCTO #11209] Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- meta-selftest/files/signing/key.passphrase | 1 + meta-selftest/lib/oeqa/runtime/cases/dnf_runtime.py | 4 +++- meta/lib/oeqa/selftest/cases/runtime_test.py| 12 +++- 3 files c

[OE-core] [PATCH v4 6/8] oeqa: fix dnf tests

2017-08-15 Thread Markus Lehtonen
Rename one dnf runtime test that it will recognized as a python module and thus also found by the oe test loader. Also, fix value of TEST_SUITES in dnf selftest so that all test dependencies are satisfied and the runtime test may be successfully run from there. Signed-off-by: Markus Lehtonen

[OE-core] [PATCH v4 5/8] package_manager.py: enable dnf's repo_gpgcheck if feed signing is enabled

2017-08-15 Thread Markus Lehtonen
If package feed signing is enabled enable repo gpg signature check for rpm repositories added via PACKAGE_FEED_URIS. This has the implication that all repositories added via this mechanism must be signed with the same key. [YOCTO #11209] Signed-off-by: Markus Lehtonen <markus.le

[OE-core] [PATCH v4 3/8] signing-keys: delete unused tasks

2017-08-15 Thread Markus Lehtonen
In particular, do_unpack needs to be deleted as it was causing missing subpackages. Do_unpack cleans the builddir and if it was run after do_get_public_keys it cleaned up all keys causing no packages to be built. Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- meta/r

[OE-core] [PATCH v4 4/8] sign_package_feed.bbclass: install signing key into rootfs

2017-08-15 Thread Markus Lehtonen
If package-management is enabled. [YOCTO #11209] Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- meta/classes/sign_package_feed.bbclass | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/classes/sign_package_feed.bbclass b/meta/classes/sign_package_feed.b

[OE-core] [PATCH v4 1/8] lib/oe/package_manager: re-implement rpm feed signing

2017-08-15 Thread Markus Lehtonen
[YOCTO #11209] Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- meta/lib/oe/package_manager.py | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py index 518cf8dbe3..942f

[OE-core] [PATCH v4 2/8] dnf: rrecommend gnupg

2017-08-15 Thread Markus Lehtonen
This makes it possible to enable 'repo_gpgcheck' in dnf.conf. That is, do GPG signature check on repository metadata. Without gnupg dnf fails with "error: Invalid crypto engine." [YOCTO #11209] Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- meta/reci

[OE-core] [PATCH v4 0/8] Support signed RPM package feeds

2017-08-15 Thread Markus Lehtonen
edded-core-contrib/log/?h=marquiz/fixes-11209 Markus Lehtonen (8): lib/oe/package_manager: re-implement rpm feed signing dnf: rrecommend gnupg signing-keys: delete unused tasks sign_package_feed.bbclass: install signing key into rootfs package_manager.py: enable dnf's repo_gpgcheck if fe

Re: [OE-core] [PATCH v2 7/7] dnf: expand dnf selftest to test signed package feeds

2017-08-14 Thread Markus Lehtonen
On 14/08/2017, 14.16, "Alexander Kanavin" <alexander.kana...@linux.intel.com> wrote: On 08/11/2017 06:35 PM, Markus Lehtonen wrote: > > import re > -output_makecache = self.dnf('makecache') > +output_makeca

[OE-core] [PATCH v3 0/7] Support signed RPM package feeds

2017-08-11 Thread Markus Lehtonen
org/openembedded-core-contrib marquiz/fixes-11209 http://cgit.openembedded.org/openembedded-core-contrib/log/?h=marquiz/fixes-11209 Markus Lehtonen (7): lib/oe/package_manager: re-implement rpm feed signing dnf: rrecommend gnupg sign_package_feed.bbclass: install signing key into roo

[OE-core] [PATCH v2 7/7] dnf: expand dnf selftest to test signed package feeds

2017-08-11 Thread Markus Lehtonen
[YOCTO #12099] Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- meta-selftest/files/signing/key.passphrase | 1 + meta-selftest/lib/oeqa/runtime/cases/dnf_runtime.py | 3 ++- meta/lib/oeqa/selftest/cases/runtime_test.py| 12 +++- 3 files chang

[OE-core] [PATCH v2 6/7] oeqa: fix temp file handling in dnf package feed test

2017-08-11 Thread Markus Lehtonen
Prevent stale temp files and a possible (if unlikely) race in tempfile usage. Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- meta-selftest/lib/oeqa/runtime/cases/dnf_runtime.py | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/meta-selfte

[OE-core] [PATCH v2 5/7] oeqa: fix dnf tests

2017-08-11 Thread Markus Lehtonen
Rename one dnf runtime test that it will recognized as a python module and thus also found by the oe test loader. Also, fix value of TEST_SUITES in dnf selftest so that all test dependencies are satisfied and the runtime test may be successfully run from there. Signed-off-by: Markus Lehtonen

[OE-core] [PATCH v2 4/7] package_manager.py: enable dnf's repo_gpgcheck if feed signing is enabled

2017-08-11 Thread Markus Lehtonen
If package feed signing is enabled enable repo gpg signature check for rpm repositories added via PACKAGE_FEED_URIS. This has the implication that all repositories added via this mechanism must be signed with the same key. [YOCTO #11209] Signed-off-by: Markus Lehtonen <markus.le

[OE-core] [PATCH v2 0/7] Support signed RPM package feeds

2017-08-11 Thread Markus Lehtonen
ory at: git://git.openembedded.org/openembedded-core-contrib marquiz/fixes-11209 http://cgit.openembedded.org/openembedded-core-contrib/log/?h=marquiz/fixes-11209 Markus Lehtonen (7): lib/oe/package_manager: re-implement rpm feed signing dnf: rrecommend gnupg sign_package_feed.bbclass: inst

[OE-core] [PATCH v2 3/7] sign_package_feed.bbclass: install signing key into rootfs

2017-08-11 Thread Markus Lehtonen
If package-management is enabled. [YOCTO #11209] Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- meta/classes/sign_package_feed.bbclass | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/classes/sign_package_feed.bbclass b/meta/classes/sign_package_feed.b

[OE-core] [PATCH v2 2/7] dnf: rrecommend gnupg

2017-08-11 Thread Markus Lehtonen
This makes it possible to enable 'repo_gpgcheck' in dnf.conf. That is, do GPG signature check on repository metadata. Without gnupg dnf fails with "error: Invalid crypto engine." [YOCTO #11209] Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com> --- meta/reci

  1   2   3   4   5   6   7   >