All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/qt5tools: hide qdoc with llvm dependencies
@ 2020-02-28 14:00 yann.morin at orange.com
  2020-02-28 15:16 ` Romain Naour
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: yann.morin at orange.com @ 2020-02-28 14:00 UTC (permalink / raw)
  To: buildroot

From: "Yann E. MORIN" <yann.morin@orange.com>

Building qdoc requires a llvm and clang for the host.

However, there is a limitation in the llvm and clang packages in
Buildroot, which makes it impossible to havea  host variant without
a target variant.

So, propagate the dependencies of the target llvm and clang, to ensure
we can only have a host-llvm and -clang packages that are correctly
built.

Note that we do propagate all of the dependencies (instead of just the
architecture part), to be consistent.

Reported-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Yann E. MORIN <yann.morin@orange.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Peter Seiderer <ps.report@gmx.net>
Cc: Julien Corjon <corjon.j@ecagroup.com>
---
 package/qt5/qt5tools/Config.in | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/package/qt5/qt5tools/Config.in b/package/qt5/qt5tools/Config.in
index 14178abc29..60106c1ee3 100644
--- a/package/qt5/qt5tools/Config.in
+++ b/package/qt5/qt5tools/Config.in
@@ -19,6 +19,16 @@ config BR2_PACKAGE_QT5TOOLS_LINGUIST_TOOLS
 
 config BR2_PACKAGE_QT5TOOLS_QDOC_TOOL
 	bool "qdoc host tool"
+	# Needs llvm-config and libclang for the host, which is not
+	# currently supported in Buildroot, unless the target is
+	# already supported by llvm.
+	depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS # llvm, clang
+	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # llvm, clang
+	depends on BR2_TOOLCHAIN_HAS_THREADS # llvm, clang
+	depends on BR2_INSTALL_LIBSTDCPP # llvm, clang
+	depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # llvm, clang
+	depends on !BR2_STATIC_LIBS # llvm, clang
+	depends on BR2_USE_WCHAR # llvm, clang
 	help
 	  This option enables the qdoc host tool.
 
-- 
2.17.1


_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.

This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
Thank you.

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

* [Buildroot] [PATCH] package/qt5tools: hide qdoc with llvm dependencies
  2020-02-28 14:00 [Buildroot] [PATCH] package/qt5tools: hide qdoc with llvm dependencies yann.morin at orange.com
@ 2020-02-28 15:16 ` Romain Naour
  2020-02-28 15:28   ` yann.morin at orange.com
  2020-03-02 22:14 ` Peter Korsgaard
  2020-03-15  8:42 ` Peter Korsgaard
  2 siblings, 1 reply; 7+ messages in thread
From: Romain Naour @ 2020-02-28 15:16 UTC (permalink / raw)
  To: buildroot

Hello Yann,

Le 28/02/2020 ? 15:00, yann.morin at orange.com a ?crit?:
> From: "Yann E. MORIN" <yann.morin@orange.com>
> 
> Building qdoc requires a llvm and clang for the host.
> 
> However, there is a limitation in the llvm and clang packages in
> Buildroot, which makes it impossible to havea  host variant without

s/havea/have a/

> a target variant.
> 
> So, propagate the dependencies of the target llvm and clang, to ensure
> we can only have a host-llvm and -clang packages that are correctly

host-clang

> built.
> 
> Note that we do propagate all of the dependencies (instead of just the
> architecture part), to be consistent.
> 
> Reported-by: Romain Naour <romain.naour@smile.fr>
> Signed-off-by: Yann E. MORIN <yann.morin@orange.com>
> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
> Cc: Peter Seiderer <ps.report@gmx.net>
> Cc: Julien Corjon <corjon.j@ecagroup.com>
> ---
>  package/qt5/qt5tools/Config.in | 10 ++++++++++
>  1 file changed, 10 insertions(+)
> 
> diff --git a/package/qt5/qt5tools/Config.in b/package/qt5/qt5tools/Config.in
> index 14178abc29..60106c1ee3 100644
> --- a/package/qt5/qt5tools/Config.in
> +++ b/package/qt5/qt5tools/Config.in
> @@ -19,6 +19,16 @@ config BR2_PACKAGE_QT5TOOLS_LINGUIST_TOOLS
>  
>  config BR2_PACKAGE_QT5TOOLS_QDOC_TOOL
>  	bool "qdoc host tool"
> +	# Needs llvm-config and libclang for the host, which is not
> +	# currently supported in Buildroot, unless the target is
> +	# already supported by llvm.
> +	depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS # llvm, clang
> +	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # llvm, clang
> +	depends on BR2_TOOLCHAIN_HAS_THREADS # llvm, clang
> +	depends on BR2_INSTALL_LIBSTDCPP # llvm, clang
> +	depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # llvm, clang
> +	depends on !BR2_STATIC_LIBS # llvm, clang
> +	depends on BR2_USE_WCHAR # llvm, clang
>  	help
>  	  This option enables the qdoc host tool.
>  
> 
Reviewed-by: Romain Naour <romain.naour@smile.fr>

Best regards,
Romain

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

* [Buildroot] [PATCH] package/qt5tools: hide qdoc with llvm dependencies
  2020-02-28 15:16 ` Romain Naour
@ 2020-02-28 15:28   ` yann.morin at orange.com
  2020-02-28 15:30     ` Romain Naour
  0 siblings, 1 reply; 7+ messages in thread
From: yann.morin at orange.com @ 2020-02-28 15:28 UTC (permalink / raw)
  To: buildroot

Romain, All,

On 2020-02-28 16:16 +0100, Romain Naour spake thusly:
> Le 28/02/2020 ? 15:00, yann.morin at orange.com a ?crit?:
> > From: "Yann E. MORIN" <yann.morin@orange.com>
> > 
> > Building qdoc requires a llvm and clang for the host.
> > 
> > However, there is a limitation in the llvm and clang packages in
> > Buildroot, which makes it impossible to havea  host variant without
> 
> s/havea/have a/
> 
> > a target variant.
> > 
> > So, propagate the dependencies of the target llvm and clang, to ensure
> > we can only have a host-llvm and -clang packages that are correctly
> host-clang

That was done on purpose, and is called an ellipsis. ;-]

Regards,
Yann E. MORIN.

> > built.
> > 
> > Note that we do propagate all of the dependencies (instead of just the
> > architecture part), to be consistent.
> > 
> > Reported-by: Romain Naour <romain.naour@smile.fr>
> > Signed-off-by: Yann E. MORIN <yann.morin@orange.com>
> > Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
> > Cc: Peter Seiderer <ps.report@gmx.net>
> > Cc: Julien Corjon <corjon.j@ecagroup.com>
> > ---
> >  package/qt5/qt5tools/Config.in | 10 ++++++++++
> >  1 file changed, 10 insertions(+)
> > 
> > diff --git a/package/qt5/qt5tools/Config.in b/package/qt5/qt5tools/Config.in
> > index 14178abc29..60106c1ee3 100644
> > --- a/package/qt5/qt5tools/Config.in
> > +++ b/package/qt5/qt5tools/Config.in
> > @@ -19,6 +19,16 @@ config BR2_PACKAGE_QT5TOOLS_LINGUIST_TOOLS
> >  
> >  config BR2_PACKAGE_QT5TOOLS_QDOC_TOOL
> >  	bool "qdoc host tool"
> > +	# Needs llvm-config and libclang for the host, which is not
> > +	# currently supported in Buildroot, unless the target is
> > +	# already supported by llvm.
> > +	depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS # llvm, clang
> > +	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # llvm, clang
> > +	depends on BR2_TOOLCHAIN_HAS_THREADS # llvm, clang
> > +	depends on BR2_INSTALL_LIBSTDCPP # llvm, clang
> > +	depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # llvm, clang
> > +	depends on !BR2_STATIC_LIBS # llvm, clang
> > +	depends on BR2_USE_WCHAR # llvm, clang
> >  	help
> >  	  This option enables the qdoc host tool.
> >  
> > 
> Reviewed-by: Romain Naour <romain.naour@smile.fr>
> 
> Best regards,
> Romain
> 

-- 
                                        ____________
.-----------------.--------------------:       _    :------------------.
|  Yann E. MORIN  | Real-Time Embedded |    __/ )   | /"\ ASCII RIBBON |
| +33 534.541.179 | Software  Designer |  _/ - /'   | \ / CAMPAIGN     |
| +33 638.411.245 '--------------------: (_    `--, |  X  AGAINST      |
|      yann.morin (at) orange.com      |_="    ,--' | / \ HTML MAIL    |
'--------------------------------------:______/_____:------------------'


_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.

This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
Thank you.

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

* [Buildroot] [PATCH] package/qt5tools: hide qdoc with llvm dependencies
  2020-02-28 15:28   ` yann.morin at orange.com
@ 2020-02-28 15:30     ` Romain Naour
  2020-02-28 17:46       ` Yann E. MORIN
  0 siblings, 1 reply; 7+ messages in thread
From: Romain Naour @ 2020-02-28 15:30 UTC (permalink / raw)
  To: buildroot

Yann, All,

Le 28/02/2020 ? 16:28, yann.morin at orange.com a ?crit?:
> Romain, All,
> 
> On 2020-02-28 16:16 +0100, Romain Naour spake thusly:
>> Le 28/02/2020 ? 15:00, yann.morin at orange.com a ?crit?:
>>> From: "Yann E. MORIN" <yann.morin@orange.com>
>>>
>>> Building qdoc requires a llvm and clang for the host.
>>>
>>> However, there is a limitation in the llvm and clang packages in
>>> Buildroot, which makes it impossible to havea  host variant without
>>
>> s/havea/have a/
>>
>>> a target variant.
>>>
>>> So, propagate the dependencies of the target llvm and clang, to ensure
>>> we can only have a host-llvm and -clang packages that are correctly
>> host-clang
> 
> That was done on purpose, and is called an ellipsis. ;-]

Well, I was not sure :p
Typo or not typo ?

Best regards,
Romain


> 
> Regards,
> Yann E. MORIN.
> 
>>> built.
>>>
>>> Note that we do propagate all of the dependencies (instead of just the
>>> architecture part), to be consistent.
>>>
>>> Reported-by: Romain Naour <romain.naour@smile.fr>
>>> Signed-off-by: Yann E. MORIN <yann.morin@orange.com>
>>> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
>>> Cc: Peter Seiderer <ps.report@gmx.net>
>>> Cc: Julien Corjon <corjon.j@ecagroup.com>
>>> ---
>>>  package/qt5/qt5tools/Config.in | 10 ++++++++++
>>>  1 file changed, 10 insertions(+)
>>>
>>> diff --git a/package/qt5/qt5tools/Config.in b/package/qt5/qt5tools/Config.in
>>> index 14178abc29..60106c1ee3 100644
>>> --- a/package/qt5/qt5tools/Config.in
>>> +++ b/package/qt5/qt5tools/Config.in
>>> @@ -19,6 +19,16 @@ config BR2_PACKAGE_QT5TOOLS_LINGUIST_TOOLS
>>>  
>>>  config BR2_PACKAGE_QT5TOOLS_QDOC_TOOL
>>>  	bool "qdoc host tool"
>>> +	# Needs llvm-config and libclang for the host, which is not
>>> +	# currently supported in Buildroot, unless the target is
>>> +	# already supported by llvm.
>>> +	depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS # llvm, clang
>>> +	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # llvm, clang
>>> +	depends on BR2_TOOLCHAIN_HAS_THREADS # llvm, clang
>>> +	depends on BR2_INSTALL_LIBSTDCPP # llvm, clang
>>> +	depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # llvm, clang
>>> +	depends on !BR2_STATIC_LIBS # llvm, clang
>>> +	depends on BR2_USE_WCHAR # llvm, clang
>>>  	help
>>>  	  This option enables the qdoc host tool.
>>>  
>>>
>> Reviewed-by: Romain Naour <romain.naour@smile.fr>
>>
>> Best regards,
>> Romain
>>
> 

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

* [Buildroot] [PATCH] package/qt5tools: hide qdoc with llvm dependencies
  2020-02-28 15:30     ` Romain Naour
@ 2020-02-28 17:46       ` Yann E. MORIN
  0 siblings, 0 replies; 7+ messages in thread
From: Yann E. MORIN @ 2020-02-28 17:46 UTC (permalink / raw)
  To: buildroot

Romain, All,

On 2020-02-28 16:30 +0100, Romain Naour spake thusly:
> Le 28/02/2020 ? 16:28, yann.morin at orange.com a ?crit?:
> > On 2020-02-28 16:16 +0100, Romain Naour spake thusly:
> >> Le 28/02/2020 ? 15:00, yann.morin at orange.com a ?crit?:
> >>> From: "Yann E. MORIN" <yann.morin@orange.com>
> >>>
> >>> Building qdoc requires a llvm and clang for the host.
> >>>
> >>> However, there is a limitation in the llvm and clang packages in
> >>> Buildroot, which makes it impossible to havea  host variant without
> >>
> >> s/havea/have a/
> >>
> >>> a target variant.
> >>>
> >>> So, propagate the dependencies of the target llvm and clang, to ensure
> >>> we can only have a host-llvm and -clang packages that are correctly
> >> host-clang
> > 
> > That was done on purpose, and is called an ellipsis. ;-]
> 
> Well, I was not sure :p
> Typo or not typo ?

Since Ia m also susecptible to doign the same typoes as mu alter-ego, I
can assure yuo that on ewas not a tyop. ;-]

Regards,
Yann E. MORIN.

> Best regards,
> Romain
> 
> 
> > 
> > Regards,
> > Yann E. MORIN.
> > 
> >>> built.
> >>>
> >>> Note that we do propagate all of the dependencies (instead of just the
> >>> architecture part), to be consistent.
> >>>
> >>> Reported-by: Romain Naour <romain.naour@smile.fr>
> >>> Signed-off-by: Yann E. MORIN <yann.morin@orange.com>
> >>> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
> >>> Cc: Peter Seiderer <ps.report@gmx.net>
> >>> Cc: Julien Corjon <corjon.j@ecagroup.com>
> >>> ---
> >>>  package/qt5/qt5tools/Config.in | 10 ++++++++++
> >>>  1 file changed, 10 insertions(+)
> >>>
> >>> diff --git a/package/qt5/qt5tools/Config.in b/package/qt5/qt5tools/Config.in
> >>> index 14178abc29..60106c1ee3 100644
> >>> --- a/package/qt5/qt5tools/Config.in
> >>> +++ b/package/qt5/qt5tools/Config.in
> >>> @@ -19,6 +19,16 @@ config BR2_PACKAGE_QT5TOOLS_LINGUIST_TOOLS
> >>>  
> >>>  config BR2_PACKAGE_QT5TOOLS_QDOC_TOOL
> >>>  	bool "qdoc host tool"
> >>> +	# Needs llvm-config and libclang for the host, which is not
> >>> +	# currently supported in Buildroot, unless the target is
> >>> +	# already supported by llvm.
> >>> +	depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS # llvm, clang
> >>> +	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # llvm, clang
> >>> +	depends on BR2_TOOLCHAIN_HAS_THREADS # llvm, clang
> >>> +	depends on BR2_INSTALL_LIBSTDCPP # llvm, clang
> >>> +	depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # llvm, clang
> >>> +	depends on !BR2_STATIC_LIBS # llvm, clang
> >>> +	depends on BR2_USE_WCHAR # llvm, clang
> >>>  	help
> >>>  	  This option enables the qdoc host tool.
> >>>  
> >>>
> >> Reviewed-by: Romain Naour <romain.naour@smile.fr>
> >>
> >> Best regards,
> >> Romain
> >>
> > 
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

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

* [Buildroot] [PATCH] package/qt5tools: hide qdoc with llvm dependencies
  2020-02-28 14:00 [Buildroot] [PATCH] package/qt5tools: hide qdoc with llvm dependencies yann.morin at orange.com
  2020-02-28 15:16 ` Romain Naour
@ 2020-03-02 22:14 ` Peter Korsgaard
  2020-03-15  8:42 ` Peter Korsgaard
  2 siblings, 0 replies; 7+ messages in thread
From: Peter Korsgaard @ 2020-03-02 22:14 UTC (permalink / raw)
  To: buildroot

>>>>>   <yann.morin@orange.com> writes:

 > From: "Yann E. MORIN" <yann.morin@orange.com>
 > Building qdoc requires a llvm and clang for the host.

 > However, there is a limitation in the llvm and clang packages in
 > Buildroot, which makes it impossible to havea  host variant without
 > a target variant.

 > So, propagate the dependencies of the target llvm and clang, to ensure
 > we can only have a host-llvm and -clang packages that are correctly
 > built.

 > Note that we do propagate all of the dependencies (instead of just the
 > architecture part), to be consistent.

 > Reported-by: Romain Naour <romain.naour@smile.fr>
 > Signed-off-by: Yann E. MORIN <yann.morin@orange.com>
 > Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
 > Cc: Peter Seiderer <ps.report@gmx.net>
 > Cc: Julien Corjon <corjon.j@ecagroup.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

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

* [Buildroot] [PATCH] package/qt5tools: hide qdoc with llvm dependencies
  2020-02-28 14:00 [Buildroot] [PATCH] package/qt5tools: hide qdoc with llvm dependencies yann.morin at orange.com
  2020-02-28 15:16 ` Romain Naour
  2020-03-02 22:14 ` Peter Korsgaard
@ 2020-03-15  8:42 ` Peter Korsgaard
  2 siblings, 0 replies; 7+ messages in thread
From: Peter Korsgaard @ 2020-03-15  8:42 UTC (permalink / raw)
  To: buildroot

>>>>>   <yann.morin@orange.com> writes:

 > From: "Yann E. MORIN" <yann.morin@orange.com>
 > Building qdoc requires a llvm and clang for the host.

 > However, there is a limitation in the llvm and clang packages in
 > Buildroot, which makes it impossible to havea  host variant without
 > a target variant.

 > So, propagate the dependencies of the target llvm and clang, to ensure
 > we can only have a host-llvm and -clang packages that are correctly
 > built.

 > Note that we do propagate all of the dependencies (instead of just the
 > architecture part), to be consistent.

 > Reported-by: Romain Naour <romain.naour@smile.fr>
 > Signed-off-by: Yann E. MORIN <yann.morin@orange.com>
 > Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
 > Cc: Peter Seiderer <ps.report@gmx.net>
 > Cc: Julien Corjon <corjon.j@ecagroup.com>

Committed to 2019.11.x (not in 2019.02.x), thanks.

-- 
Bye, Peter Korsgaard

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

end of thread, other threads:[~2020-03-15  8:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-28 14:00 [Buildroot] [PATCH] package/qt5tools: hide qdoc with llvm dependencies yann.morin at orange.com
2020-02-28 15:16 ` Romain Naour
2020-02-28 15:28   ` yann.morin at orange.com
2020-02-28 15:30     ` Romain Naour
2020-02-28 17:46       ` Yann E. MORIN
2020-03-02 22:14 ` Peter Korsgaard
2020-03-15  8:42 ` Peter Korsgaard

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.