All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] meta: Add --cache-file for 3 core recipes
@ 2019-01-24  6:59 Robert Yang
  2019-01-24  7:00 ` [PATCH 1/3] gettext: Add --cache-file to EXTRA_OECONF Robert Yang
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Robert Yang @ 2019-01-24  6:59 UTC (permalink / raw)
  To: openembedded-core

The following changes since commit a4edfa4cf451bf412525887b5b24b9db6486ae97:

  remove unused distutils-tools.bbclass (2019-01-23 07:57:02 +0000)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib rbt/cf
  http://cgit.openembedded.org/openembedded-core-contrib/log/?h=rbt/cf

Robert Yang (3):
  gettext: Add --cache-file to EXTRA_OECONF
  ncurses: Add --cache-file to EXTRA_OECONF
  gcc-runtime: Add --cache-file to EXTRA_OECONF

 meta/recipes-core/gettext/gettext_0.19.8.1.bb     | 1 +
 meta/recipes-core/ncurses/ncurses_6.1+20181013.bb | 2 +-
 meta/recipes-devtools/gcc/gcc-runtime.inc         | 1 +
 3 files changed, 3 insertions(+), 1 deletion(-)

-- 
2.10.2



^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH 1/3] gettext: Add --cache-file to EXTRA_OECONF
  2019-01-24  6:59 [PATCH 0/3] meta: Add --cache-file for 3 core recipes Robert Yang
@ 2019-01-24  7:00 ` Robert Yang
  2019-01-24  7:00 ` [PATCH 2/3] ncurses: " Robert Yang
  2019-01-24  7:00 ` [PATCH 3/3] gcc-runtime: " Robert Yang
  2 siblings, 0 replies; 6+ messages in thread
From: Robert Yang @ 2019-01-24  7:00 UTC (permalink / raw)
  To: openembedded-core

This can save configure time since it runs configure multiple times:
$ time bitbake gettext-native -cconfigure
  2m22s -> 2m2s

  Saved 20s

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 meta/recipes-core/gettext/gettext_0.19.8.1.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-core/gettext/gettext_0.19.8.1.bb b/meta/recipes-core/gettext/gettext_0.19.8.1.bb
index 933bacc..4049724 100644
--- a/meta/recipes-core/gettext/gettext_0.19.8.1.bb
+++ b/meta/recipes-core/gettext/gettext_0.19.8.1.bb
@@ -39,6 +39,7 @@ EXTRA_OECONF += "--without-lispdir \
                  --without-emacs \
                  --without-cvs \
                  --without-git \
+                 --cache-file=${B}/config.cache \
                 "
 EXTRA_OECONF_append_class-target = " \
                  --with-bisonlocaledir=${datadir}/locale \
-- 
2.10.2



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 2/3] ncurses: Add --cache-file to EXTRA_OECONF
  2019-01-24  6:59 [PATCH 0/3] meta: Add --cache-file for 3 core recipes Robert Yang
  2019-01-24  7:00 ` [PATCH 1/3] gettext: Add --cache-file to EXTRA_OECONF Robert Yang
@ 2019-01-24  7:00 ` Robert Yang
  2019-01-24  7:00 ` [PATCH 3/3] gcc-runtime: " Robert Yang
  2 siblings, 0 replies; 6+ messages in thread
From: Robert Yang @ 2019-01-24  7:00 UTC (permalink / raw)
  To: openembedded-core

This can save configure time since it runs configure multiple times:
$ time bitbake ncurses-native -cconfigure
  35s -> 25s

  Saved 10s

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 meta/recipes-core/ncurses/ncurses_6.1+20181013.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/ncurses/ncurses_6.1+20181013.bb b/meta/recipes-core/ncurses/ncurses_6.1+20181013.bb
index b462b14..ef6ca98 100644
--- a/meta/recipes-core/ncurses/ncurses_6.1+20181013.bb
+++ b/meta/recipes-core/ncurses/ncurses_6.1+20181013.bb
@@ -7,5 +7,5 @@ SRC_URI += "file://0001-tic-hang.patch \
 # commit id corresponds to the revision in package version
 SRCREV = "7a97a7f937762ba342d5b2fd7cd090885a809835"
 S = "${WORKDIR}/git"
-EXTRA_OECONF += "--with-abi-version=5"
+EXTRA_OECONF += "--with-abi-version=5 --cache-file=${B}/config.cache"
 UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+(\+\d+)*)"
-- 
2.10.2



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 3/3] gcc-runtime: Add --cache-file to EXTRA_OECONF
  2019-01-24  6:59 [PATCH 0/3] meta: Add --cache-file for 3 core recipes Robert Yang
  2019-01-24  7:00 ` [PATCH 1/3] gettext: Add --cache-file to EXTRA_OECONF Robert Yang
  2019-01-24  7:00 ` [PATCH 2/3] ncurses: " Robert Yang
@ 2019-01-24  7:00 ` Robert Yang
  2019-01-25  4:23   ` Khem Raj
  2 siblings, 1 reply; 6+ messages in thread
From: Robert Yang @ 2019-01-24  7:00 UTC (permalink / raw)
  To: openembedded-core

This can save configure time since it runs configure multiple times:
$ time bitbake gcc-runtime -cconfigure
  60s -> 54s

  Saved 6s

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 meta/recipes-devtools/gcc/gcc-runtime.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc
index 50ecc81..3d03d8e 100644
--- a/meta/recipes-devtools/gcc/gcc-runtime.inc
+++ b/meta/recipes-devtools/gcc/gcc-runtime.inc
@@ -15,6 +15,7 @@ EXTRA_OECONF_PATHS = "\
 "
 
 EXTRA_OECONF_append_linuxstdbase = " --enable-clocale=gnu"
+EXTRA_OECONF_append = " --cache-file=${B}/config.cache"
 
 RUNTIMELIBITM = "libitm"
 RUNTIMELIBITM_arc = ""
-- 
2.10.2



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH 3/3] gcc-runtime: Add --cache-file to EXTRA_OECONF
  2019-01-24  7:00 ` [PATCH 3/3] gcc-runtime: " Robert Yang
@ 2019-01-25  4:23   ` Khem Raj
  2019-01-25  6:10     ` Robert Yang
  0 siblings, 1 reply; 6+ messages in thread
From: Khem Raj @ 2019-01-25  4:23 UTC (permalink / raw)
  To: Robert Yang; +Cc: Patches and discussions about the oe-core layer

On Thu, Jan 24, 2019 at 2:00 AM Robert Yang <liezhi.yang@windriver.com> wrote:
>
> This can save configure time since it runs configure multiple times:
> $ time bitbake gcc-runtime -cconfigure
>   60s -> 54s
>
>   Saved 6s

looks ok. Are we sure this file is preserved across builds
>
> Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
> ---
>  meta/recipes-devtools/gcc/gcc-runtime.inc | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc
> index 50ecc81..3d03d8e 100644
> --- a/meta/recipes-devtools/gcc/gcc-runtime.inc
> +++ b/meta/recipes-devtools/gcc/gcc-runtime.inc
> @@ -15,6 +15,7 @@ EXTRA_OECONF_PATHS = "\
>  "
>
>  EXTRA_OECONF_append_linuxstdbase = " --enable-clocale=gnu"
> +EXTRA_OECONF_append = " --cache-file=${B}/config.cache"
>
>  RUNTIMELIBITM = "libitm"
>  RUNTIMELIBITM_arc = ""
> --
> 2.10.2
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 3/3] gcc-runtime: Add --cache-file to EXTRA_OECONF
  2019-01-25  4:23   ` Khem Raj
@ 2019-01-25  6:10     ` Robert Yang
  0 siblings, 0 replies; 6+ messages in thread
From: Robert Yang @ 2019-01-25  6:10 UTC (permalink / raw)
  To: Khem Raj; +Cc: Patches and discussions about the oe-core layer



On 1/25/19 12:23 PM, Khem Raj wrote:
> On Thu, Jan 24, 2019 at 2:00 AM Robert Yang <liezhi.yang@windriver.com> wrote:
>>
>> This can save configure time since it runs configure multiple times:
>> $ time bitbake gcc-runtime -cconfigure
>>    60s -> 54s
>>
>>    Saved 6s
> 
> looks ok. Are we sure this file is preserved across builds

Sorry, what did you mean about preserved across builds, please ?

// Robert

>>
>> Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
>> ---
>>   meta/recipes-devtools/gcc/gcc-runtime.inc | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc
>> index 50ecc81..3d03d8e 100644
>> --- a/meta/recipes-devtools/gcc/gcc-runtime.inc
>> +++ b/meta/recipes-devtools/gcc/gcc-runtime.inc
>> @@ -15,6 +15,7 @@ EXTRA_OECONF_PATHS = "\
>>   "
>>
>>   EXTRA_OECONF_append_linuxstdbase = " --enable-clocale=gnu"
>> +EXTRA_OECONF_append = " --cache-file=${B}/config.cache"
>>
>>   RUNTIMELIBITM = "libitm"
>>   RUNTIMELIBITM_arc = ""
>> --
>> 2.10.2
>>
>> --
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
> 


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-01-25  6:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-24  6:59 [PATCH 0/3] meta: Add --cache-file for 3 core recipes Robert Yang
2019-01-24  7:00 ` [PATCH 1/3] gettext: Add --cache-file to EXTRA_OECONF Robert Yang
2019-01-24  7:00 ` [PATCH 2/3] ncurses: " Robert Yang
2019-01-24  7:00 ` [PATCH 3/3] gcc-runtime: " Robert Yang
2019-01-25  4:23   ` Khem Raj
2019-01-25  6:10     ` Robert Yang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.