diff options
author | Xavier Roche <xavrock.os@gmail.com> | 2015-02-13 12:33:29 +0100 |
---|---|---|
committer | Xavier Roche <xavrock.os@gmail.com> | 2015-02-13 12:33:29 +0100 |
commit | e48da76d3366965637c45d19f783d714ec2033c3 (patch) | |
tree | 9c2e94e1b7c63f5e76c0a0ba5090481e43e60786 /meta-tizen-ivi/recipes-ico | |
parent | b7284d09ab2ab05fff7fd2927a0296fa52e2d852 (diff) | |
download | meta-tizen-e48da76d3366965637c45d19f783d714ec2033c3.tar.gz meta-tizen-e48da76d3366965637c45d19f783d714ec2033c3.tar.bz2 meta-tizen-e48da76d3366965637c45d19f783d714ec2033c3.zip |
Tizen recipes: avoid -j16
Reporting what Patrick Ohly <patrick.ohly@intel.com> has previously done
-j16 is too high for users on smaller machines, leading to swapping and
out-of-memory situations, including random killing of processes by the
kernel's OOM killer.
This commit is the result of a global search/replace of -j16 with
${PARALLEL_MAKE}. It touches files generated with spec2yocto, so beware to fix
that tool before refreshing recipes.
In some cases (like calling oe_runmake), passing -j is redundant because it is
already included in the default parameters. This commit does not try to
address that, so one may see things like (from ail):
+ oe_runmake -j 16
+ oe_runmake_call -j 16
+ bbnote make -j 16 -j 16
+ echo 'NOTE: make -j 16 -j 16'
NOTE: make -j 16 -j 16
The "-j 16" here corresponds to ${PARALLEL_MAKE}.
Signed-off-by: Xavier Roche <xavrock.os@gmail.com>
Diffstat (limited to 'meta-tizen-ivi/recipes-ico')
7 files changed, 7 insertions, 7 deletions
diff --git a/meta-tizen-ivi/recipes-ico/ico-uxf-device-input-controller/ico-uxf-device-input-controller.inc b/meta-tizen-ivi/recipes-ico/ico-uxf-device-input-controller/ico-uxf-device-input-controller.inc index e852913b..64a9d0e8 100644 --- a/meta-tizen-ivi/recipes-ico/ico-uxf-device-input-controller/ico-uxf-device-input-controller.inc +++ b/meta-tizen-ivi/recipes-ico/ico-uxf-device-input-controller/ico-uxf-device-input-controller.inc @@ -57,7 +57,7 @@ do_compile() { autotools_do_configure - oe_runmake -j16 + oe_runmake ${PARALLEL_MAKE} diff --git a/meta-tizen-ivi/recipes-ico/ico-uxf-homescreen-sample-apps/ico-uxf-homescreen-sample-apps.inc b/meta-tizen-ivi/recipes-ico/ico-uxf-homescreen-sample-apps/ico-uxf-homescreen-sample-apps.inc index 89b75189..24984ae0 100644 --- a/meta-tizen-ivi/recipes-ico/ico-uxf-homescreen-sample-apps/ico-uxf-homescreen-sample-apps.inc +++ b/meta-tizen-ivi/recipes-ico/ico-uxf-homescreen-sample-apps/ico-uxf-homescreen-sample-apps.inc @@ -77,7 +77,7 @@ do_compile() { autotools_do_configure - oe_runmake -j16 + oe_runmake ${PARALLEL_MAKE} diff --git a/meta-tizen-ivi/recipes-ico/ico-uxf-homescreen/ico-uxf-homescreen.inc b/meta-tizen-ivi/recipes-ico/ico-uxf-homescreen/ico-uxf-homescreen.inc index f626c775..ced18ca8 100644 --- a/meta-tizen-ivi/recipes-ico/ico-uxf-homescreen/ico-uxf-homescreen.inc +++ b/meta-tizen-ivi/recipes-ico/ico-uxf-homescreen/ico-uxf-homescreen.inc @@ -111,7 +111,7 @@ do_compile() { autotools_do_configure - oe_runmake -j16 + oe_runmake ${PARALLEL_MAKE} diff --git a/meta-tizen-ivi/recipes-ico/ico-uxf-utilities/ico-uxf-utilities.inc b/meta-tizen-ivi/recipes-ico/ico-uxf-utilities/ico-uxf-utilities.inc index 3157bd7f..54d5c84e 100644 --- a/meta-tizen-ivi/recipes-ico/ico-uxf-utilities/ico-uxf-utilities.inc +++ b/meta-tizen-ivi/recipes-ico/ico-uxf-utilities/ico-uxf-utilities.inc @@ -61,7 +61,7 @@ do_compile() { autotools_do_configure - oe_runmake -j16 + oe_runmake ${PARALLEL_MAKE} diff --git a/meta-tizen-ivi/recipes-ico/ico-uxf-weston-plugin/ico-uxf-weston-plugin.inc b/meta-tizen-ivi/recipes-ico/ico-uxf-weston-plugin/ico-uxf-weston-plugin.inc index e9ba2242..7dc894d5 100644 --- a/meta-tizen-ivi/recipes-ico/ico-uxf-weston-plugin/ico-uxf-weston-plugin.inc +++ b/meta-tizen-ivi/recipes-ico/ico-uxf-weston-plugin/ico-uxf-weston-plugin.inc @@ -67,7 +67,7 @@ do_compile() { autotools_do_configure - oe_runmake -j16 + oe_runmake ${PARALLEL_MAKE} diff --git a/meta-tizen-ivi/recipes-ico/ico-vic-amb-plugin/ico-vic-amb-plugin.inc b/meta-tizen-ivi/recipes-ico/ico-vic-amb-plugin/ico-vic-amb-plugin.inc index 5ca605a0..aaa35355 100644 --- a/meta-tizen-ivi/recipes-ico/ico-vic-amb-plugin/ico-vic-amb-plugin.inc +++ b/meta-tizen-ivi/recipes-ico/ico-vic-amb-plugin/ico-vic-amb-plugin.inc @@ -70,7 +70,7 @@ do_compile() { -DBUILD_SHARED_LIBS:BOOL=ON \ -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ ${EXTRA_OECMAKE} - oe_runmake -j16 + oe_runmake ${PARALLEL_MAKE} diff --git a/meta-tizen-ivi/recipes-ico/ico-vic-carsimulator/ico-vic-carsimulator.inc b/meta-tizen-ivi/recipes-ico/ico-vic-carsimulator/ico-vic-carsimulator.inc index c4542c4d..ecb82080 100644 --- a/meta-tizen-ivi/recipes-ico/ico-vic-carsimulator/ico-vic-carsimulator.inc +++ b/meta-tizen-ivi/recipes-ico/ico-vic-carsimulator/ico-vic-carsimulator.inc @@ -56,7 +56,7 @@ do_compile() { autotools_do_configure - oe_runmake -j16 + oe_runmake ${PARALLEL_MAKE} |