* [RFC PATCH] bitbake.conf: Start using parallel make for do_install
@ 2011-09-29 14:55 Richard Purdie
2011-09-29 18:06 ` Joshua Lock
0 siblings, 1 reply; 2+ messages in thread
From: Richard Purdie @ 2011-09-29 14:55 UTC (permalink / raw)
To: openembedded-core
Most piece of software now support parallel make install. Enable
this by default using the value of PARALLEL_MAKE. In a similar way
to PARALLEL_MAKE we can disable this for broken recipes with:
PARALLEL_MAKEINST = ""
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index f18e35b..a1420cf 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -493,8 +493,11 @@ export TARGET_LDFLAGS = "-Wl,-O1 ${TARGET_LINK_HASH_STYLE}"
# Which flags to leave by strip-flags() in bin/build/oebuild.sh ?
ALLOWED_FLAGS = "-O -mcpu -march -pipe"
-# Pass parallel make options to the compile task only
+# Pass parallel make options to the compile task
EXTRA_OEMAKE_prepend_task-compile = "${PARALLEL_MAKE} "
+PARALLEL_MAKEINST ??= "${PARALLEL_MAKE}"
+# Pass parallel make options to the install task
+EXTRA_OEMAKE_prepend_task-install = "${PARALLEL_MAKEINST} "
##################################################################
# Optimization flags.
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [RFC PATCH] bitbake.conf: Start using parallel make for do_install
2011-09-29 14:55 [RFC PATCH] bitbake.conf: Start using parallel make for do_install Richard Purdie
@ 2011-09-29 18:06 ` Joshua Lock
0 siblings, 0 replies; 2+ messages in thread
From: Joshua Lock @ 2011-09-29 18:06 UTC (permalink / raw)
To: openembedded-core
On Thu, 2011-09-29 at 15:55 +0100, Richard Purdie wrote:
> Most piece of software now support parallel make install. Enable
> this by default using the value of PARALLEL_MAKE. In a similar way
> to PARALLEL_MAKE we can disable this for broken recipes with:
>
> PARALLEL_MAKEINST = ""
>
> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Hurrah!
Signed-off-by: Joshua Lock <josh@linux.intel.com>
> ---
> diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
> index f18e35b..a1420cf 100644
> --- a/meta/conf/bitbake.conf
> +++ b/meta/conf/bitbake.conf
> @@ -493,8 +493,11 @@ export TARGET_LDFLAGS = "-Wl,-O1 ${TARGET_LINK_HASH_STYLE}"
> # Which flags to leave by strip-flags() in bin/build/oebuild.sh ?
> ALLOWED_FLAGS = "-O -mcpu -march -pipe"
>
> -# Pass parallel make options to the compile task only
> +# Pass parallel make options to the compile task
> EXTRA_OEMAKE_prepend_task-compile = "${PARALLEL_MAKE} "
> +PARALLEL_MAKEINST ??= "${PARALLEL_MAKE}"
> +# Pass parallel make options to the install task
> +EXTRA_OEMAKE_prepend_task-install = "${PARALLEL_MAKEINST} "
>
> ##################################################################
> # Optimization flags.
>
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
--
Joshua Lock
Yocto Project "Johannes factotum"
Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-09-29 18:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-29 14:55 [RFC PATCH] bitbake.conf: Start using parallel make for do_install Richard Purdie
2011-09-29 18:06 ` Joshua Lock
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox