Patchwork [1/2] bash: enable parallel build

login
register
mail settings
Submitter Otavio Salvador
Date July 20, 2012, 5:12 p.m.
Message ID <1342804329-5791-1-git-send-email-otavio@ossystems.com.br>
Download mbox | patch
Permalink /patch/32745/
State New
Headers show

Comments

Otavio Salvador - July 20, 2012, 5:12 p.m.
I've build it several times in a 8 core machine without problem so it
seems safe to use parallel build now.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 meta/recipes-extended/bash/bash.inc    |    2 --
 meta/recipes-extended/bash/bash_4.2.bb |    2 +-
 2 files changed, 1 insertions(+), 3 deletions(-)
Richard Purdie - July 25, 2012, 8:51 a.m.
On Fri, 2012-07-20 at 14:12 -0300, Otavio Salvador wrote:
> I've build it several times in a 8 core machine without problem so it
> seems safe to use parallel build now.

Sadly its not:

http://autobuilder.yoctoproject.org:8010/builders/nightly-multilib/builds/174/steps/shell_23/logs/stdio

Cheers,

Richard

> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
> ---
>  meta/recipes-extended/bash/bash.inc    |    2 --
>  meta/recipes-extended/bash/bash_4.2.bb |    2 +-
>  2 files changed, 1 insertions(+), 3 deletions(-)
> 
> diff --git a/meta/recipes-extended/bash/bash.inc b/meta/recipes-extended/bash/bash.inc
> index ff9b0ce..6d7e930 100644
> --- a/meta/recipes-extended/bash/bash.inc
> +++ b/meta/recipes-extended/bash/bash.inc
> @@ -9,8 +9,6 @@ DEPENDS = "ncurses bison-native"
>  
>  inherit autotools gettext update-alternatives
>  
> -PARALLEL_MAKE = ""
> -
>  bindir = "/bin"
>  sbindir = "/sbin"
>  
> diff --git a/meta/recipes-extended/bash/bash_4.2.bb b/meta/recipes-extended/bash/bash_4.2.bb
> index e96709a..a28279e 100644
> --- a/meta/recipes-extended/bash/bash_4.2.bb
> +++ b/meta/recipes-extended/bash/bash_4.2.bb
> @@ -1,6 +1,6 @@
>  require bash.inc
>  
> -PR = "r2"
> +PR = "r3"
>  
>  SRC_URI = "${GNU_MIRROR}/bash/${BPN}-${PV}.tar.gz;name=tarball \
>             ${GNU_MIRROR}/bash/bash-4.2-patches/bash42-001;apply=yes;striplevel=0;name=patch001 \
Otavio Salvador - July 25, 2012, 12:11 p.m.
On Wed, Jul 25, 2012 at 5:51 AM, Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
> On Fri, 2012-07-20 at 14:12 -0300, Otavio Salvador wrote:
>> I've build it several times in a 8 core machine without problem so it
>> seems safe to use parallel build now.
>
> Sadly its not:
>
> http://autobuilder.yoctoproject.org:8010/builders/nightly-multilib/builds/174/steps/shell_23/logs/stdio

Good that it has been catch but I am pondering why this worked fine here...

Please drop this patch then ... if it has been applied, I can send a
reversing patch if you want.

Patch

diff --git a/meta/recipes-extended/bash/bash.inc b/meta/recipes-extended/bash/bash.inc
index ff9b0ce..6d7e930 100644
--- a/meta/recipes-extended/bash/bash.inc
+++ b/meta/recipes-extended/bash/bash.inc
@@ -9,8 +9,6 @@  DEPENDS = "ncurses bison-native"
 
 inherit autotools gettext update-alternatives
 
-PARALLEL_MAKE = ""
-
 bindir = "/bin"
 sbindir = "/sbin"
 
diff --git a/meta/recipes-extended/bash/bash_4.2.bb b/meta/recipes-extended/bash/bash_4.2.bb
index e96709a..a28279e 100644
--- a/meta/recipes-extended/bash/bash_4.2.bb
+++ b/meta/recipes-extended/bash/bash_4.2.bb
@@ -1,6 +1,6 @@ 
 require bash.inc
 
-PR = "r2"
+PR = "r3"
 
 SRC_URI = "${GNU_MIRROR}/bash/${BPN}-${PV}.tar.gz;name=tarball \
            ${GNU_MIRROR}/bash/bash-4.2-patches/bash42-001;apply=yes;striplevel=0;name=patch001 \