All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V2] site/risc-v: Cache common variables to build libIDL
@ 2018-03-20  4:12 Khem Raj
  2018-03-20  9:02 ` Burton, Ross
  0 siblings, 1 reply; 3+ messages in thread
From: Khem Raj @ 2018-03-20  4:12 UTC (permalink / raw)
  To: openembedded-core

These variables force runtime tests during configure
they are already cached for other architectures

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
Changes from v1 -> v2:
- Drop libIDL specific setting since they need to be in meta-gnome

 meta/site/riscv32-linux | 10 ++++++++++
 meta/site/riscv64-linux |  5 +++++
 2 files changed, 15 insertions(+)

diff --git a/meta/site/riscv32-linux b/meta/site/riscv32-linux
index 138aeb0a11..fc5b99d147 100644
--- a/meta/site/riscv32-linux
+++ b/meta/site/riscv32-linux
@@ -1,6 +1,16 @@
+# general
+ac_cv_alignof_guint32=4
+ac_cv_alignof_guint64=8
+ac_cv_alignof_unsigned_long=4
+
 # glib-2.0
 glib_cv_stack_grows=${glib_cv_stack_grows=no}
 glib_cv_uscore=${glib_cv_uscore=no}
+glib_cv_sizeof_gmutex=${glib_cv_sizeof_gmutex=24}
+glib_cv_sizeof_intmax_t=${glib_cv_sizeof_intmax_t=8}
+glib_cv_sizeof_ptrdiff_t=${glib_cv_sizeof_ptrdiff_t=4}
+glib_cv_sizeof_size_t=${glib_cv_sizeof_size_t=4}
+glib_cv_sizeof_system_thread=${glib_cv_sizeof_system_thread=4}
 
 # startup-notification
 lf_cv_sane_realloc=${lf_cv_sane_realloc=yes}
diff --git a/meta/site/riscv64-linux b/meta/site/riscv64-linux
index 138aeb0a11..38bc5f044d 100644
--- a/meta/site/riscv64-linux
+++ b/meta/site/riscv64-linux
@@ -1,3 +1,8 @@
+# general
+ac_cv_alignof_guint32=4
+ac_cv_alignof_guint64=8
+ac_cv_alignof_unsigned_long=8
+
 # glib-2.0
 glib_cv_stack_grows=${glib_cv_stack_grows=no}
 glib_cv_uscore=${glib_cv_uscore=no}
-- 
2.16.2



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

* Re: [PATCH V2] site/risc-v: Cache common variables to build libIDL
  2018-03-20  4:12 [PATCH V2] site/risc-v: Cache common variables to build libIDL Khem Raj
@ 2018-03-20  9:02 ` Burton, Ross
  2018-03-20 16:48   ` Khem Raj
  0 siblings, 1 reply; 3+ messages in thread
From: Burton, Ross @ 2018-03-20  9:02 UTC (permalink / raw)
  To: Khem Raj; +Cc: OE-core

[-- Attachment #1: Type: text/plain, Size: 2018 bytes --]

Are the sizeof values actually needed, or are they copy/pasted from another
site?  autoconf hasn't need to run code to do sizeof for a *long* time.

Ross

On 20 March 2018 at 04:12, Khem Raj <raj.khem@gmail.com> wrote:

> These variables force runtime tests during configure
> they are already cached for other architectures
>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
> Changes from v1 -> v2:
> - Drop libIDL specific setting since they need to be in meta-gnome
>
>  meta/site/riscv32-linux | 10 ++++++++++
>  meta/site/riscv64-linux |  5 +++++
>  2 files changed, 15 insertions(+)
>
> diff --git a/meta/site/riscv32-linux b/meta/site/riscv32-linux
> index 138aeb0a11..fc5b99d147 100644
> --- a/meta/site/riscv32-linux
> +++ b/meta/site/riscv32-linux
> @@ -1,6 +1,16 @@
> +# general
> +ac_cv_alignof_guint32=4
> +ac_cv_alignof_guint64=8
> +ac_cv_alignof_unsigned_long=4
> +
>  # glib-2.0
>  glib_cv_stack_grows=${glib_cv_stack_grows=no}
>  glib_cv_uscore=${glib_cv_uscore=no}
> +glib_cv_sizeof_gmutex=${glib_cv_sizeof_gmutex=24}
> +glib_cv_sizeof_intmax_t=${glib_cv_sizeof_intmax_t=8}
> +glib_cv_sizeof_ptrdiff_t=${glib_cv_sizeof_ptrdiff_t=4}
> +glib_cv_sizeof_size_t=${glib_cv_sizeof_size_t=4}
> +glib_cv_sizeof_system_thread=${glib_cv_sizeof_system_thread=4}
>
>  # startup-notification
>  lf_cv_sane_realloc=${lf_cv_sane_realloc=yes}
> diff --git a/meta/site/riscv64-linux b/meta/site/riscv64-linux
> index 138aeb0a11..38bc5f044d 100644
> --- a/meta/site/riscv64-linux
> +++ b/meta/site/riscv64-linux
> @@ -1,3 +1,8 @@
> +# general
> +ac_cv_alignof_guint32=4
> +ac_cv_alignof_guint64=8
> +ac_cv_alignof_unsigned_long=8
> +
>  # glib-2.0
>  glib_cv_stack_grows=${glib_cv_stack_grows=no}
>  glib_cv_uscore=${glib_cv_uscore=no}
> --
> 2.16.2
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>

[-- Attachment #2: Type: text/html, Size: 2810 bytes --]

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

* Re: [PATCH V2] site/risc-v: Cache common variables to build libIDL
  2018-03-20  9:02 ` Burton, Ross
@ 2018-03-20 16:48   ` Khem Raj
  0 siblings, 0 replies; 3+ messages in thread
From: Khem Raj @ 2018-03-20 16:48 UTC (permalink / raw)
  To: Burton, Ross; +Cc: OE-core

On Tue, Mar 20, 2018 at 2:02 AM, Burton, Ross <ross.burton@intel.com> wrote:
> Are the sizeof values actually needed, or are they copy/pasted from another
> site?  autoconf hasn't need to run code to do sizeof for a *long* time.
>

actually let me delete it and we will readd them when we bring up rv32

> Ross
>
> On 20 March 2018 at 04:12, Khem Raj <raj.khem@gmail.com> wrote:
>>
>> These variables force runtime tests during configure
>> they are already cached for other architectures
>>
>> Signed-off-by: Khem Raj <raj.khem@gmail.com>
>> ---
>> Changes from v1 -> v2:
>> - Drop libIDL specific setting since they need to be in meta-gnome
>>
>>  meta/site/riscv32-linux | 10 ++++++++++
>>  meta/site/riscv64-linux |  5 +++++
>>  2 files changed, 15 insertions(+)
>>
>> diff --git a/meta/site/riscv32-linux b/meta/site/riscv32-linux
>> index 138aeb0a11..fc5b99d147 100644
>> --- a/meta/site/riscv32-linux
>> +++ b/meta/site/riscv32-linux
>> @@ -1,6 +1,16 @@
>> +# general
>> +ac_cv_alignof_guint32=4
>> +ac_cv_alignof_guint64=8
>> +ac_cv_alignof_unsigned_long=4
>> +
>>  # glib-2.0
>>  glib_cv_stack_grows=${glib_cv_stack_grows=no}
>>  glib_cv_uscore=${glib_cv_uscore=no}
>> +glib_cv_sizeof_gmutex=${glib_cv_sizeof_gmutex=24}
>> +glib_cv_sizeof_intmax_t=${glib_cv_sizeof_intmax_t=8}
>> +glib_cv_sizeof_ptrdiff_t=${glib_cv_sizeof_ptrdiff_t=4}
>> +glib_cv_sizeof_size_t=${glib_cv_sizeof_size_t=4}
>> +glib_cv_sizeof_system_thread=${glib_cv_sizeof_system_thread=4}
>>
>>  # startup-notification
>>  lf_cv_sane_realloc=${lf_cv_sane_realloc=yes}
>> diff --git a/meta/site/riscv64-linux b/meta/site/riscv64-linux
>> index 138aeb0a11..38bc5f044d 100644
>> --- a/meta/site/riscv64-linux
>> +++ b/meta/site/riscv64-linux
>> @@ -1,3 +1,8 @@
>> +# general
>> +ac_cv_alignof_guint32=4
>> +ac_cv_alignof_guint64=8
>> +ac_cv_alignof_unsigned_long=8
>> +
>>  # glib-2.0
>>  glib_cv_stack_grows=${glib_cv_stack_grows=no}
>>  glib_cv_uscore=${glib_cv_uscore=no}
>> --
>> 2.16.2
>>
>> --
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
>


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

end of thread, other threads:[~2018-03-20 16:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-20  4:12 [PATCH V2] site/risc-v: Cache common variables to build libIDL Khem Raj
2018-03-20  9:02 ` Burton, Ross
2018-03-20 16:48   ` Khem Raj

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.