[OE-core] [PATCH 1/1] eglibc.inc: Transfer PARALLEL_MAKE to PARALLELMFLAGS
Saul Wold
saul.wold at intel.com
Tue May 24 14:44:42 UTC 2011
On 05/21/2011 09:09 PM, Khem Raj wrote:
> * Currently we are passing -jN flags to eglibc makefiles
> however eglibc uses a make variable called PARALLELMFLAGS
> to pass information about parallel build to sub-makes
>
> * Currently make install ran without parallelism but now
> it should have parallel building flags passed to do_install
> correctly which inturn should improve build time of
> eglibc on systems using parallel build -j with values> 1
>
Khem,
What kind of testing have you done with this patch, I get a consistent
failure on multiple machines with eglibc-initial do_install.
Please review this error log, the make target `<number>' changes, which
leads me to believe it's related to the PARALLEL_MAKE number.
Thanks
Sau!
> Signed-off-by: Khem Raj<raj.khem at gmail.com>
> ---
> meta/recipes-core/eglibc/eglibc.inc | 6 ++++++
> 1 files changed, 6 insertions(+), 0 deletions(-)
>
> diff --git a/meta/recipes-core/eglibc/eglibc.inc b/meta/recipes-core/eglibc/eglibc.inc
> index 8314cb1..39972b0 100644
> --- a/meta/recipes-core/eglibc/eglibc.inc
> +++ b/meta/recipes-core/eglibc/eglibc.inc
> @@ -36,4 +36,10 @@ INHIBIT_DEFAULT_DEPS = "1"
>
> ARM_INSTRUCTION_SET = "arm"
>
> +# eglibc uses PARALLELMFLAGS variable to pass parallel build info so transfer
> +# PARALLEL_MAKE into PARALLELMFLAGS and empty out PARALLEL_MAKE
> +EGLIBCPARALLELISM := "PARALLELMFLAGS=${PARALLEL_MAKE}"
> +EXTRA_OEMAKE += ${EGLIBCPARALLELISM}
> +PARALLEL_MAKE = ""
> +
> PACKAGES = "glibc catchsegv sln nscd ldd localedef glibc-utils glibc-dev glibc-doc glibc-locale libsegfault glibc-extra-nss glibc-thread-db glibc-pcprofile"
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: do_install_failure
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20110524/249f5ea0/attachment-0002.ksh>
More information about the Openembedded-core
mailing list