niko.mauno@vaisala.com
d45aef25c1
ptest.bbclass: Honor PARALLEL_MAKE, PARALLEL_MAKEINST
...
Since oe_runmake wrapper doesn't by default involve PARALLEL_MAKE
outside do_compile() nor PARALLEL_MAKEINST outside do_install(),
enable parallellized make by default when oe_runmake is invoked from
do_compile_ptest() or do_install_ptest() by declaring wrapper task
specific EXTRA_OEMAKE overrides in fashion similar to do_compile and
do_install overrides in meta/conf/bitbake.conf.
Parallel make can still be disabled by resetting bbclass specific
PTEST_PARALLEL_MAKE and PTEST_PARALLEL_MAKEINST variables in recipe
e.g. if a race issue needs to be avoided without modifying source code.
Tested by issuing following command sequence on a 32-core build host:
$ bitbake -c clean util-linux && bitbake --skip-setscene -c compile util-linux && time bitbake --skip-setscene -c compile_ptest_base util-linux
and found that before this change the result was
real 0m34.684s
user 0m0.753s
sys 0m0.131s
and after this change
real 0m9.868s
user 0m0.749s
sys 0m0.150s
(From OE-Core rev: 5c09d2a017add8bd34142c6c1543e2d0f9ead286)
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com >
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com >
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2022-06-25 00:06:08 +01:00
..
2022-01-07 23:10:26 +00:00
2022-06-15 12:27:01 +01:00
2021-09-26 14:36:48 +01:00
2022-06-07 21:21:54 +01:00
2022-06-11 10:30:57 +01:00
2021-08-02 15:44:10 +01:00
2021-08-02 15:44:10 +01:00
2021-08-02 15:44:10 +01:00
2021-08-02 15:44:10 +01:00
2022-06-11 10:30:57 +01:00
2021-07-10 22:42:22 +01:00
2022-05-20 22:52:23 +01:00
2022-03-17 16:44:33 +00:00
2022-03-04 17:14:15 +00:00
2021-08-02 15:44:10 +01:00
2021-07-13 14:27:53 +01:00
2021-09-19 11:33:14 +01:00
2021-08-02 15:44:10 +01:00
2022-06-15 12:27:01 +01:00
2022-03-10 08:00:28 +00:00
2021-11-26 17:01:08 +00:00
2022-06-17 17:57:44 +01:00
2021-12-06 11:09:53 +00:00
2022-03-15 08:40:09 +00:00
2022-03-01 23:44:59 +00:00
2022-04-26 18:25:08 +01:00
2022-03-16 10:31:41 +00:00
2021-08-05 08:53:41 +01:00
2022-05-20 22:52:23 +01:00
2021-08-02 15:44:10 +01:00
2022-02-17 17:51:03 +00:00
2021-08-02 15:44:10 +01:00
2021-08-02 15:44:10 +01:00
2021-08-02 15:44:10 +01:00
2021-08-02 15:44:10 +01:00
2021-08-02 15:44:10 +01:00
2021-08-02 15:44:10 +01:00
2021-08-02 15:44:10 +01:00
2021-08-02 15:44:10 +01:00
2021-08-02 15:44:10 +01:00
2022-05-28 18:38:02 +01:00
2021-08-20 08:53:03 +01:00
2022-02-01 07:31:18 +00:00
2021-08-02 15:44:10 +01:00
2022-01-07 14:39:17 +00:00
2022-02-25 12:41:23 +00:00
2021-08-02 15:44:10 +01:00
2022-03-02 18:43:24 +00:00
2022-04-27 23:30:11 +01:00
2022-05-21 08:37:30 +01:00
2021-10-16 17:41:59 +01:00
2022-06-11 10:30:57 +01:00
2021-08-02 15:44:10 +01:00
2021-08-04 20:45:41 +01:00
2021-08-04 20:45:41 +01:00
2022-05-11 17:16:11 +01:00
2022-06-25 00:06:08 +01:00
2021-12-22 23:11:45 +00:00
2021-12-22 23:11:45 +00:00
2022-03-29 15:59:29 +01:00
2021-08-02 15:44:10 +01:00
2021-08-27 11:54:33 +01:00
2022-06-25 00:06:08 +01:00
2022-06-04 11:28:23 +01:00
2022-05-23 21:31:31 +01:00
2021-09-26 16:35:00 +01:00
2022-04-30 22:00:20 +01:00
2022-06-06 13:36:05 +01:00
2021-08-02 15:44:10 +01:00
2021-06-17 13:42:31 +01:00
2021-12-20 15:29:01 +00:00
2022-06-11 10:28:22 +01:00
2022-06-11 10:30:56 +01:00
2021-08-02 15:44:10 +01:00
2021-08-02 15:44:10 +01:00
2022-04-03 17:52:24 +01:00
2021-08-02 15:44:10 +01:00
2022-03-02 18:44:17 +00:00
2021-08-02 15:44:10 +01:00
2021-08-02 15:44:10 +01:00
2022-03-02 18:43:25 +00:00
2022-01-17 11:49:11 +00:00
2021-11-26 17:01:08 +00:00
2022-05-15 08:57:15 +01:00
2022-03-10 13:07:38 +00:00
2022-05-11 17:16:11 +01:00
2021-11-11 17:09:17 +00:00
2022-04-10 08:31:17 +01:00
2022-04-10 08:31:17 +01:00
2021-06-26 11:27:39 +01:00
2022-01-04 23:14:05 +00:00
2022-05-08 23:50:34 +01:00
2021-08-06 09:25:25 +01:00
2021-08-02 15:44:10 +01:00
2021-10-26 12:08:18 +01:00
2021-08-02 15:44:10 +01:00
2021-08-02 15:44:10 +01:00
2022-01-08 14:17:35 +00:00
2022-06-06 12:04:38 +01:00
2021-08-02 15:44:10 +01:00
2021-08-02 15:44:10 +01:00
2022-06-25 00:06:08 +01:00
2022-05-08 23:50:34 +01:00
2021-10-14 11:57:38 +01:00
2022-01-12 21:09:02 +00:00
2022-02-25 12:41:23 +00:00
2022-03-17 16:44:33 +00:00
2022-06-22 22:40:28 +01:00
2022-03-17 16:44:33 +00:00
2022-03-17 16:44:33 +00:00
2022-03-16 08:48:08 +00:00
2022-03-16 08:48:08 +00:00
2022-03-20 00:02:22 +00:00
2022-04-26 18:25:08 +01:00
2022-03-10 13:07:37 +00:00
2022-06-11 10:30:56 +01:00
2021-08-02 15:44:10 +01:00
2021-09-28 17:55:04 +01:00
2022-01-12 21:09:02 +00:00
2022-06-17 17:57:44 +01:00
2021-08-26 22:09:43 +01:00
2022-05-21 22:20:54 +01:00
2021-08-26 22:09:43 +01:00
2022-06-06 13:36:05 +01:00
2021-11-07 15:49:51 +00:00
2022-03-05 10:45:13 +00:00
2022-03-12 09:20:03 +00:00
2022-05-29 23:58:00 +01:00
2022-04-19 14:14:11 +01:00
2022-03-15 08:40:09 +00:00
2022-05-07 22:31:21 +01:00
2022-05-28 18:38:02 +01:00
2021-08-02 15:44:10 +01:00
2021-08-02 15:44:10 +01:00
2021-08-13 22:43:56 +01:00
2022-04-01 23:11:37 +01:00
2022-01-12 21:10:24 +00:00
2021-08-02 15:44:10 +01:00
2022-03-21 10:07:40 +00:00
2022-03-31 17:52:59 +01:00
2021-10-16 17:41:59 +01:00
2021-08-04 20:45:41 +01:00
2022-06-11 10:28:22 +01:00
2022-02-21 23:37:27 +00:00
2021-08-22 22:21:46 +01:00
2021-08-02 15:44:10 +01:00
2022-02-12 17:05:35 +00:00
2021-09-16 09:50:34 +01:00
2022-01-12 21:10:24 +00:00
2021-09-07 21:54:11 +01:00
2021-08-02 15:44:10 +01:00
2022-02-21 23:37:27 +00:00
2021-08-02 15:44:10 +01:00
2022-02-21 23:37:26 +00:00